Prevent duplicate SPIR-V decorations (#3570)
* Update SPIRV-Tools * https://github.com/KhronosGroup/SPIRV-Tools/pull/5641 added validation that caught errors * Modified glslang to prevent duplicate Restrict and Coherent decorations * Modify createConstructor to avoid adding duplicate RelaxedPrecision decorations when generating a scalar
This commit is contained in:
parent
2db79056b4
commit
1e4f53ab2d
10 changed files with 14 additions and 39 deletions
|
|
@ -43,11 +43,9 @@ spv.ext.ClosestHitShader_Subgroup.rchit
|
|||
Decorate 42 RelaxedPrecision
|
||||
Decorate 43(gl_SubgroupGtMask) BuiltIn SubgroupGtMaskKHR
|
||||
Decorate 46 RelaxedPrecision
|
||||
Decorate 46 RelaxedPrecision
|
||||
Decorate 47 RelaxedPrecision
|
||||
Decorate 48(gl_SubgroupLeMask) BuiltIn SubgroupLeMaskKHR
|
||||
Decorate 51 RelaxedPrecision
|
||||
Decorate 51 RelaxedPrecision
|
||||
Decorate 52 RelaxedPrecision
|
||||
Decorate 53(gl_SubGroupLtMaskARB) BuiltIn SubgroupLtMaskKHR
|
||||
Decorate 59 RelaxedPrecision
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue