You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Built-in/system values cannot be duplicated in the entry point parameter list for HLSL, WGSL and Metal. Slang either needs to error out or transform the duplicated system values to a single param.
The text was updated successfully, but these errors were encountered:
I cannot assign myself this issue but I will be working on it.
fairywreath
changed the title
Slang needs to error out when duplicate or overlappping system value names are used
Slang compiles to incorrect shaders when duplicate or overlappping system value names are used
Feb 8, 2025
fairywreath
changed the title
Slang compiles to incorrect shaders when duplicate or overlappping system value names are used
Slang compiles to invalid shaders when duplicate or overlappping system value names are used
Feb 8, 2025
fairywreath
changed the title
Slang compiles to invalid shaders when duplicate or overlappping system value names are used
Slang successfully compiles to invalid shaders when duplicate or overlappping system value names are used
Feb 8, 2025
fairywreath
changed the title
Slang successfully compiles to invalid shaders when duplicate or overlappping system value names are used
Slang successfully compiles to invalid shaders when duplicate or overlapping system value names are used
Feb 8, 2025
Slang successfully compiles shader with duplicate built-in decorations, for example:
This compiles successfully to invalid shaders such as:
Built-in/system values cannot be duplicated in the entry point parameter list for HLSL, WGSL and Metal. Slang either needs to error out or transform the duplicated system values to a single param.
The text was updated successfully, but these errors were encountered: