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:
parent
18adbdbbb8
commit
02467d8d94
171 changed files with 37604 additions and 32679 deletions
|
|
@ -2,7 +2,7 @@ hlsl.samplelevel.offset.dx10.frag
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:28 Function Definition: main( (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Function Definition: @main( (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Function Parameters:
|
||||
0:? Sequence
|
||||
0:31 Sequence
|
||||
|
|
@ -157,24 +157,28 @@ gl_FragCoord origin is upper left
|
|||
0:46 1 (const int)
|
||||
0:46 Constant:
|
||||
0:46 1.000000
|
||||
0:48 Sequence
|
||||
0:48 Sequence
|
||||
0:48 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:48 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:48 Constant:
|
||||
0:48 0 (const int)
|
||||
0:48 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:48 Depth: direct index for structure (temp float)
|
||||
0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:48 Constant:
|
||||
0:48 1 (const int)
|
||||
0:48 Branch: Return
|
||||
0:48 Branch: Return with expression
|
||||
0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Function Definition: main( (temp void)
|
||||
0:28 Function Parameters:
|
||||
0:? Sequence
|
||||
0:28 Sequence
|
||||
0:28 move second child to first child (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 'flattenTemp' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Function Call: @main( (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:28 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:28 'flattenTemp' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Constant:
|
||||
0:28 0 (const int)
|
||||
0:28 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:28 Depth: direct index for structure (temp float)
|
||||
0:28 'flattenTemp' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Constant:
|
||||
0:28 1 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
|
||||
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
|
||||
|
|
@ -189,6 +193,8 @@ gl_FragCoord origin is upper left
|
|||
0:? 'g_tTexcdf4' (uniform textureCube)
|
||||
0:? 'g_tTexcdi4' (uniform itextureCube)
|
||||
0:? 'g_tTexcdu4' (uniform utextureCube)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
|
@ -197,7 +203,7 @@ Linked fragment stage:
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:28 Function Definition: main( (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Function Definition: @main( (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Function Parameters:
|
||||
0:? Sequence
|
||||
0:31 Sequence
|
||||
|
|
@ -352,24 +358,28 @@ gl_FragCoord origin is upper left
|
|||
0:46 1 (const int)
|
||||
0:46 Constant:
|
||||
0:46 1.000000
|
||||
0:48 Sequence
|
||||
0:48 Sequence
|
||||
0:48 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:48 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:48 Constant:
|
||||
0:48 0 (const int)
|
||||
0:48 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:48 Depth: direct index for structure (temp float)
|
||||
0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:48 Constant:
|
||||
0:48 1 (const int)
|
||||
0:48 Branch: Return
|
||||
0:48 Branch: Return with expression
|
||||
0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Function Definition: main( (temp void)
|
||||
0:28 Function Parameters:
|
||||
0:? Sequence
|
||||
0:28 Sequence
|
||||
0:28 move second child to first child (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 'flattenTemp' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Function Call: @main( (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:28 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:28 'flattenTemp' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Constant:
|
||||
0:28 0 (const int)
|
||||
0:28 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:28 Depth: direct index for structure (temp float)
|
||||
0:28 'flattenTemp' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Constant:
|
||||
0:28 1 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
|
||||
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
|
||||
|
|
@ -384,230 +394,243 @@ gl_FragCoord origin is upper left
|
|||
0:? 'g_tTexcdf4' (uniform textureCube)
|
||||
0:? 'g_tTexcdi4' (uniform itextureCube)
|
||||
0:? 'g_tTexcdu4' (uniform utextureCube)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 155
|
||||
// Id's are bound by 162
|
||||
|
||||
Capability Shader
|
||||
Capability Sampled1D
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 137 141
|
||||
EntryPoint Fragment 4 "main" 145 149
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
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 64 "txval21"
|
||||
Name 67 "g_tTex2di4"
|
||||
Name 76 "txval22"
|
||||
Name 79 "g_tTex2du4"
|
||||
Name 90 "txval30"
|
||||
Name 93 "g_tTex3df4"
|
||||
Name 103 "txval31"
|
||||
Name 106 "g_tTex3di4"
|
||||
Name 114 "txval32"
|
||||
Name 117 "g_tTex3du4"
|
||||
Name 128 "PS_OUTPUT"
|
||||
MemberName 128(PS_OUTPUT) 0 "Color"
|
||||
MemberName 128(PS_OUTPUT) 1 "Depth"
|
||||
Name 130 "psout"
|
||||
Name 137 "Color"
|
||||
Name 141 "Depth"
|
||||
Name 145 "g_tTex1df4a"
|
||||
Name 148 "g_tTexcdf4"
|
||||
Name 151 "g_tTexcdi4"
|
||||
Name 154 "g_tTexcdu4"
|
||||
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 67(g_tTex2di4) DescriptorSet 0
|
||||
Decorate 79(g_tTex2du4) DescriptorSet 0
|
||||
Decorate 93(g_tTex3df4) DescriptorSet 0
|
||||
Decorate 106(g_tTex3di4) DescriptorSet 0
|
||||
Decorate 117(g_tTex3du4) DescriptorSet 0
|
||||
Decorate 137(Color) Location 0
|
||||
Decorate 141(Depth) BuiltIn FragDepth
|
||||
Decorate 145(g_tTex1df4a) DescriptorSet 0
|
||||
Decorate 145(g_tTex1df4a) Binding 1
|
||||
Decorate 148(g_tTexcdf4) DescriptorSet 0
|
||||
Decorate 151(g_tTexcdi4) DescriptorSet 0
|
||||
Decorate 154(g_tTexcdu4) DescriptorSet 0
|
||||
Name 8 "PS_OUTPUT"
|
||||
MemberName 8(PS_OUTPUT) 0 "Color"
|
||||
MemberName 8(PS_OUTPUT) 1 "Depth"
|
||||
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 68 "txval21"
|
||||
Name 71 "g_tTex2di4"
|
||||
Name 80 "txval22"
|
||||
Name 83 "g_tTex2du4"
|
||||
Name 94 "txval30"
|
||||
Name 97 "g_tTex3df4"
|
||||
Name 107 "txval31"
|
||||
Name 110 "g_tTex3di4"
|
||||
Name 118 "txval32"
|
||||
Name 121 "g_tTex3du4"
|
||||
Name 133 "psout"
|
||||
Name 142 "flattenTemp"
|
||||
Name 145 "Color"
|
||||
Name 149 "Depth"
|
||||
Name 152 "g_tTex1df4a"
|
||||
Name 155 "g_tTexcdf4"
|
||||
Name 158 "g_tTexcdi4"
|
||||
Name 161 "g_tTexcdu4"
|
||||
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 71(g_tTex2di4) DescriptorSet 0
|
||||
Decorate 83(g_tTex2du4) DescriptorSet 0
|
||||
Decorate 97(g_tTex3df4) DescriptorSet 0
|
||||
Decorate 110(g_tTex3di4) DescriptorSet 0
|
||||
Decorate 121(g_tTex3du4) DescriptorSet 0
|
||||
Decorate 145(Color) Location 0
|
||||
Decorate 149(Depth) BuiltIn FragDepth
|
||||
Decorate 152(g_tTex1df4a) DescriptorSet 0
|
||||
Decorate 152(g_tTex1df4a) Binding 1
|
||||
Decorate 155(g_tTexcdf4) DescriptorSet 0
|
||||
Decorate 158(g_tTexcdi4) DescriptorSet 0
|
||||
Decorate 161(g_tTexcdu4) DescriptorSet 0
|
||||
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(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
|
||||
9: TypeFunction 8(PS_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 1061158912
|
||||
22: TypeInt 32 1
|
||||
23: 22(int) Constant 1
|
||||
25: TypeVector 22(int) 4
|
||||
26: TypePointer Function 25(ivec4)
|
||||
28: TypeImage 22(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: TypeVector 22(int) 2
|
||||
61: 22(int) Constant 0
|
||||
62: 60(ivec2) ConstantComposite 23 61
|
||||
65: TypeImage 22(int) 2D sampled format:Unknown
|
||||
66: TypePointer UniformConstant 65
|
||||
67(g_tTex2di4): 66(ptr) Variable UniformConstant
|
||||
70: TypeSampledImage 65
|
||||
72: 6(float) Constant 1053609165
|
||||
73: 58(fvec2) ConstantComposite 48 72
|
||||
74: 60(ivec2) ConstantComposite 23 23
|
||||
77: TypeImage 37(int) 2D sampled format:Unknown
|
||||
78: TypePointer UniformConstant 77
|
||||
79(g_tTex2du4): 78(ptr) Variable UniformConstant
|
||||
82: TypeSampledImage 77
|
||||
84: 6(float) Constant 1056964608
|
||||
85: 6(float) Constant 1058642330
|
||||
86: 58(fvec2) ConstantComposite 84 85
|
||||
87: 22(int) Constant 4294967295
|
||||
88: 60(ivec2) ConstantComposite 23 87
|
||||
91: TypeImage 6(float) 3D sampled format:Unknown
|
||||
92: TypePointer UniformConstant 91
|
||||
93(g_tTex3df4): 92(ptr) Variable UniformConstant
|
||||
96: TypeSampledImage 91
|
||||
98: TypeVector 6(float) 3
|
||||
99: 98(fvec3) ConstantComposite 20 35 48
|
||||
100: TypeVector 22(int) 3
|
||||
101: 100(ivec3) ConstantComposite 23 61 23
|
||||
104: TypeImage 22(int) 3D sampled format:Unknown
|
||||
105: TypePointer UniformConstant 104
|
||||
106(g_tTex3di4): 105(ptr) Variable UniformConstant
|
||||
109: TypeSampledImage 104
|
||||
111: 98(fvec3) ConstantComposite 72 84 85
|
||||
112: 100(ivec3) ConstantComposite 23 23 23
|
||||
115: TypeImage 37(int) 3D sampled format:Unknown
|
||||
116: TypePointer UniformConstant 115
|
||||
117(g_tTex3du4): 116(ptr) Variable UniformConstant
|
||||
120: TypeSampledImage 115
|
||||
122: 6(float) Constant 1060320051
|
||||
123: 6(float) Constant 1061997773
|
||||
124: 6(float) Constant 1063675494
|
||||
125: 98(fvec3) ConstantComposite 122 123 124
|
||||
126: 100(ivec3) ConstantComposite 23 61 87
|
||||
128(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
|
||||
129: TypePointer Function 128(PS_OUTPUT)
|
||||
131: 6(float) Constant 1065353216
|
||||
132: 7(fvec4) ConstantComposite 131 131 131 131
|
||||
134: TypePointer Function 6(float)
|
||||
136: TypePointer Output 7(fvec4)
|
||||
137(Color): 136(ptr) Variable Output
|
||||
140: TypePointer Output 6(float)
|
||||
141(Depth): 140(ptr) Variable Output
|
||||
145(g_tTex1df4a): 11(ptr) Variable UniformConstant
|
||||
146: TypeImage 6(float) Cube sampled format:Unknown
|
||||
147: TypePointer UniformConstant 146
|
||||
148(g_tTexcdf4): 147(ptr) Variable UniformConstant
|
||||
149: TypeImage 22(int) Cube sampled format:Unknown
|
||||
150: TypePointer UniformConstant 149
|
||||
151(g_tTexcdi4): 150(ptr) Variable UniformConstant
|
||||
152: TypeImage 37(int) Cube sampled format:Unknown
|
||||
153: TypePointer UniformConstant 152
|
||||
154(g_tTexcdu4): 153(ptr) Variable UniformConstant
|
||||
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 1061158912
|
||||
26: TypeInt 32 1
|
||||
27: 26(int) Constant 1
|
||||
29: TypeVector 26(int) 4
|
||||
30: TypePointer Function 29(ivec4)
|
||||
32: TypeImage 26(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: TypeVector 26(int) 2
|
||||
65: 26(int) Constant 0
|
||||
66: 64(ivec2) ConstantComposite 27 65
|
||||
69: TypeImage 26(int) 2D sampled format:Unknown
|
||||
70: TypePointer UniformConstant 69
|
||||
71(g_tTex2di4): 70(ptr) Variable UniformConstant
|
||||
74: TypeSampledImage 69
|
||||
76: 6(float) Constant 1053609165
|
||||
77: 62(fvec2) ConstantComposite 52 76
|
||||
78: 64(ivec2) ConstantComposite 27 27
|
||||
81: TypeImage 41(int) 2D sampled format:Unknown
|
||||
82: TypePointer UniformConstant 81
|
||||
83(g_tTex2du4): 82(ptr) Variable UniformConstant
|
||||
86: TypeSampledImage 81
|
||||
88: 6(float) Constant 1056964608
|
||||
89: 6(float) Constant 1058642330
|
||||
90: 62(fvec2) ConstantComposite 88 89
|
||||
91: 26(int) Constant 4294967295
|
||||
92: 64(ivec2) ConstantComposite 27 91
|
||||
95: TypeImage 6(float) 3D sampled format:Unknown
|
||||
96: TypePointer UniformConstant 95
|
||||
97(g_tTex3df4): 96(ptr) Variable UniformConstant
|
||||
100: TypeSampledImage 95
|
||||
102: TypeVector 6(float) 3
|
||||
103: 102(fvec3) ConstantComposite 24 39 52
|
||||
104: TypeVector 26(int) 3
|
||||
105: 104(ivec3) ConstantComposite 27 65 27
|
||||
108: TypeImage 26(int) 3D sampled format:Unknown
|
||||
109: TypePointer UniformConstant 108
|
||||
110(g_tTex3di4): 109(ptr) Variable UniformConstant
|
||||
113: TypeSampledImage 108
|
||||
115: 102(fvec3) ConstantComposite 76 88 89
|
||||
116: 104(ivec3) ConstantComposite 27 27 27
|
||||
119: TypeImage 41(int) 3D sampled format:Unknown
|
||||
120: TypePointer UniformConstant 119
|
||||
121(g_tTex3du4): 120(ptr) Variable UniformConstant
|
||||
124: TypeSampledImage 119
|
||||
126: 6(float) Constant 1060320051
|
||||
127: 6(float) Constant 1061997773
|
||||
128: 6(float) Constant 1063675494
|
||||
129: 102(fvec3) ConstantComposite 126 127 128
|
||||
130: 104(ivec3) ConstantComposite 27 65 91
|
||||
132: TypePointer Function 8(PS_OUTPUT)
|
||||
134: 6(float) Constant 1065353216
|
||||
135: 7(fvec4) ConstantComposite 134 134 134 134
|
||||
137: TypePointer Function 6(float)
|
||||
144: TypePointer Output 7(fvec4)
|
||||
145(Color): 144(ptr) Variable Output
|
||||
148: TypePointer Output 6(float)
|
||||
149(Depth): 148(ptr) Variable Output
|
||||
152(g_tTex1df4a): 15(ptr) Variable UniformConstant
|
||||
153: TypeImage 6(float) Cube sampled format:Unknown
|
||||
154: TypePointer UniformConstant 153
|
||||
155(g_tTexcdf4): 154(ptr) Variable UniformConstant
|
||||
156: TypeImage 26(int) Cube sampled format:Unknown
|
||||
157: TypePointer UniformConstant 156
|
||||
158(g_tTexcdi4): 157(ptr) Variable UniformConstant
|
||||
159: TypeImage 41(int) Cube sampled format:Unknown
|
||||
160: TypePointer UniformConstant 159
|
||||
161(g_tTexcdu4): 160(ptr) Variable UniformConstant
|
||||
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
|
||||
64(txval21): 26(ptr) Variable Function
|
||||
76(txval22): 39(ptr) Variable Function
|
||||
90(txval30): 8(ptr) Variable Function
|
||||
103(txval31): 26(ptr) Variable Function
|
||||
114(txval32): 39(ptr) Variable Function
|
||||
130(psout): 129(ptr) Variable Function
|
||||
13: 10 Load 12(g_tTex1df4)
|
||||
17: 14 Load 16(g_sSamp)
|
||||
19: 18 SampledImage 13 17
|
||||
24: 7(fvec4) ImageSampleExplicitLod 19 20 Lod ConstOffset 21 23
|
||||
Store 9(txval10) 24
|
||||
31: 28 Load 30(g_tTex1di4)
|
||||
32: 14 Load 16(g_sSamp)
|
||||
34: 33 SampledImage 31 32
|
||||
36: 25(ivec4) ImageSampleExplicitLod 34 35 Lod ConstOffset 21 23
|
||||
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 Lod ConstOffset 21 23
|
||||
Store 40(txval12) 49
|
||||
54: 51 Load 53(g_tTex2df4)
|
||||
55: 14 Load 16(g_sSamp)
|
||||
57: 56 SampledImage 54 55
|
||||
63: 7(fvec4) ImageSampleExplicitLod 57 59 Lod ConstOffset 21 62
|
||||
Store 50(txval20) 63
|
||||
68: 65 Load 67(g_tTex2di4)
|
||||
69: 14 Load 16(g_sSamp)
|
||||
71: 70 SampledImage 68 69
|
||||
75: 25(ivec4) ImageSampleExplicitLod 71 73 Lod ConstOffset 21 74
|
||||
Store 64(txval21) 75
|
||||
80: 77 Load 79(g_tTex2du4)
|
||||
81: 14 Load 16(g_sSamp)
|
||||
83: 82 SampledImage 80 81
|
||||
89: 38(ivec4) ImageSampleExplicitLod 83 86 Lod ConstOffset 21 88
|
||||
Store 76(txval22) 89
|
||||
94: 91 Load 93(g_tTex3df4)
|
||||
95: 14 Load 16(g_sSamp)
|
||||
97: 96 SampledImage 94 95
|
||||
102: 7(fvec4) ImageSampleExplicitLod 97 99 Lod ConstOffset 21 101
|
||||
Store 90(txval30) 102
|
||||
107: 104 Load 106(g_tTex3di4)
|
||||
108: 14 Load 16(g_sSamp)
|
||||
110: 109 SampledImage 107 108
|
||||
113: 25(ivec4) ImageSampleExplicitLod 110 111 Lod ConstOffset 21 112
|
||||
Store 103(txval31) 113
|
||||
118: 115 Load 117(g_tTex3du4)
|
||||
119: 14 Load 16(g_sSamp)
|
||||
121: 120 SampledImage 118 119
|
||||
127: 38(ivec4) ImageSampleExplicitLod 121 125 Lod ConstOffset 21 126
|
||||
Store 114(txval32) 127
|
||||
133: 8(ptr) AccessChain 130(psout) 61
|
||||
Store 133 132
|
||||
135: 134(ptr) AccessChain 130(psout) 23
|
||||
Store 135 131
|
||||
138: 8(ptr) AccessChain 130(psout) 61
|
||||
139: 7(fvec4) Load 138
|
||||
Store 137(Color) 139
|
||||
142: 134(ptr) AccessChain 130(psout) 23
|
||||
143: 6(float) Load 142
|
||||
Store 141(Depth) 143
|
||||
142(flattenTemp): 132(ptr) Variable Function
|
||||
143:8(PS_OUTPUT) FunctionCall 10(@main()
|
||||
Store 142(flattenTemp) 143
|
||||
146: 12(ptr) AccessChain 142(flattenTemp) 65
|
||||
147: 7(fvec4) Load 146
|
||||
Store 145(Color) 147
|
||||
150: 137(ptr) AccessChain 142(flattenTemp) 27
|
||||
151: 6(float) Load 150
|
||||
Store 149(Depth) 151
|
||||
Return
|
||||
FunctionEnd
|
||||
10(@main():8(PS_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
|
||||
68(txval21): 30(ptr) Variable Function
|
||||
80(txval22): 43(ptr) Variable Function
|
||||
94(txval30): 12(ptr) Variable Function
|
||||
107(txval31): 30(ptr) Variable Function
|
||||
118(txval32): 43(ptr) Variable Function
|
||||
133(psout): 132(ptr) Variable Function
|
||||
17: 14 Load 16(g_tTex1df4)
|
||||
21: 18 Load 20(g_sSamp)
|
||||
23: 22 SampledImage 17 21
|
||||
28: 7(fvec4) ImageSampleExplicitLod 23 24 Lod ConstOffset 25 27
|
||||
Store 13(txval10) 28
|
||||
35: 32 Load 34(g_tTex1di4)
|
||||
36: 18 Load 20(g_sSamp)
|
||||
38: 37 SampledImage 35 36
|
||||
40: 29(ivec4) ImageSampleExplicitLod 38 39 Lod ConstOffset 25 27
|
||||
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 Lod ConstOffset 25 27
|
||||
Store 44(txval12) 53
|
||||
58: 55 Load 57(g_tTex2df4)
|
||||
59: 18 Load 20(g_sSamp)
|
||||
61: 60 SampledImage 58 59
|
||||
67: 7(fvec4) ImageSampleExplicitLod 61 63 Lod ConstOffset 25 66
|
||||
Store 54(txval20) 67
|
||||
72: 69 Load 71(g_tTex2di4)
|
||||
73: 18 Load 20(g_sSamp)
|
||||
75: 74 SampledImage 72 73
|
||||
79: 29(ivec4) ImageSampleExplicitLod 75 77 Lod ConstOffset 25 78
|
||||
Store 68(txval21) 79
|
||||
84: 81 Load 83(g_tTex2du4)
|
||||
85: 18 Load 20(g_sSamp)
|
||||
87: 86 SampledImage 84 85
|
||||
93: 42(ivec4) ImageSampleExplicitLod 87 90 Lod ConstOffset 25 92
|
||||
Store 80(txval22) 93
|
||||
98: 95 Load 97(g_tTex3df4)
|
||||
99: 18 Load 20(g_sSamp)
|
||||
101: 100 SampledImage 98 99
|
||||
106: 7(fvec4) ImageSampleExplicitLod 101 103 Lod ConstOffset 25 105
|
||||
Store 94(txval30) 106
|
||||
111: 108 Load 110(g_tTex3di4)
|
||||
112: 18 Load 20(g_sSamp)
|
||||
114: 113 SampledImage 111 112
|
||||
117: 29(ivec4) ImageSampleExplicitLod 114 115 Lod ConstOffset 25 116
|
||||
Store 107(txval31) 117
|
||||
122: 119 Load 121(g_tTex3du4)
|
||||
123: 18 Load 20(g_sSamp)
|
||||
125: 124 SampledImage 122 123
|
||||
131: 42(ivec4) ImageSampleExplicitLod 125 129 Lod ConstOffset 25 130
|
||||
Store 118(txval32) 131
|
||||
136: 12(ptr) AccessChain 133(psout) 65
|
||||
Store 136 135
|
||||
138: 137(ptr) AccessChain 133(psout) 27
|
||||
Store 138 134
|
||||
139:8(PS_OUTPUT) Load 133(psout)
|
||||
ReturnValue 139
|
||||
FunctionEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue