Update AZSLc to support a ShaderResourceGroupStruct concept to replace the various "COMMON_SRGINPUTS" macros.
Details:
This is like a struct but includes support for stripping out Textures from the constant buffer. We also might want to look into tighter packing, as structs force everything to 16 byte boundaries.
Acceptance Criteria:
Replace all of the "COMMON_SRGINPUTS" macros with a struct of some kind.
All shader inputs like "m_layer1_m_baseColorFactor" become "m_layer1.m_baseColorFactor".
[Migrated from JIRA ATOM-14465] Description:
Update AZSLc to support a ShaderResourceGroupStruct concept to replace the various "COMMON_SRGINPUTS" macros.
Details:
This is like a struct but includes support for stripping out Textures from the constant buffer. We also might want to look into tighter packing, as structs force everything to 16 byte boundaries.
Acceptance Criteria:
Additional Information: