Parser: Update array size of gl_ClipDistance/gl_CullDistance in gl_in[].
This commit is contained in:
@@ -7,14 +7,14 @@ Linked tessellation evaluation stage:
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 98
|
||||
// Id's are bound by 96
|
||||
|
||||
Capability Tessellation
|
||||
Capability TessellationPointSize
|
||||
Capability ClipDistance
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint TessellationEvaluation 4 "main" 21 38 41 47 53 61 68 77 81 82 86 90 93 94 97
|
||||
EntryPoint TessellationEvaluation 4 "main" 21 38 41 47 53 61 66 75 79 80 84 88 91 92 95
|
||||
ExecutionMode 4 Triangles
|
||||
ExecutionMode 4 SpacingFractionalOdd
|
||||
ExecutionMode 4 VertexOrderCcw
|
||||
@@ -41,23 +41,23 @@ Linked tessellation evaluation stage:
|
||||
Name 53 "gl_TessLevelOuter"
|
||||
Name 57 "tli"
|
||||
Name 61 "gl_TessLevelInner"
|
||||
Name 66 "gl_PerVertex"
|
||||
MemberName 66(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 66(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 66(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
Name 68 ""
|
||||
Name 77 "patchIn"
|
||||
Name 81 "inb"
|
||||
Name 82 "ind"
|
||||
Name 83 "testblb"
|
||||
MemberName 83(testblb) 0 "f"
|
||||
Name 86 "blb"
|
||||
Name 87 "testbld"
|
||||
MemberName 87(testbld) 0 "f"
|
||||
Name 90 "bld"
|
||||
Name 93 "ivla"
|
||||
Name 94 "ivlb"
|
||||
Name 97 "ovla"
|
||||
Name 64 "gl_PerVertex"
|
||||
MemberName 64(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 64(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 64(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
Name 66 ""
|
||||
Name 75 "patchIn"
|
||||
Name 79 "inb"
|
||||
Name 80 "ind"
|
||||
Name 81 "testblb"
|
||||
MemberName 81(testblb) 0 "f"
|
||||
Name 84 "blb"
|
||||
Name 85 "testbld"
|
||||
MemberName 85(testbld) 0 "f"
|
||||
Name 88 "bld"
|
||||
Name 91 "ivla"
|
||||
Name 92 "ivlb"
|
||||
Name 95 "ovla"
|
||||
MemberDecorate 17(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 17(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 17(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
@@ -69,16 +69,16 @@ Linked tessellation evaluation stage:
|
||||
Decorate 53(gl_TessLevelOuter) BuiltIn TessLevelOuter
|
||||
Decorate 61(gl_TessLevelInner) Patch
|
||||
Decorate 61(gl_TessLevelInner) BuiltIn TessLevelInner
|
||||
MemberDecorate 66(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 66(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 66(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
Decorate 66(gl_PerVertex) Block
|
||||
Decorate 77(patchIn) Patch
|
||||
Decorate 83(testblb) Block
|
||||
Decorate 87(testbld) Block
|
||||
Decorate 93(ivla) Location 23
|
||||
Decorate 94(ivlb) Location 24
|
||||
Decorate 97(ovla) Location 23
|
||||
MemberDecorate 64(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 64(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 64(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
Decorate 64(gl_PerVertex) Block
|
||||
Decorate 75(patchIn) Patch
|
||||
Decorate 81(testblb) Block
|
||||
Decorate 85(testbld) Block
|
||||
Decorate 91(ivla) Location 23
|
||||
Decorate 92(ivlb) Location 24
|
||||
Decorate 95(ovla) Location 23
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeInt 32 1
|
||||
@@ -88,7 +88,7 @@ Linked tessellation evaluation stage:
|
||||
11: TypeVector 10(float) 4
|
||||
12: TypePointer Function 11(fvec4)
|
||||
14: TypeInt 32 0
|
||||
15: 14(int) Constant 1
|
||||
15: 14(int) Constant 3
|
||||
16: TypeArray 10(float) 15
|
||||
17(gl_PerVertex): TypeStruct 11(fvec4) 10(float) 16
|
||||
18: 14(int) Constant 32
|
||||
@@ -117,34 +117,32 @@ Linked tessellation evaluation stage:
|
||||
59: TypeArray 10(float) 58
|
||||
60: TypePointer Input 59
|
||||
61(gl_TessLevelInner): 60(ptr) Variable Input
|
||||
64: 14(int) Constant 3
|
||||
65: TypeArray 10(float) 64
|
||||
66(gl_PerVertex): TypeStruct 11(fvec4) 10(float) 65
|
||||
67: TypePointer Output 66(gl_PerVertex)
|
||||
68: 67(ptr) Variable Output
|
||||
70: TypePointer Output 11(fvec4)
|
||||
73: TypePointer Output 10(float)
|
||||
77(patchIn): 24(ptr) Variable Input
|
||||
78: TypeVector 10(float) 2
|
||||
79: TypeArray 78(fvec2) 18
|
||||
80: TypePointer Input 79
|
||||
81(inb): 80(ptr) Variable Input
|
||||
82(ind): 80(ptr) Variable Input
|
||||
83(testblb): TypeStruct 6(int)
|
||||
84: TypeArray 83(testblb) 18
|
||||
85: TypePointer Input 84
|
||||
86(blb): 85(ptr) Variable Input
|
||||
87(testbld): TypeStruct 6(int)
|
||||
88: TypeArray 87(testbld) 18
|
||||
89: TypePointer Input 88
|
||||
90(bld): 89(ptr) Variable Input
|
||||
91: TypeArray 11(fvec4) 18
|
||||
92: TypePointer Input 91
|
||||
93(ivla): 92(ptr) Variable Input
|
||||
94(ivlb): 92(ptr) Variable Input
|
||||
95: TypeArray 11(fvec4) 58
|
||||
96: TypePointer Output 95
|
||||
97(ovla): 96(ptr) Variable Output
|
||||
64(gl_PerVertex): TypeStruct 11(fvec4) 10(float) 16
|
||||
65: TypePointer Output 64(gl_PerVertex)
|
||||
66: 65(ptr) Variable Output
|
||||
68: TypePointer Output 11(fvec4)
|
||||
71: TypePointer Output 10(float)
|
||||
75(patchIn): 24(ptr) Variable Input
|
||||
76: TypeVector 10(float) 2
|
||||
77: TypeArray 76(fvec2) 18
|
||||
78: TypePointer Input 77
|
||||
79(inb): 78(ptr) Variable Input
|
||||
80(ind): 78(ptr) Variable Input
|
||||
81(testblb): TypeStruct 6(int)
|
||||
82: TypeArray 81(testblb) 18
|
||||
83: TypePointer Input 82
|
||||
84(blb): 83(ptr) Variable Input
|
||||
85(testbld): TypeStruct 6(int)
|
||||
86: TypeArray 85(testbld) 18
|
||||
87: TypePointer Input 86
|
||||
88(bld): 87(ptr) Variable Input
|
||||
89: TypeArray 11(fvec4) 18
|
||||
90: TypePointer Input 89
|
||||
91(ivla): 90(ptr) Variable Input
|
||||
92(ivlb): 90(ptr) Variable Input
|
||||
93: TypeArray 11(fvec4) 58
|
||||
94: TypePointer Output 93
|
||||
95(ovla): 94(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
8(a): 7(ptr) Variable Function
|
||||
@@ -178,14 +176,14 @@ Linked tessellation evaluation stage:
|
||||
62: 29(ptr) AccessChain 61(gl_TessLevelInner) 22
|
||||
63: 10(float) Load 62
|
||||
Store 57(tli) 63
|
||||
69: 11(fvec4) Load 13(p)
|
||||
71: 70(ptr) AccessChain 68 23
|
||||
Store 71 69
|
||||
72: 10(float) Load 28(ps)
|
||||
74: 73(ptr) AccessChain 68 22
|
||||
Store 74 72
|
||||
75: 10(float) Load 32(cd)
|
||||
76: 73(ptr) AccessChain 68 33 33
|
||||
Store 76 75
|
||||
67: 11(fvec4) Load 13(p)
|
||||
69: 68(ptr) AccessChain 66 23
|
||||
Store 69 67
|
||||
70: 10(float) Load 28(ps)
|
||||
72: 71(ptr) AccessChain 66 22
|
||||
Store 72 70
|
||||
73: 10(float) Load 32(cd)
|
||||
74: 71(ptr) AccessChain 66 33 33
|
||||
Store 74 73
|
||||
Return
|
||||
FunctionEnd
|
||||
|
||||
Reference in New Issue
Block a user