GLSL
GLSL copied to clipboard
GL_EXT_null_initializer
- Adds a null initializer syntax (empty braces) that can be used to initialize variables
- Allows shared variables to use null initializers
How does this operate with Aliased smem, where you have multiple Workgroup declarations for the same memory? Would you put the zero initializer on just one of them?
Yes, you only need the initializer on one of the variables. There are (or will be) CTS tests for that interaction.
@alan-baker can you please address feedback so this can be merged?