update failing test-cases
This commit is contained in:
parent
a21b8d8d8d
commit
114092494b
2 changed files with 209 additions and 211 deletions
|
|
@ -1,7 +1,7 @@
|
|||
spv.ext.meshShaderBuiltins.mesh
|
||||
// Module Version 10400
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 159
|
||||
// Id's are bound by 158
|
||||
|
||||
Capability ClipDistance
|
||||
Capability CullDistance
|
||||
|
|
@ -13,7 +13,7 @@ spv.ext.meshShaderBuiltins.mesh
|
|||
Extension "SPV_KHR_fragment_shading_rate"
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint MeshEXT 4 "main" 13 19 24 41 93 135 153 156
|
||||
EntryPoint MeshEXT 4 "main" 13 19 24 41 93 134 152 155
|
||||
ExecutionMode 4 LocalSize 32 1 1
|
||||
ExecutionMode 4 OutputVertices 81
|
||||
ExecutionMode 4 OutputPrimitivesNV 32
|
||||
|
|
@ -45,11 +45,11 @@ spv.ext.meshShaderBuiltins.mesh
|
|||
MemberName 90(gl_MeshPerPrimitiveEXT) 3 "gl_CullPrimitiveEXT"
|
||||
MemberName 90(gl_MeshPerPrimitiveEXT) 4 "gl_PrimitiveShadingRateEXT"
|
||||
Name 93 "gl_MeshPrimitivesEXT"
|
||||
Name 135 "gl_PrimitiveTriangleIndicesEXT"
|
||||
Name 151 "id"
|
||||
Name 153 "gl_DrawIDARB"
|
||||
Name 155 "viewIdx"
|
||||
Name 156 "gl_ViewIndex"
|
||||
Name 134 "gl_PrimitiveTriangleIndicesEXT"
|
||||
Name 150 "id"
|
||||
Name 152 "gl_DrawIDARB"
|
||||
Name 154 "viewIdx"
|
||||
Name 155 "gl_ViewIndex"
|
||||
Decorate 13(gl_LocalInvocationID) BuiltIn LocalInvocationId
|
||||
Decorate 19(gl_WorkGroupID) BuiltIn WorkgroupId
|
||||
Decorate 24(gl_NumWorkGroups) BuiltIn NumWorkgroups
|
||||
|
|
@ -69,10 +69,10 @@ spv.ext.meshShaderBuiltins.mesh
|
|||
MemberDecorate 90(gl_MeshPerPrimitiveEXT) 4 PerPrimitiveNV
|
||||
MemberDecorate 90(gl_MeshPerPrimitiveEXT) 4 BuiltIn PrimitiveShadingRateKHR
|
||||
Decorate 90(gl_MeshPerPrimitiveEXT) Block
|
||||
Decorate 135(gl_PrimitiveTriangleIndicesEXT) BuiltIn PrimitiveTriangleIndicesEXT
|
||||
Decorate 153(gl_DrawIDARB) BuiltIn DrawIndex
|
||||
Decorate 156(gl_ViewIndex) BuiltIn ViewIndex
|
||||
Decorate 158 BuiltIn WorkgroupSize
|
||||
Decorate 134(gl_PrimitiveTriangleIndicesEXT) BuiltIn PrimitiveTriangleIndicesEXT
|
||||
Decorate 152(gl_DrawIDARB) BuiltIn DrawIndex
|
||||
Decorate 155(gl_ViewIndex) BuiltIn ViewIndex
|
||||
Decorate 157 BuiltIn WorkgroupSize
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
8: TypeInt 32 0
|
||||
|
|
@ -123,19 +123,18 @@ spv.ext.meshShaderBuiltins.mesh
|
|||
102: 43(int) Constant 8
|
||||
105: 89(bool) ConstantFalse
|
||||
106: TypePointer Output 89(bool)
|
||||
132: 8(int) Constant 96
|
||||
133: TypeArray 11(ivec3) 132
|
||||
134: TypePointer Output 133
|
||||
135(gl_PrimitiveTriangleIndicesEXT): 134(ptr) Variable Output
|
||||
136: 8(int) Constant 257
|
||||
137: 11(ivec3) ConstantComposite 136 136 136
|
||||
138: TypePointer Output 11(ivec3)
|
||||
142: 11(ivec3) ConstantComposite 64 64 64
|
||||
150: TypePointer Function 43(int)
|
||||
152: TypePointer Input 43(int)
|
||||
153(gl_DrawIDARB): 152(ptr) Variable Input
|
||||
156(gl_ViewIndex): 152(ptr) Variable Input
|
||||
158: 11(ivec3) ConstantComposite 29 62 62
|
||||
132: TypeArray 11(ivec3) 29
|
||||
133: TypePointer Output 132
|
||||
134(gl_PrimitiveTriangleIndicesEXT): 133(ptr) Variable Output
|
||||
135: 8(int) Constant 257
|
||||
136: 11(ivec3) ConstantComposite 135 135 135
|
||||
137: TypePointer Output 11(ivec3)
|
||||
141: 11(ivec3) ConstantComposite 64 64 64
|
||||
149: TypePointer Function 43(int)
|
||||
151: TypePointer Input 43(int)
|
||||
152(gl_DrawIDARB): 151(ptr) Variable Input
|
||||
155(gl_ViewIndex): 151(ptr) Variable Input
|
||||
157: 11(ivec3) ConstantComposite 29 62 62
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
10(iid): 9(ptr) Variable Function
|
||||
|
|
@ -244,30 +243,30 @@ spv.ext.meshShaderBuiltins.mesh
|
|||
Store 131 130
|
||||
MemoryBarrier 62 63
|
||||
ControlBarrier 64 64 63
|
||||
139: 138(ptr) AccessChain 135(gl_PrimitiveTriangleIndicesEXT) 44
|
||||
Store 139 137
|
||||
140: 8(int) Load 28(primitiveCount)
|
||||
141: 8(int) ISub 140 62
|
||||
143: 138(ptr) AccessChain 135(gl_PrimitiveTriangleIndicesEXT) 141
|
||||
Store 143 142
|
||||
138: 137(ptr) AccessChain 134(gl_PrimitiveTriangleIndicesEXT) 44
|
||||
Store 138 136
|
||||
139: 8(int) Load 28(primitiveCount)
|
||||
140: 8(int) ISub 139 62
|
||||
142: 137(ptr) AccessChain 134(gl_PrimitiveTriangleIndicesEXT) 140
|
||||
Store 142 141
|
||||
143: 8(int) Load 18(gid)
|
||||
144: 8(int) Load 18(gid)
|
||||
145: 8(int) Load 18(gid)
|
||||
146: 8(int) ISub 145 62
|
||||
147: 138(ptr) AccessChain 135(gl_PrimitiveTriangleIndicesEXT) 146
|
||||
148: 11(ivec3) Load 147
|
||||
149: 138(ptr) AccessChain 135(gl_PrimitiveTriangleIndicesEXT) 144
|
||||
Store 149 148
|
||||
145: 8(int) ISub 144 62
|
||||
146: 137(ptr) AccessChain 134(gl_PrimitiveTriangleIndicesEXT) 145
|
||||
147: 11(ivec3) Load 146
|
||||
148: 137(ptr) AccessChain 134(gl_PrimitiveTriangleIndicesEXT) 143
|
||||
Store 148 147
|
||||
MemoryBarrier 62 63
|
||||
ControlBarrier 64 64 63
|
||||
Return
|
||||
FunctionEnd
|
||||
6(testAdditionalBuiltins(): 2 Function None 3
|
||||
7: Label
|
||||
151(id): 150(ptr) Variable Function
|
||||
155(viewIdx): 150(ptr) Variable Function
|
||||
154: 43(int) Load 153(gl_DrawIDARB)
|
||||
Store 151(id) 154
|
||||
157: 43(int) Load 156(gl_ViewIndex)
|
||||
Store 155(viewIdx) 157
|
||||
150(id): 149(ptr) Variable Function
|
||||
154(viewIdx): 149(ptr) Variable Function
|
||||
153: 43(int) Load 152(gl_DrawIDARB)
|
||||
Store 150(id) 153
|
||||
156: 43(int) Load 155(gl_ViewIndex)
|
||||
Store 154(viewIdx) 156
|
||||
Return
|
||||
FunctionEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue