o3de / o3de-azslc

Amazon Shader Language (AZSL) Compiler
Other
23 stars 14 forks source link

ShaderResourceGroupStruct #34

Open superkitcath opened 2 years ago

superkitcath commented 2 years ago

[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:

galibzon commented 1 year ago

@santorac To decide if this is still needed.

siliconvoodoo commented 1 year ago

Hi, I could handle that if needed