HLSL: Wrap the entry-point; need to write 'in' args, and support 'inout' args.
This needs some render testing, but is destined to be part of master. This also leads to a variety of other simplifications. - IO are global symbols, so only need one list of linkage nodes (deferred) - no longer need parse-context-wide 'inEntryPoint' state, entry-point is localized - several parts of splitting/flattening are now localized
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
hlsl.samplegrad.basic.dx10.vert
|
||||
Shader version: 450
|
||||
0:? Sequence
|
||||
0:27 Function Definition: main( (temp structure{temp 4-component vector of float Position Pos})
|
||||
0:27 Function Definition: @main( (temp structure{temp 4-component vector of float Position Pos})
|
||||
0:27 Function Parameters:
|
||||
0:? Sequence
|
||||
0:30 Sequence
|
||||
@@ -215,15 +215,18 @@ Shader version: 450
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:48 Sequence
|
||||
0:48 Sequence
|
||||
0:48 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Pos' (out 4-component vector of float Position)
|
||||
0:48 Pos: direct index for structure (temp 4-component vector of float)
|
||||
0:48 'vsout' (temp structure{temp 4-component vector of float Pos})
|
||||
0:48 Constant:
|
||||
0:48 0 (const int)
|
||||
0:48 Branch: Return
|
||||
0:48 Branch: Return with expression
|
||||
0:48 'vsout' (temp structure{temp 4-component vector of float Pos})
|
||||
0:27 Function Definition: main( (temp void)
|
||||
0:27 Function Parameters:
|
||||
0:? Sequence
|
||||
0:27 Sequence
|
||||
0:27 move second child to first child (temp 4-component vector of float)
|
||||
0:? '@entryPointOutput_Pos' (out 4-component vector of float Position)
|
||||
0:27 Pos: direct index for structure (temp 4-component vector of float Position)
|
||||
0:27 Function Call: @main( (temp structure{temp 4-component vector of float Position Pos})
|
||||
0:27 Constant:
|
||||
0:27 0 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
|
||||
@@ -239,7 +242,7 @@ Shader version: 450
|
||||
0:? 'g_tTexcdf4' (uniform textureCube)
|
||||
0:? 'g_tTexcdi4' (uniform itextureCube)
|
||||
0:? 'g_tTexcdu4' (uniform utextureCube)
|
||||
0:? 'PerVertex_out' (out block{out 4-component vector of float Position Pos})
|
||||
0:? 'PerVertex_out' (out block{out 4-component vector of float Position @entryPointOutput_Pos})
|
||||
|
||||
|
||||
Linked vertex stage:
|
||||
@@ -247,7 +250,7 @@ Linked vertex stage:
|
||||
|
||||
Shader version: 450
|
||||
0:? Sequence
|
||||
0:27 Function Definition: main( (temp structure{temp 4-component vector of float Position Pos})
|
||||
0:27 Function Definition: @main( (temp structure{temp 4-component vector of float Position Pos})
|
||||
0:27 Function Parameters:
|
||||
0:? Sequence
|
||||
0:30 Sequence
|
||||
@@ -461,15 +464,18 @@ Shader version: 450
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:48 Sequence
|
||||
0:48 Sequence
|
||||
0:48 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Pos' (out 4-component vector of float Position)
|
||||
0:48 Pos: direct index for structure (temp 4-component vector of float)
|
||||
0:48 'vsout' (temp structure{temp 4-component vector of float Pos})
|
||||
0:48 Constant:
|
||||
0:48 0 (const int)
|
||||
0:48 Branch: Return
|
||||
0:48 Branch: Return with expression
|
||||
0:48 'vsout' (temp structure{temp 4-component vector of float Pos})
|
||||
0:27 Function Definition: main( (temp void)
|
||||
0:27 Function Parameters:
|
||||
0:? Sequence
|
||||
0:27 Sequence
|
||||
0:27 move second child to first child (temp 4-component vector of float)
|
||||
0:? '@entryPointOutput_Pos' (out 4-component vector of float Position)
|
||||
0:27 Pos: direct index for structure (temp 4-component vector of float Position)
|
||||
0:27 Function Call: @main( (temp structure{temp 4-component vector of float Position Pos})
|
||||
0:27 Constant:
|
||||
0:27 0 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
|
||||
@@ -485,245 +491,262 @@ Shader version: 450
|
||||
0:? 'g_tTexcdf4' (uniform textureCube)
|
||||
0:? 'g_tTexcdi4' (uniform itextureCube)
|
||||
0:? 'g_tTexcdu4' (uniform utextureCube)
|
||||
0:? 'PerVertex_out' (out block{out 4-component vector of float Position Pos})
|
||||
0:? 'PerVertex_out' (out block{out 4-component vector of float Position @entryPointOutput_Pos})
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 164
|
||||
// Id's are bound by 175
|
||||
|
||||
Capability Shader
|
||||
Capability Sampled1D
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 156 163
|
||||
EntryPoint Vertex 4 "main" 168 174
|
||||
Name 4 "main"
|
||||
Name 9 "txval10"
|
||||
Name 12 "g_tTex1df4"
|
||||
Name 16 "g_sSamp"
|
||||
Name 27 "txval11"
|
||||
Name 30 "g_tTex1di4"
|
||||
Name 40 "txval12"
|
||||
Name 43 "g_tTex1du4"
|
||||
Name 50 "txval20"
|
||||
Name 53 "g_tTex2df4"
|
||||
Name 62 "txval21"
|
||||
Name 65 "g_tTex2di4"
|
||||
Name 73 "txval22"
|
||||
Name 76 "g_tTex2du4"
|
||||
Name 85 "txval30"
|
||||
Name 88 "g_tTex3df4"
|
||||
Name 98 "txval31"
|
||||
Name 101 "g_tTex3di4"
|
||||
Name 108 "txval32"
|
||||
Name 111 "g_tTex3du4"
|
||||
Name 121 "txval40"
|
||||
Name 124 "g_tTexcdf4"
|
||||
Name 130 "txval41"
|
||||
Name 133 "g_tTexcdi4"
|
||||
Name 139 "txval42"
|
||||
Name 142 "g_tTexcdu4"
|
||||
Name 148 "VS_OUTPUT"
|
||||
MemberName 148(VS_OUTPUT) 0 "Pos"
|
||||
Name 150 "vsout"
|
||||
Name 156 "Pos"
|
||||
Name 160 "g_tTex1df4a"
|
||||
Name 161 "PerVertex_out"
|
||||
MemberName 161(PerVertex_out) 0 "Pos"
|
||||
Name 163 "PerVertex_out"
|
||||
Decorate 12(g_tTex1df4) DescriptorSet 0
|
||||
Decorate 12(g_tTex1df4) Binding 0
|
||||
Decorate 16(g_sSamp) DescriptorSet 0
|
||||
Decorate 16(g_sSamp) Binding 0
|
||||
Decorate 30(g_tTex1di4) DescriptorSet 0
|
||||
Decorate 43(g_tTex1du4) DescriptorSet 0
|
||||
Decorate 53(g_tTex2df4) DescriptorSet 0
|
||||
Decorate 65(g_tTex2di4) DescriptorSet 0
|
||||
Decorate 76(g_tTex2du4) DescriptorSet 0
|
||||
Decorate 88(g_tTex3df4) DescriptorSet 0
|
||||
Decorate 101(g_tTex3di4) DescriptorSet 0
|
||||
Decorate 111(g_tTex3du4) DescriptorSet 0
|
||||
Decorate 124(g_tTexcdf4) DescriptorSet 0
|
||||
Decorate 133(g_tTexcdi4) DescriptorSet 0
|
||||
Decorate 142(g_tTexcdu4) DescriptorSet 0
|
||||
Decorate 156(Pos) BuiltIn Position
|
||||
Decorate 160(g_tTex1df4a) DescriptorSet 0
|
||||
Decorate 160(g_tTex1df4a) Binding 1
|
||||
MemberDecorate 161(PerVertex_out) 0 BuiltIn Position
|
||||
Decorate 161(PerVertex_out) Block
|
||||
Name 8 "VS_OUTPUT"
|
||||
MemberName 8(VS_OUTPUT) 0 "Pos"
|
||||
Name 10 "@main("
|
||||
Name 13 "txval10"
|
||||
Name 16 "g_tTex1df4"
|
||||
Name 20 "g_sSamp"
|
||||
Name 31 "txval11"
|
||||
Name 34 "g_tTex1di4"
|
||||
Name 44 "txval12"
|
||||
Name 47 "g_tTex1du4"
|
||||
Name 54 "txval20"
|
||||
Name 57 "g_tTex2df4"
|
||||
Name 66 "txval21"
|
||||
Name 69 "g_tTex2di4"
|
||||
Name 77 "txval22"
|
||||
Name 80 "g_tTex2du4"
|
||||
Name 89 "txval30"
|
||||
Name 92 "g_tTex3df4"
|
||||
Name 102 "txval31"
|
||||
Name 105 "g_tTex3di4"
|
||||
Name 112 "txval32"
|
||||
Name 115 "g_tTex3du4"
|
||||
Name 125 "txval40"
|
||||
Name 128 "g_tTexcdf4"
|
||||
Name 134 "txval41"
|
||||
Name 137 "g_tTexcdi4"
|
||||
Name 143 "txval42"
|
||||
Name 146 "g_tTexcdu4"
|
||||
Name 152 "VS_OUTPUT"
|
||||
MemberName 152(VS_OUTPUT) 0 "Pos"
|
||||
Name 154 "vsout"
|
||||
Name 168 "@entryPointOutput_Pos"
|
||||
Name 171 "g_tTex1df4a"
|
||||
Name 172 "PerVertex_out"
|
||||
MemberName 172(PerVertex_out) 0 "@entryPointOutput_Pos"
|
||||
Name 174 "PerVertex_out"
|
||||
MemberDecorate 8(VS_OUTPUT) 0 BuiltIn Position
|
||||
Decorate 16(g_tTex1df4) DescriptorSet 0
|
||||
Decorate 16(g_tTex1df4) Binding 0
|
||||
Decorate 20(g_sSamp) DescriptorSet 0
|
||||
Decorate 20(g_sSamp) Binding 0
|
||||
Decorate 34(g_tTex1di4) DescriptorSet 0
|
||||
Decorate 47(g_tTex1du4) DescriptorSet 0
|
||||
Decorate 57(g_tTex2df4) DescriptorSet 0
|
||||
Decorate 69(g_tTex2di4) DescriptorSet 0
|
||||
Decorate 80(g_tTex2du4) DescriptorSet 0
|
||||
Decorate 92(g_tTex3df4) DescriptorSet 0
|
||||
Decorate 105(g_tTex3di4) DescriptorSet 0
|
||||
Decorate 115(g_tTex3du4) DescriptorSet 0
|
||||
Decorate 128(g_tTexcdf4) DescriptorSet 0
|
||||
Decorate 137(g_tTexcdi4) DescriptorSet 0
|
||||
Decorate 146(g_tTexcdu4) DescriptorSet 0
|
||||
Decorate 168(@entryPointOutput_Pos) BuiltIn Position
|
||||
Decorate 171(g_tTex1df4a) DescriptorSet 0
|
||||
Decorate 171(g_tTex1df4a) Binding 1
|
||||
MemberDecorate 172(PerVertex_out) 0 BuiltIn Position
|
||||
Decorate 172(PerVertex_out) Block
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
7: TypeVector 6(float) 4
|
||||
8: TypePointer Function 7(fvec4)
|
||||
10: TypeImage 6(float) 1D sampled format:Unknown
|
||||
11: TypePointer UniformConstant 10
|
||||
12(g_tTex1df4): 11(ptr) Variable UniformConstant
|
||||
14: TypeSampler
|
||||
8(VS_OUTPUT): TypeStruct 7(fvec4)
|
||||
9: TypeFunction 8(VS_OUTPUT)
|
||||
12: TypePointer Function 7(fvec4)
|
||||
14: TypeImage 6(float) 1D sampled format:Unknown
|
||||
15: TypePointer UniformConstant 14
|
||||
16(g_sSamp): 15(ptr) Variable UniformConstant
|
||||
18: TypeSampledImage 10
|
||||
20: 6(float) Constant 1036831949
|
||||
21: 6(float) Constant 1066192077
|
||||
22: 6(float) Constant 1067030938
|
||||
24: TypeInt 32 1
|
||||
25: TypeVector 24(int) 4
|
||||
26: TypePointer Function 25(ivec4)
|
||||
28: TypeImage 24(int) 1D sampled format:Unknown
|
||||
29: TypePointer UniformConstant 28
|
||||
30(g_tTex1di4): 29(ptr) Variable UniformConstant
|
||||
33: TypeSampledImage 28
|
||||
35: 6(float) Constant 1045220557
|
||||
37: TypeInt 32 0
|
||||
38: TypeVector 37(int) 4
|
||||
39: TypePointer Function 38(ivec4)
|
||||
41: TypeImage 37(int) 1D sampled format:Unknown
|
||||
42: TypePointer UniformConstant 41
|
||||
43(g_tTex1du4): 42(ptr) Variable UniformConstant
|
||||
46: TypeSampledImage 41
|
||||
48: 6(float) Constant 1050253722
|
||||
51: TypeImage 6(float) 2D sampled format:Unknown
|
||||
52: TypePointer UniformConstant 51
|
||||
53(g_tTex2df4): 52(ptr) Variable UniformConstant
|
||||
56: TypeSampledImage 51
|
||||
58: TypeVector 6(float) 2
|
||||
59: 58(fvec2) ConstantComposite 20 35
|
||||
60: 58(fvec2) ConstantComposite 21 22
|
||||
63: TypeImage 24(int) 2D sampled format:Unknown
|
||||
64: TypePointer UniformConstant 63
|
||||
65(g_tTex2di4): 64(ptr) Variable UniformConstant
|
||||
68: TypeSampledImage 63
|
||||
70: 6(float) Constant 1053609165
|
||||
71: 58(fvec2) ConstantComposite 48 70
|
||||
74: TypeImage 37(int) 2D sampled format:Unknown
|
||||
75: TypePointer UniformConstant 74
|
||||
76(g_tTex2du4): 75(ptr) Variable UniformConstant
|
||||
79: TypeSampledImage 74
|
||||
81: 6(float) Constant 1056964608
|
||||
82: 6(float) Constant 1058642330
|
||||
83: 58(fvec2) ConstantComposite 81 82
|
||||
86: TypeImage 6(float) 3D sampled format:Unknown
|
||||
87: TypePointer UniformConstant 86
|
||||
88(g_tTex3df4): 87(ptr) Variable UniformConstant
|
||||
91: TypeSampledImage 86
|
||||
93: TypeVector 6(float) 3
|
||||
94: 93(fvec3) ConstantComposite 20 35 48
|
||||
95: 6(float) Constant 1067869798
|
||||
96: 93(fvec3) ConstantComposite 21 22 95
|
||||
99: TypeImage 24(int) 3D sampled format:Unknown
|
||||
100: TypePointer UniformConstant 99
|
||||
101(g_tTex3di4): 100(ptr) Variable UniformConstant
|
||||
104: TypeSampledImage 99
|
||||
106: 93(fvec3) ConstantComposite 70 81 82
|
||||
109: TypeImage 37(int) 3D sampled format:Unknown
|
||||
110: TypePointer UniformConstant 109
|
||||
111(g_tTex3du4): 110(ptr) Variable UniformConstant
|
||||
114: TypeSampledImage 109
|
||||
116: 6(float) Constant 1060320051
|
||||
117: 6(float) Constant 1061997773
|
||||
118: 6(float) Constant 1063675494
|
||||
119: 93(fvec3) ConstantComposite 116 117 118
|
||||
122: TypeImage 6(float) Cube sampled format:Unknown
|
||||
123: TypePointer UniformConstant 122
|
||||
124(g_tTexcdf4): 123(ptr) Variable UniformConstant
|
||||
127: TypeSampledImage 122
|
||||
131: TypeImage 24(int) Cube sampled format:Unknown
|
||||
132: TypePointer UniformConstant 131
|
||||
133(g_tTexcdi4): 132(ptr) Variable UniformConstant
|
||||
136: TypeSampledImage 131
|
||||
140: TypeImage 37(int) Cube sampled format:Unknown
|
||||
141: TypePointer UniformConstant 140
|
||||
142(g_tTexcdu4): 141(ptr) Variable UniformConstant
|
||||
145: TypeSampledImage 140
|
||||
148(VS_OUTPUT): TypeStruct 7(fvec4)
|
||||
149: TypePointer Function 148(VS_OUTPUT)
|
||||
151: 24(int) Constant 0
|
||||
152: 6(float) Constant 0
|
||||
153: 7(fvec4) ConstantComposite 152 152 152 152
|
||||
155: TypePointer Output 7(fvec4)
|
||||
156(Pos): 155(ptr) Variable Output
|
||||
160(g_tTex1df4a): 11(ptr) Variable UniformConstant
|
||||
161(PerVertex_out): TypeStruct 7(fvec4)
|
||||
162: TypePointer Output 161(PerVertex_out)
|
||||
163(PerVertex_out): 162(ptr) Variable Output
|
||||
16(g_tTex1df4): 15(ptr) Variable UniformConstant
|
||||
18: TypeSampler
|
||||
19: TypePointer UniformConstant 18
|
||||
20(g_sSamp): 19(ptr) Variable UniformConstant
|
||||
22: TypeSampledImage 14
|
||||
24: 6(float) Constant 1036831949
|
||||
25: 6(float) Constant 1066192077
|
||||
26: 6(float) Constant 1067030938
|
||||
28: TypeInt 32 1
|
||||
29: TypeVector 28(int) 4
|
||||
30: TypePointer Function 29(ivec4)
|
||||
32: TypeImage 28(int) 1D sampled format:Unknown
|
||||
33: TypePointer UniformConstant 32
|
||||
34(g_tTex1di4): 33(ptr) Variable UniformConstant
|
||||
37: TypeSampledImage 32
|
||||
39: 6(float) Constant 1045220557
|
||||
41: TypeInt 32 0
|
||||
42: TypeVector 41(int) 4
|
||||
43: TypePointer Function 42(ivec4)
|
||||
45: TypeImage 41(int) 1D sampled format:Unknown
|
||||
46: TypePointer UniformConstant 45
|
||||
47(g_tTex1du4): 46(ptr) Variable UniformConstant
|
||||
50: TypeSampledImage 45
|
||||
52: 6(float) Constant 1050253722
|
||||
55: TypeImage 6(float) 2D sampled format:Unknown
|
||||
56: TypePointer UniformConstant 55
|
||||
57(g_tTex2df4): 56(ptr) Variable UniformConstant
|
||||
60: TypeSampledImage 55
|
||||
62: TypeVector 6(float) 2
|
||||
63: 62(fvec2) ConstantComposite 24 39
|
||||
64: 62(fvec2) ConstantComposite 25 26
|
||||
67: TypeImage 28(int) 2D sampled format:Unknown
|
||||
68: TypePointer UniformConstant 67
|
||||
69(g_tTex2di4): 68(ptr) Variable UniformConstant
|
||||
72: TypeSampledImage 67
|
||||
74: 6(float) Constant 1053609165
|
||||
75: 62(fvec2) ConstantComposite 52 74
|
||||
78: TypeImage 41(int) 2D sampled format:Unknown
|
||||
79: TypePointer UniformConstant 78
|
||||
80(g_tTex2du4): 79(ptr) Variable UniformConstant
|
||||
83: TypeSampledImage 78
|
||||
85: 6(float) Constant 1056964608
|
||||
86: 6(float) Constant 1058642330
|
||||
87: 62(fvec2) ConstantComposite 85 86
|
||||
90: TypeImage 6(float) 3D sampled format:Unknown
|
||||
91: TypePointer UniformConstant 90
|
||||
92(g_tTex3df4): 91(ptr) Variable UniformConstant
|
||||
95: TypeSampledImage 90
|
||||
97: TypeVector 6(float) 3
|
||||
98: 97(fvec3) ConstantComposite 24 39 52
|
||||
99: 6(float) Constant 1067869798
|
||||
100: 97(fvec3) ConstantComposite 25 26 99
|
||||
103: TypeImage 28(int) 3D sampled format:Unknown
|
||||
104: TypePointer UniformConstant 103
|
||||
105(g_tTex3di4): 104(ptr) Variable UniformConstant
|
||||
108: TypeSampledImage 103
|
||||
110: 97(fvec3) ConstantComposite 74 85 86
|
||||
113: TypeImage 41(int) 3D sampled format:Unknown
|
||||
114: TypePointer UniformConstant 113
|
||||
115(g_tTex3du4): 114(ptr) Variable UniformConstant
|
||||
118: TypeSampledImage 113
|
||||
120: 6(float) Constant 1060320051
|
||||
121: 6(float) Constant 1061997773
|
||||
122: 6(float) Constant 1063675494
|
||||
123: 97(fvec3) ConstantComposite 120 121 122
|
||||
126: TypeImage 6(float) Cube sampled format:Unknown
|
||||
127: TypePointer UniformConstant 126
|
||||
128(g_tTexcdf4): 127(ptr) Variable UniformConstant
|
||||
131: TypeSampledImage 126
|
||||
135: TypeImage 28(int) Cube sampled format:Unknown
|
||||
136: TypePointer UniformConstant 135
|
||||
137(g_tTexcdi4): 136(ptr) Variable UniformConstant
|
||||
140: TypeSampledImage 135
|
||||
144: TypeImage 41(int) Cube sampled format:Unknown
|
||||
145: TypePointer UniformConstant 144
|
||||
146(g_tTexcdu4): 145(ptr) Variable UniformConstant
|
||||
149: TypeSampledImage 144
|
||||
152(VS_OUTPUT): TypeStruct 7(fvec4)
|
||||
153: TypePointer Function 152(VS_OUTPUT)
|
||||
155: 28(int) Constant 0
|
||||
156: 6(float) Constant 0
|
||||
157: 7(fvec4) ConstantComposite 156 156 156 156
|
||||
160: TypePointer Function 8(VS_OUTPUT)
|
||||
167: TypePointer Output 7(fvec4)
|
||||
168(@entryPointOutput_Pos): 167(ptr) Variable Output
|
||||
171(g_tTex1df4a): 15(ptr) Variable UniformConstant
|
||||
172(PerVertex_out): TypeStruct 7(fvec4)
|
||||
173: TypePointer Output 172(PerVertex_out)
|
||||
174(PerVertex_out): 173(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
9(txval10): 8(ptr) Variable Function
|
||||
27(txval11): 26(ptr) Variable Function
|
||||
40(txval12): 39(ptr) Variable Function
|
||||
50(txval20): 8(ptr) Variable Function
|
||||
62(txval21): 26(ptr) Variable Function
|
||||
73(txval22): 39(ptr) Variable Function
|
||||
85(txval30): 8(ptr) Variable Function
|
||||
98(txval31): 26(ptr) Variable Function
|
||||
108(txval32): 39(ptr) Variable Function
|
||||
121(txval40): 8(ptr) Variable Function
|
||||
130(txval41): 26(ptr) Variable Function
|
||||
139(txval42): 39(ptr) Variable Function
|
||||
150(vsout): 149(ptr) Variable Function
|
||||
13: 10 Load 12(g_tTex1df4)
|
||||
17: 14 Load 16(g_sSamp)
|
||||
19: 18 SampledImage 13 17
|
||||
23: 7(fvec4) ImageSampleExplicitLod 19 20 Grad 21 22
|
||||
Store 9(txval10) 23
|
||||
31: 28 Load 30(g_tTex1di4)
|
||||
32: 14 Load 16(g_sSamp)
|
||||
34: 33 SampledImage 31 32
|
||||
36: 25(ivec4) ImageSampleExplicitLod 34 35 Grad 21 22
|
||||
Store 27(txval11) 36
|
||||
44: 41 Load 43(g_tTex1du4)
|
||||
45: 14 Load 16(g_sSamp)
|
||||
47: 46 SampledImage 44 45
|
||||
49: 38(ivec4) ImageSampleExplicitLod 47 48 Grad 21 22
|
||||
Store 40(txval12) 49
|
||||
54: 51 Load 53(g_tTex2df4)
|
||||
55: 14 Load 16(g_sSamp)
|
||||
57: 56 SampledImage 54 55
|
||||
61: 7(fvec4) ImageSampleExplicitLod 57 59 Grad 60 60
|
||||
Store 50(txval20) 61
|
||||
66: 63 Load 65(g_tTex2di4)
|
||||
67: 14 Load 16(g_sSamp)
|
||||
69: 68 SampledImage 66 67
|
||||
72: 25(ivec4) ImageSampleExplicitLod 69 71 Grad 60 60
|
||||
Store 62(txval21) 72
|
||||
77: 74 Load 76(g_tTex2du4)
|
||||
78: 14 Load 16(g_sSamp)
|
||||
80: 79 SampledImage 77 78
|
||||
84: 38(ivec4) ImageSampleExplicitLod 80 83 Grad 60 60
|
||||
Store 73(txval22) 84
|
||||
89: 86 Load 88(g_tTex3df4)
|
||||
90: 14 Load 16(g_sSamp)
|
||||
92: 91 SampledImage 89 90
|
||||
97: 7(fvec4) ImageSampleExplicitLod 92 94 Grad 96 96
|
||||
Store 85(txval30) 97
|
||||
102: 99 Load 101(g_tTex3di4)
|
||||
103: 14 Load 16(g_sSamp)
|
||||
105: 104 SampledImage 102 103
|
||||
107: 25(ivec4) ImageSampleExplicitLod 105 106 Grad 96 96
|
||||
Store 98(txval31) 107
|
||||
112: 109 Load 111(g_tTex3du4)
|
||||
113: 14 Load 16(g_sSamp)
|
||||
115: 114 SampledImage 112 113
|
||||
120: 38(ivec4) ImageSampleExplicitLod 115 119 Grad 96 96
|
||||
Store 108(txval32) 120
|
||||
125: 122 Load 124(g_tTexcdf4)
|
||||
126: 14 Load 16(g_sSamp)
|
||||
128: 127 SampledImage 125 126
|
||||
129: 7(fvec4) ImageSampleExplicitLod 128 94 Grad 96 96
|
||||
Store 121(txval40) 129
|
||||
134: 131 Load 133(g_tTexcdi4)
|
||||
135: 14 Load 16(g_sSamp)
|
||||
137: 136 SampledImage 134 135
|
||||
138: 25(ivec4) ImageSampleExplicitLod 137 106 Grad 96 96
|
||||
Store 130(txval41) 138
|
||||
143: 140 Load 142(g_tTexcdu4)
|
||||
144: 14 Load 16(g_sSamp)
|
||||
146: 145 SampledImage 143 144
|
||||
147: 38(ivec4) ImageSampleExplicitLod 146 119 Grad 96 96
|
||||
Store 139(txval42) 147
|
||||
154: 8(ptr) AccessChain 150(vsout) 151
|
||||
Store 154 153
|
||||
157: 8(ptr) AccessChain 150(vsout) 151
|
||||
158: 7(fvec4) Load 157
|
||||
Store 156(Pos) 158
|
||||
169:8(VS_OUTPUT) FunctionCall 10(@main()
|
||||
170: 7(fvec4) CompositeExtract 169 0
|
||||
Store 168(@entryPointOutput_Pos) 170
|
||||
Return
|
||||
FunctionEnd
|
||||
10(@main():8(VS_OUTPUT) Function None 9
|
||||
11: Label
|
||||
13(txval10): 12(ptr) Variable Function
|
||||
31(txval11): 30(ptr) Variable Function
|
||||
44(txval12): 43(ptr) Variable Function
|
||||
54(txval20): 12(ptr) Variable Function
|
||||
66(txval21): 30(ptr) Variable Function
|
||||
77(txval22): 43(ptr) Variable Function
|
||||
89(txval30): 12(ptr) Variable Function
|
||||
102(txval31): 30(ptr) Variable Function
|
||||
112(txval32): 43(ptr) Variable Function
|
||||
125(txval40): 12(ptr) Variable Function
|
||||
134(txval41): 30(ptr) Variable Function
|
||||
143(txval42): 43(ptr) Variable Function
|
||||
154(vsout): 153(ptr) Variable Function
|
||||
161: 160(ptr) Variable Function
|
||||
17: 14 Load 16(g_tTex1df4)
|
||||
21: 18 Load 20(g_sSamp)
|
||||
23: 22 SampledImage 17 21
|
||||
27: 7(fvec4) ImageSampleExplicitLod 23 24 Grad 25 26
|
||||
Store 13(txval10) 27
|
||||
35: 32 Load 34(g_tTex1di4)
|
||||
36: 18 Load 20(g_sSamp)
|
||||
38: 37 SampledImage 35 36
|
||||
40: 29(ivec4) ImageSampleExplicitLod 38 39 Grad 25 26
|
||||
Store 31(txval11) 40
|
||||
48: 45 Load 47(g_tTex1du4)
|
||||
49: 18 Load 20(g_sSamp)
|
||||
51: 50 SampledImage 48 49
|
||||
53: 42(ivec4) ImageSampleExplicitLod 51 52 Grad 25 26
|
||||
Store 44(txval12) 53
|
||||
58: 55 Load 57(g_tTex2df4)
|
||||
59: 18 Load 20(g_sSamp)
|
||||
61: 60 SampledImage 58 59
|
||||
65: 7(fvec4) ImageSampleExplicitLod 61 63 Grad 64 64
|
||||
Store 54(txval20) 65
|
||||
70: 67 Load 69(g_tTex2di4)
|
||||
71: 18 Load 20(g_sSamp)
|
||||
73: 72 SampledImage 70 71
|
||||
76: 29(ivec4) ImageSampleExplicitLod 73 75 Grad 64 64
|
||||
Store 66(txval21) 76
|
||||
81: 78 Load 80(g_tTex2du4)
|
||||
82: 18 Load 20(g_sSamp)
|
||||
84: 83 SampledImage 81 82
|
||||
88: 42(ivec4) ImageSampleExplicitLod 84 87 Grad 64 64
|
||||
Store 77(txval22) 88
|
||||
93: 90 Load 92(g_tTex3df4)
|
||||
94: 18 Load 20(g_sSamp)
|
||||
96: 95 SampledImage 93 94
|
||||
101: 7(fvec4) ImageSampleExplicitLod 96 98 Grad 100 100
|
||||
Store 89(txval30) 101
|
||||
106: 103 Load 105(g_tTex3di4)
|
||||
107: 18 Load 20(g_sSamp)
|
||||
109: 108 SampledImage 106 107
|
||||
111: 29(ivec4) ImageSampleExplicitLod 109 110 Grad 100 100
|
||||
Store 102(txval31) 111
|
||||
116: 113 Load 115(g_tTex3du4)
|
||||
117: 18 Load 20(g_sSamp)
|
||||
119: 118 SampledImage 116 117
|
||||
124: 42(ivec4) ImageSampleExplicitLod 119 123 Grad 100 100
|
||||
Store 112(txval32) 124
|
||||
129: 126 Load 128(g_tTexcdf4)
|
||||
130: 18 Load 20(g_sSamp)
|
||||
132: 131 SampledImage 129 130
|
||||
133: 7(fvec4) ImageSampleExplicitLod 132 98 Grad 100 100
|
||||
Store 125(txval40) 133
|
||||
138: 135 Load 137(g_tTexcdi4)
|
||||
139: 18 Load 20(g_sSamp)
|
||||
141: 140 SampledImage 138 139
|
||||
142: 29(ivec4) ImageSampleExplicitLod 141 110 Grad 100 100
|
||||
Store 134(txval41) 142
|
||||
147: 144 Load 146(g_tTexcdu4)
|
||||
148: 18 Load 20(g_sSamp)
|
||||
150: 149 SampledImage 147 148
|
||||
151: 42(ivec4) ImageSampleExplicitLod 150 123 Grad 100 100
|
||||
Store 143(txval42) 151
|
||||
158: 12(ptr) AccessChain 154(vsout) 155
|
||||
Store 158 157
|
||||
159:152(VS_OUTPUT) Load 154(vsout)
|
||||
162: 7(fvec4) CompositeExtract 159 0
|
||||
163: 12(ptr) AccessChain 161 155
|
||||
Store 163 162
|
||||
164:8(VS_OUTPUT) Load 161
|
||||
ReturnValue 164
|
||||
FunctionEnd
|
||||
|
||||
Reference in New Issue
Block a user