ShaderLang icon indicating copy to clipboard operation
ShaderLang copied to clipboard

[Feature] Make matrices first-class types

Open SirLynix opened this issue 3 years ago • 0 comments

Currently, only builtin types (bool, f32, i32, u32) and f32/i32 vectors of size from 2 to 4 are handled as constants values, which allows constant propagation, to set them from the app, to use them as const, and more.

Matrices NxM (where N and M range from 2 to 4) of any builtin type should be handled as constants values as well, and constant propagation should be handled for them as well.

SirLynix avatar Jun 21 '22 06:06 SirLynix