Commit be2f6b05 by John Kessenich

HLSL: Emulate write-to-output on return-from-entry-point, for return value.

This fixes issue #487 and #480. It also correctly handles output parameters from the entry point.
parent 81cd764b
...@@ -7,7 +7,9 @@ gl_FragCoord origin is upper left ...@@ -7,7 +7,9 @@ gl_FragCoord origin is upper left
0:8 'i' (in int) 0:8 'i' (in int)
0:8 'input' (in 3-element array of 4-component vector of float) 0:8 'input' (in 3-element array of 4-component vector of float)
0:? Sequence 0:? Sequence
0:10 Branch: Return with expression 0:10 Sequence
0:10 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
...@@ -43,6 +45,7 @@ gl_FragCoord origin is upper left ...@@ -43,6 +45,7 @@ gl_FragCoord origin is upper left
0:10 Constant: 0:10 Constant:
0:10 0 (const int) 0:10 0 (const int)
0:10 'i' (in int) 0:10 'i' (in int)
0:10 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'a' (global 4-element array of 4-component vector of float) 0:? 'a' (global 4-element array of 4-component vector of float)
0:? 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m}) 0:? 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
...@@ -59,7 +62,9 @@ gl_FragCoord origin is upper left ...@@ -59,7 +62,9 @@ gl_FragCoord origin is upper left
0:8 'i' (in int) 0:8 'i' (in int)
0:8 'input' (in 3-element array of 4-component vector of float) 0:8 'input' (in 3-element array of 4-component vector of float)
0:? Sequence 0:? Sequence
0:10 Branch: Return with expression 0:10 Sequence
0:10 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
...@@ -95,87 +100,92 @@ gl_FragCoord origin is upper left ...@@ -95,87 +100,92 @@ gl_FragCoord origin is upper left
0:10 Constant: 0:10 Constant:
0:10 0 (const int) 0:10 0 (const int)
0:10 'i' (in int) 0:10 'i' (in int)
0:10 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'a' (global 4-element array of 4-component vector of float) 0:? 'a' (global 4-element array of 4-component vector of float)
0:? 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m}) 0:? 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 64 // Id's are bound by 66
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 19 27 EntryPoint Fragment 4 "PixelShaderFunction" 9 21 29
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction" Name 4 "PixelShaderFunction"
Name 12 "a" Name 9 "@entryPointOutput"
Name 19 "i" Name 14 "a"
Name 27 "input" Name 21 "i"
Name 40 "b" Name 29 "input"
Name 52 "" Name 42 "b"
MemberName 52 0 "m" Name 54 ""
Name 56 "s" MemberName 54 0 "m"
Name 58 "s"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
7: TypeVector 6(float) 4 7: TypeVector 6(float) 4
8: TypeInt 32 0 8: TypePointer Output 7(fvec4)
9: 8(int) Constant 4 9(@entryPointOutput): 8(ptr) Variable Output
10: TypeArray 7(fvec4) 9 10: TypeInt 32 0
11: TypePointer Private 10 11: 10(int) Constant 4
12(a): 11(ptr) Variable Private 12: TypeArray 7(fvec4) 11
13: TypeInt 32 1 13: TypePointer Private 12
14: 13(int) Constant 1 14(a): 13(ptr) Variable Private
15: TypePointer Private 7(fvec4) 15: TypeInt 32 1
18: TypePointer Input 13(int) 16: 15(int) Constant 1
19(i): 18(ptr) Variable Input 17: TypePointer Private 7(fvec4)
24: 8(int) Constant 3 20: TypePointer Input 15(int)
25: TypeArray 7(fvec4) 24 21(i): 20(ptr) Variable Input
26: TypePointer Input 25 26: 10(int) Constant 3
27(input): 26(ptr) Variable Input 27: TypeArray 7(fvec4) 26
28: 13(int) Constant 2 28: TypePointer Input 27
29: TypePointer Input 7(fvec4) 29(input): 28(ptr) Variable Input
37: 8(int) Constant 10 30: 15(int) Constant 2
38: TypeArray 7(fvec4) 37 31: TypePointer Input 7(fvec4)
39: TypePointer Function 38 39: 10(int) Constant 10
41: 13(int) Constant 5 40: TypeArray 7(fvec4) 39
42: TypePointer Function 7(fvec4) 41: TypePointer Function 40
50: 8(int) Constant 7 43: 15(int) Constant 5
51: TypeArray 7(fvec4) 50 44: TypePointer Function 7(fvec4)
52: TypeStruct 51 52: 10(int) Constant 7
53: 8(int) Constant 11 53: TypeArray 7(fvec4) 52
54: TypeArray 52(struct) 53 54: TypeStruct 53
55: TypePointer Private 54 55: 10(int) Constant 11
56(s): 55(ptr) Variable Private 56: TypeArray 54(struct) 55
58: 13(int) Constant 0 57: TypePointer Private 56
58(s): 57(ptr) Variable Private
60: 15(int) Constant 0
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
40(b): 39(ptr) Variable Function 42(b): 41(ptr) Variable Function
16: 15(ptr) AccessChain 12(a) 14 18: 17(ptr) AccessChain 14(a) 16
17: 7(fvec4) Load 16 19: 7(fvec4) Load 18
20: 13(int) Load 19(i) 22: 15(int) Load 21(i)
21: 15(ptr) AccessChain 12(a) 20 23: 17(ptr) AccessChain 14(a) 22
22: 7(fvec4) Load 21 24: 7(fvec4) Load 23
23: 7(fvec4) FAdd 17 22 25: 7(fvec4) FAdd 19 24
30: 29(ptr) AccessChain 27(input) 28 32: 31(ptr) AccessChain 29(input) 30
31: 7(fvec4) Load 30 33: 7(fvec4) Load 32
32: 7(fvec4) FAdd 23 31 34: 7(fvec4) FAdd 25 33
33: 13(int) Load 19(i) 35: 15(int) Load 21(i)
34: 29(ptr) AccessChain 27(input) 33 36: 31(ptr) AccessChain 29(input) 35
35: 7(fvec4) Load 34 37: 7(fvec4) Load 36
36: 7(fvec4) FAdd 32 35 38: 7(fvec4) FAdd 34 37
43: 42(ptr) AccessChain 40(b) 41 45: 44(ptr) AccessChain 42(b) 43
44: 7(fvec4) Load 43 46: 7(fvec4) Load 45
45: 7(fvec4) FAdd 36 44 47: 7(fvec4) FAdd 38 46
46: 13(int) Load 19(i) 48: 15(int) Load 21(i)
47: 42(ptr) AccessChain 40(b) 46 49: 44(ptr) AccessChain 42(b) 48
48: 7(fvec4) Load 47 50: 7(fvec4) Load 49
49: 7(fvec4) FAdd 45 48 51: 7(fvec4) FAdd 47 50
57: 13(int) Load 19(i) 59: 15(int) Load 21(i)
59: 13(int) Load 19(i) 61: 15(int) Load 21(i)
60: 15(ptr) AccessChain 56(s) 57 58 59 62: 17(ptr) AccessChain 58(s) 59 60 61
61: 7(fvec4) Load 60 63: 7(fvec4) Load 62
62: 7(fvec4) FAdd 49 61 64: 7(fvec4) FAdd 51 63
ReturnValue 62 Store 9(@entryPointOutput) 64
Return
FunctionEnd FunctionEnd
...@@ -19,7 +19,9 @@ gl_FragCoord origin is upper left ...@@ -19,7 +19,9 @@ gl_FragCoord origin is upper left
0:9 move second child to first child (temp 4-component vector of float) 0:9 move second child to first child (temp 4-component vector of float)
0:9 'a4' (in 4-component vector of float) 0:9 'a4' (in 4-component vector of float)
0:9 'a5' (in 4-component vector of float) 0:9 'a5' (in 4-component vector of float)
0:10 Branch: Return with expression 0:10 Sequence
0:10 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
...@@ -29,6 +31,7 @@ gl_FragCoord origin is upper left ...@@ -29,6 +31,7 @@ gl_FragCoord origin is upper left
0:10 'a3' (in 4-component vector of float) 0:10 'a3' (in 4-component vector of float)
0:10 'a4' (in 4-component vector of float) 0:10 'a4' (in 4-component vector of float)
0:10 'a5' (in 4-component vector of float) 0:10 'a5' (in 4-component vector of float)
0:10 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -55,7 +58,9 @@ gl_FragCoord origin is upper left ...@@ -55,7 +58,9 @@ gl_FragCoord origin is upper left
0:9 move second child to first child (temp 4-component vector of float) 0:9 move second child to first child (temp 4-component vector of float)
0:9 'a4' (in 4-component vector of float) 0:9 'a4' (in 4-component vector of float)
0:9 'a5' (in 4-component vector of float) 0:9 'a5' (in 4-component vector of float)
0:10 Branch: Return with expression 0:10 Sequence
0:10 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
...@@ -65,16 +70,17 @@ gl_FragCoord origin is upper left ...@@ -65,16 +70,17 @@ gl_FragCoord origin is upper left
0:10 'a3' (in 4-component vector of float) 0:10 'a3' (in 4-component vector of float)
0:10 'a4' (in 4-component vector of float) 0:10 'a4' (in 4-component vector of float)
0:10 'a5' (in 4-component vector of float) 0:10 'a5' (in 4-component vector of float)
0:10 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 25 // Id's are bound by 27
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 9 10 11 12 13 EntryPoint Fragment 4 "PixelShaderFunction" 9 10 11 12 13 16
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction" Name 4 "PixelShaderFunction"
Name 9 "a1" Name 9 "a1"
...@@ -82,6 +88,7 @@ gl_FragCoord origin is upper left ...@@ -82,6 +88,7 @@ gl_FragCoord origin is upper left
Name 11 "a3" Name 11 "a3"
Name 12 "a4" Name 12 "a4"
Name 13 "a5" Name 13 "a5"
Name 16 "@entryPointOutput"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -92,6 +99,8 @@ gl_FragCoord origin is upper left ...@@ -92,6 +99,8 @@ gl_FragCoord origin is upper left
11(a3): 8(ptr) Variable Input 11(a3): 8(ptr) Variable Input
12(a4): 8(ptr) Variable Input 12(a4): 8(ptr) Variable Input
13(a5): 8(ptr) Variable Input 13(a5): 8(ptr) Variable Input
15: TypePointer Output 7(fvec4)
16(@entryPointOutput): 15(ptr) Variable Output
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
14: 7(fvec4) Load 13(a5) 14: 7(fvec4) Load 13(a5)
...@@ -99,14 +108,15 @@ gl_FragCoord origin is upper left ...@@ -99,14 +108,15 @@ gl_FragCoord origin is upper left
Store 11(a3) 14 Store 11(a3) 14
Store 10(a2) 14 Store 10(a2) 14
Store 9(a1) 14 Store 9(a1) 14
15: 7(fvec4) Load 9(a1) 17: 7(fvec4) Load 9(a1)
16: 7(fvec4) Load 10(a2) 18: 7(fvec4) Load 10(a2)
17: 7(fvec4) FAdd 15 16
18: 7(fvec4) Load 11(a3)
19: 7(fvec4) FAdd 17 18 19: 7(fvec4) FAdd 17 18
20: 7(fvec4) Load 12(a4) 20: 7(fvec4) Load 11(a3)
21: 7(fvec4) FAdd 19 20 21: 7(fvec4) FAdd 19 20
22: 7(fvec4) Load 13(a5) 22: 7(fvec4) Load 12(a4)
23: 7(fvec4) FAdd 21 22 23: 7(fvec4) FAdd 21 22
ReturnValue 23 24: 7(fvec4) Load 13(a5)
25: 7(fvec4) FAdd 23 24
Store 16(@entryPointOutput) 25
Return
FunctionEnd FunctionEnd
...@@ -139,8 +139,11 @@ gl_FragCoord origin is upper left ...@@ -139,8 +139,11 @@ gl_FragCoord origin is upper left
0:41 1 (const int) 0:41 1 (const int)
0:41 Constant: 0:41 Constant:
0:41 1.000000 0:41 1.000000
0:43 Branch: Return with expression 0:43 Sequence
0:43 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:43 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:43 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:43 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -298,8 +301,11 @@ gl_FragCoord origin is upper left ...@@ -298,8 +301,11 @@ gl_FragCoord origin is upper left
0:41 1 (const int) 0:41 1 (const int)
0:41 Constant: 0:41 Constant:
0:41 1.000000 0:41 1.000000
0:43 Branch: Return with expression 0:43 Sequence
0:43 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:43 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:43 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:43 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -315,7 +321,7 @@ gl_FragCoord origin is upper left ...@@ -315,7 +321,7 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 143 // Id's are bound by 145
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
...@@ -323,7 +329,7 @@ gl_FragCoord origin is upper left ...@@ -323,7 +329,7 @@ gl_FragCoord origin is upper left
Capability ImageQuery Capability ImageQuery
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 141
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 8 "txval10" Name 8 "txval10"
...@@ -349,7 +355,8 @@ gl_FragCoord origin is upper left ...@@ -349,7 +355,8 @@ gl_FragCoord origin is upper left
MemberName 131(PS_OUTPUT) 0 "Color" MemberName 131(PS_OUTPUT) 0 "Color"
MemberName 131(PS_OUTPUT) 1 "Depth" MemberName 131(PS_OUTPUT) 1 "Depth"
Name 133 "psout" Name 133 "psout"
Name 142 "g_tTex1df4" Name 141 "@entryPointOutput"
Name 144 "g_tTex1df4"
Decorate 11(g_tTex1df4a) DescriptorSet 0 Decorate 11(g_tTex1df4a) DescriptorSet 0
Decorate 11(g_tTex1df4a) Binding 1 Decorate 11(g_tTex1df4a) Binding 1
Decorate 15(g_sSamp) DescriptorSet 0 Decorate 15(g_sSamp) DescriptorSet 0
...@@ -363,8 +370,8 @@ gl_FragCoord origin is upper left ...@@ -363,8 +370,8 @@ gl_FragCoord origin is upper left
Decorate 106(g_tTexcdi4a) DescriptorSet 0 Decorate 106(g_tTexcdi4a) DescriptorSet 0
Decorate 118(g_tTexcdu4a) DescriptorSet 0 Decorate 118(g_tTexcdu4a) DescriptorSet 0
MemberDecorate 131(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 131(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 142(g_tTex1df4) DescriptorSet 0 Decorate 144(g_tTex1df4) DescriptorSet 0
Decorate 142(g_tTex1df4) Binding 0 Decorate 144(g_tTex1df4) Binding 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -435,7 +442,9 @@ gl_FragCoord origin is upper left ...@@ -435,7 +442,9 @@ gl_FragCoord origin is upper left
135: 130(fvec4) ConstantComposite 134 134 134 134 135: 130(fvec4) ConstantComposite 134 134 134 134
136: TypePointer Function 130(fvec4) 136: TypePointer Function 130(fvec4)
138: 23(int) Constant 1 138: 23(int) Constant 1
142(g_tTex1df4): 10(ptr) Variable UniformConstant 140: TypePointer Output 131(PS_OUTPUT)
141(@entryPointOutput): 140(ptr) Variable Output
144(g_tTex1df4): 10(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
8(txval10): 7(ptr) Variable Function 8(txval10): 7(ptr) Variable Function
...@@ -515,6 +524,7 @@ gl_FragCoord origin is upper left ...@@ -515,6 +524,7 @@ gl_FragCoord origin is upper left
Store 137 135 Store 137 135
139: 7(ptr) AccessChain 133(psout) 138 139: 7(ptr) AccessChain 133(psout) 138
Store 139 134 Store 139 134
140:131(PS_OUTPUT) Load 133(psout) 142:131(PS_OUTPUT) Load 133(psout)
ReturnValue 140 Store 141(@entryPointOutput) 142
Return
FunctionEnd FunctionEnd
...@@ -151,8 +151,11 @@ ERROR: node is still EOpNull! ...@@ -151,8 +151,11 @@ ERROR: node is still EOpNull!
0:41 1 (const int) 0:41 1 (const int)
0:41 Constant: 0:41 Constant:
0:41 1.000000 0:41 1.000000
0:43 Branch: Return with expression 0:43 Sequence
0:43 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:43 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:43 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:43 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -310,8 +313,11 @@ ERROR: node is still EOpNull! ...@@ -310,8 +313,11 @@ ERROR: node is still EOpNull!
0:41 1 (const int) 0:41 1 (const int)
0:41 Constant: 0:41 Constant:
0:41 1.000000 0:41 1.000000
0:43 Branch: Return with expression 0:43 Sequence
0:43 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:43 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:43 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:43 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
......
...@@ -6,7 +6,9 @@ gl_FragCoord origin is upper left ...@@ -6,7 +6,9 @@ gl_FragCoord origin is upper left
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
0:3 Branch: Return with expression 0:3 Sequence
0:3 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:3 add (temp 4-component vector of float) 0:3 add (temp 4-component vector of float)
0:3 add (temp 4-component vector of float) 0:3 add (temp 4-component vector of float)
0:3 Construct vec4 (temp 4-component vector of float) 0:3 Construct vec4 (temp 4-component vector of float)
...@@ -19,6 +21,7 @@ gl_FragCoord origin is upper left ...@@ -19,6 +21,7 @@ gl_FragCoord origin is upper left
0:3 1.198000 0:3 1.198000
0:3 1.198000 0:3 1.198000
0:3 1.198000 0:3 1.198000
0:3 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -32,7 +35,9 @@ gl_FragCoord origin is upper left ...@@ -32,7 +35,9 @@ gl_FragCoord origin is upper left
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
0:3 Branch: Return with expression 0:3 Sequence
0:3 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:3 add (temp 4-component vector of float) 0:3 add (temp 4-component vector of float)
0:3 add (temp 4-component vector of float) 0:3 add (temp 4-component vector of float)
0:3 Construct vec4 (temp 4-component vector of float) 0:3 Construct vec4 (temp 4-component vector of float)
...@@ -45,41 +50,46 @@ gl_FragCoord origin is upper left ...@@ -45,41 +50,46 @@ gl_FragCoord origin is upper left
0:3 1.198000 0:3 1.198000
0:3 1.198000 0:3 1.198000
0:3 1.198000 0:3 1.198000
0:3 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 26 // Id's are bound by 28
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 9 EntryPoint Fragment 4 "PixelShaderFunction" 9 11
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction" Name 4 "PixelShaderFunction"
Name 9 "input" Name 9 "@entryPointOutput"
Name 11 "input"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
7: TypeVector 6(float) 4 7: TypeVector 6(float) 4
8: TypePointer Input 7(fvec4) 8: TypePointer Output 7(fvec4)
9(input): 8(ptr) Variable Input 9(@entryPointOutput): 8(ptr) Variable Output
17: TypeInt 32 1 10: TypePointer Input 7(fvec4)
18: TypeVector 17(int) 4 11(input): 10(ptr) Variable Input
22: 6(float) Constant 1067014160 19: TypeInt 32 1
23: 7(fvec4) ConstantComposite 22 22 22 22 20: TypeVector 19(int) 4
24: 6(float) Constant 1067014160
25: 7(fvec4) ConstantComposite 24 24 24 24
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
10: 7(fvec4) Load 9(input) 12: 7(fvec4) Load 11(input)
11: 6(float) CompositeExtract 10 0 13: 6(float) CompositeExtract 12 0
12: 6(float) CompositeExtract 10 1 14: 6(float) CompositeExtract 12 1
13: 6(float) CompositeExtract 10 2 15: 6(float) CompositeExtract 12 2
14: 6(float) CompositeExtract 10 3 16: 6(float) CompositeExtract 12 3
15: 7(fvec4) CompositeConstruct 11 12 13 14 17: 7(fvec4) CompositeConstruct 13 14 15 16
16: 7(fvec4) Load 9(input) 18: 7(fvec4) Load 11(input)
19: 18(ivec4) ConvertFToS 16 21: 20(ivec4) ConvertFToS 18
20: 7(fvec4) ConvertSToF 19 22: 7(fvec4) ConvertSToF 21
21: 7(fvec4) FAdd 15 20 23: 7(fvec4) FAdd 17 22
24: 7(fvec4) FAdd 21 23 26: 7(fvec4) FAdd 23 25
ReturnValue 24 Store 9(@entryPointOutput) 26
Return
FunctionEnd FunctionEnd
...@@ -98,13 +98,16 @@ gl_FragCoord origin is upper left ...@@ -98,13 +98,16 @@ gl_FragCoord origin is upper left
0:14 Convert int to float (temp float) 0:14 Convert int to float (temp float)
0:14 'd' (temp int) 0:14 'd' (temp int)
0:14 'input' (in 4-component vector of float) 0:14 'input' (in 4-component vector of float)
0:15 Branch: Return with expression 0:15 Sequence
0:15 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:15 add (temp 4-component vector of float) 0:15 add (temp 4-component vector of float)
0:15 vector-scale (temp 4-component vector of float) 0:15 vector-scale (temp 4-component vector of float)
0:15 Convert int to float (temp float) 0:15 Convert int to float (temp float)
0:15 'e' (temp int) 0:15 'e' (temp int)
0:15 'ret' (temp 4-component vector of float) 0:15 'ret' (temp 4-component vector of float)
0:15 'f' (temp 4-component vector of float) 0:15 'f' (temp 4-component vector of float)
0:15 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -210,23 +213,26 @@ gl_FragCoord origin is upper left ...@@ -210,23 +213,26 @@ gl_FragCoord origin is upper left
0:14 Convert int to float (temp float) 0:14 Convert int to float (temp float)
0:14 'd' (temp int) 0:14 'd' (temp int)
0:14 'input' (in 4-component vector of float) 0:14 'input' (in 4-component vector of float)
0:15 Branch: Return with expression 0:15 Sequence
0:15 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:15 add (temp 4-component vector of float) 0:15 add (temp 4-component vector of float)
0:15 vector-scale (temp 4-component vector of float) 0:15 vector-scale (temp 4-component vector of float)
0:15 Convert int to float (temp float) 0:15 Convert int to float (temp float)
0:15 'e' (temp int) 0:15 'e' (temp int)
0:15 'ret' (temp 4-component vector of float) 0:15 'ret' (temp 4-component vector of float)
0:15 'f' (temp 4-component vector of float) 0:15 'f' (temp 4-component vector of float)
0:15 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 89 // Id's are bound by 91
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 22 EntryPoint Fragment 4 "PixelShaderFunction" 22 83
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction" Name 4 "PixelShaderFunction"
Name 8 "a" Name 8 "a"
...@@ -237,6 +243,7 @@ gl_FragCoord origin is upper left ...@@ -237,6 +243,7 @@ gl_FragCoord origin is upper left
Name 22 "input" Name 22 "input"
Name 40 "e" Name 40 "e"
Name 57 "f" Name 57 "f"
Name 83 "@entryPointOutput"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeInt 32 1 6: TypeInt 32 1
...@@ -257,6 +264,8 @@ gl_FragCoord origin is upper left ...@@ -257,6 +264,8 @@ gl_FragCoord origin is upper left
64: 59(int) Constant 1 64: 59(int) Constant 1
65: TypePointer Input 15(float) 65: TypePointer Input 15(float)
68: TypeBool 68: TypeBool
82: TypePointer Output 16(fvec4)
83(@entryPointOutput): 82(ptr) Variable Output
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
8(a): 7(ptr) Variable Function 8(a): 7(ptr) Variable Function
...@@ -346,11 +355,12 @@ gl_FragCoord origin is upper left ...@@ -346,11 +355,12 @@ gl_FragCoord origin is upper left
71: Label 71: Label
81: 16(fvec4) Load 58 81: 16(fvec4) Load 58
Store 57(f) 81 Store 57(f) 81
82: 6(int) Load 40(e) 84: 6(int) Load 40(e)
83: 15(float) ConvertSToF 82 85: 15(float) ConvertSToF 84
84: 16(fvec4) Load 18(ret) 86: 16(fvec4) Load 18(ret)
85: 16(fvec4) VectorTimesScalar 84 83 87: 16(fvec4) VectorTimesScalar 86 85
86: 16(fvec4) Load 57(f) 88: 16(fvec4) Load 57(f)
87: 16(fvec4) FAdd 85 86 89: 16(fvec4) FAdd 87 88
ReturnValue 87 Store 83(@entryPointOutput) 89
Return
FunctionEnd FunctionEnd
...@@ -34,8 +34,11 @@ gl_FragCoord origin is upper left ...@@ -34,8 +34,11 @@ gl_FragCoord origin is upper left
0:15 1.000000 0:15 1.000000
0:15 1.000000 0:15 1.000000
0:15 1.000000 0:15 1.000000
0:16 Branch: Return with expression 0:16 Sequence
0:16 move second child to first child (temp structure{temp 4-component vector of float color})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
0:16 'ps_output' (temp structure{temp 4-component vector of float color}) 0:16 'ps_output' (temp structure{temp 4-component vector of float color})
0:16 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -77,23 +80,27 @@ gl_FragCoord origin is upper left ...@@ -77,23 +80,27 @@ gl_FragCoord origin is upper left
0:15 1.000000 0:15 1.000000
0:15 1.000000 0:15 1.000000
0:15 1.000000 0:15 1.000000
0:16 Branch: Return with expression 0:16 Sequence
0:16 move second child to first child (temp structure{temp 4-component vector of float color})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
0:16 'ps_output' (temp structure{temp 4-component vector of float color}) 0:16 'ps_output' (temp structure{temp 4-component vector of float color})
0:16 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 32 // Id's are bound by 34
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 31
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 22 "PS_OUTPUT" Name 22 "PS_OUTPUT"
MemberName 22(PS_OUTPUT) 0 "color" MemberName 22(PS_OUTPUT) 0 "color"
Name 24 "ps_output" Name 24 "ps_output"
Name 31 "@entryPointOutput"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeInt 32 1 6: TypeInt 32 1
...@@ -118,11 +125,14 @@ gl_FragCoord origin is upper left ...@@ -118,11 +125,14 @@ gl_FragCoord origin is upper left
26: 13(float) Constant 1065353216 26: 13(float) Constant 1065353216
27: 21(fvec4) ConstantComposite 26 26 26 26 27: 21(fvec4) ConstantComposite 26 26 26 26
28: TypePointer Function 21(fvec4) 28: TypePointer Function 21(fvec4)
30: TypePointer Output 22(PS_OUTPUT)
31(@entryPointOutput): 30(ptr) Variable Output
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
24(ps_output): 23(ptr) Variable Function 24(ps_output): 23(ptr) Variable Function
29: 28(ptr) AccessChain 24(ps_output) 25 29: 28(ptr) AccessChain 24(ps_output) 25
Store 29 27 Store 29 27
30:22(PS_OUTPUT) Load 24(ps_output) 32:22(PS_OUTPUT) Load 24(ps_output)
ReturnValue 30 Store 31(@entryPointOutput) 32
Return
FunctionEnd FunctionEnd
...@@ -22,8 +22,11 @@ gl_FragCoord origin is upper left ...@@ -22,8 +22,11 @@ gl_FragCoord origin is upper left
0:5 'input' (in 4-component vector of float) 0:5 'input' (in 4-component vector of float)
0:5 'input' (in 4-component vector of float) 0:5 'input' (in 4-component vector of float)
0:5 Loop Body 0:5 Loop Body
0:5 Branch: Return with expression 0:5 Sequence
0:5 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:5 'input' (in 4-component vector of float) 0:5 'input' (in 4-component vector of float)
0:5 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -53,30 +56,36 @@ gl_FragCoord origin is upper left ...@@ -53,30 +56,36 @@ gl_FragCoord origin is upper left
0:5 'input' (in 4-component vector of float) 0:5 'input' (in 4-component vector of float)
0:5 'input' (in 4-component vector of float) 0:5 'input' (in 4-component vector of float)
0:5 Loop Body 0:5 Loop Body
0:5 Branch: Return with expression 0:5 Sequence
0:5 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:5 'input' (in 4-component vector of float) 0:5 'input' (in 4-component vector of float)
0:5 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 31 // Id's are bound by 33
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 23 EntryPoint Fragment 4 "PixelShaderFunction" 23 25
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction" Name 4 "PixelShaderFunction"
Name 23 "input" Name 23 "@entryPointOutput"
Name 25 "input"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
10: TypeBool 10: TypeBool
11: 10(bool) ConstantFalse 11: 10(bool) ConstantFalse
20: TypeFloat 32 20: TypeFloat 32
21: TypeVector 20(float) 4 21: TypeVector 20(float) 4
22: TypePointer Input 21(fvec4) 22: TypePointer Output 21(fvec4)
23(input): 22(ptr) Variable Input 23(@entryPointOutput): 22(ptr) Variable Output
28: TypeVector 10(bool) 4 24: TypePointer Input 21(fvec4)
25(input): 24(ptr) Variable Input
30: TypeVector 10(bool) 4
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
Branch 6 Branch 6
...@@ -102,14 +111,15 @@ gl_FragCoord origin is upper left ...@@ -102,14 +111,15 @@ gl_FragCoord origin is upper left
LoopMerge 18 19 None LoopMerge 18 19 None
Branch 17 Branch 17
17: Label 17: Label
24: 21(fvec4) Load 23(input) 26: 21(fvec4) Load 25(input)
ReturnValue 24 Store 23(@entryPointOutput) 26
Return
19: Label 19: Label
26: 21(fvec4) Load 23(input) 28: 21(fvec4) Load 25(input)
27: 21(fvec4) Load 23(input) 29: 21(fvec4) Load 25(input)
29: 28(bvec4) FOrdEqual 26 27 31: 30(bvec4) FOrdEqual 28 29
30: 10(bool) All 29 32: 10(bool) All 31
BranchConditional 30 16 18 BranchConditional 32 16 18
18: Label 18: Label
Return Return
FunctionEnd FunctionEnd
hlsl.entry-out.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:13 Function Definition: PixelShaderFunction(vf4;vf4;struct-OutParam-vf2-vi21; (global 4-component vector of float)
0:7 Function Parameters:
0:7 'input' (in 4-component vector of float)
0:7 'out1' (out 4-component vector of float)
0:7 'out2' (out structure{temp 2-component vector of float v, temp 2-component vector of int i})
0:? Sequence
0:8 move second child to first child (temp 4-component vector of float)
0:8 'out1' (out 4-component vector of float)
0:8 'input' (in 4-component vector of float)
0:9 move second child to first child (temp 2-component vector of float)
0:9 v: direct index for structure (temp 2-component vector of float)
0:9 'out2' (out structure{temp 2-component vector of float v, temp 2-component vector of int i})
0:9 Constant:
0:9 0 (const int)
0:9 Constant:
0:9 2.000000
0:9 2.000000
0:10 move second child to first child (temp 2-component vector of int)
0:10 i: direct index for structure (temp 2-component vector of int)
0:10 'out2' (out structure{temp 2-component vector of float v, temp 2-component vector of int i})
0:10 Constant:
0:10 1 (const int)
0:10 Constant:
0:10 3 (const int)
0:10 3 (const int)
0:11 Sequence
0:11 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:11 'out1' (out 4-component vector of float)
0:11 Branch: Return
0:? Linker Objects
Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:13 Function Definition: PixelShaderFunction(vf4;vf4;struct-OutParam-vf2-vi21; (global 4-component vector of float)
0:7 Function Parameters:
0:7 'input' (in 4-component vector of float)
0:7 'out1' (out 4-component vector of float)
0:7 'out2' (out structure{temp 2-component vector of float v, temp 2-component vector of int i})
0:? Sequence
0:8 move second child to first child (temp 4-component vector of float)
0:8 'out1' (out 4-component vector of float)
0:8 'input' (in 4-component vector of float)
0:9 move second child to first child (temp 2-component vector of float)
0:9 v: direct index for structure (temp 2-component vector of float)
0:9 'out2' (out structure{temp 2-component vector of float v, temp 2-component vector of int i})
0:9 Constant:
0:9 0 (const int)
0:9 Constant:
0:9 2.000000
0:9 2.000000
0:10 move second child to first child (temp 2-component vector of int)
0:10 i: direct index for structure (temp 2-component vector of int)
0:10 'out2' (out structure{temp 2-component vector of float v, temp 2-component vector of int i})
0:10 Constant:
0:10 1 (const int)
0:10 Constant:
0:10 3 (const int)
0:10 3 (const int)
0:11 Sequence
0:11 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:11 'out1' (out 4-component vector of float)
0:11 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 32
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 9 11 18 29
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 9 "out1"
Name 11 "input"
Name 16 "OutParam"
MemberName 16(OutParam) 0 "v"
MemberName 16(OutParam) 1 "i"
Name 18 "out2"
Name 29 "@entryPointOutput"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypePointer Output 7(fvec4)
9(out1): 8(ptr) Variable Output
10: TypePointer Input 7(fvec4)
11(input): 10(ptr) Variable Input
13: TypeVector 6(float) 2
14: TypeInt 32 1
15: TypeVector 14(int) 2
16(OutParam): TypeStruct 13(fvec2) 15(ivec2)
17: TypePointer Output 16(OutParam)
18(out2): 17(ptr) Variable Output
19: 14(int) Constant 0
20: 6(float) Constant 1073741824
21: 13(fvec2) ConstantComposite 20 20
22: TypePointer Output 13(fvec2)
24: 14(int) Constant 1
25: 14(int) Constant 3
26: 15(ivec2) ConstantComposite 25 25
27: TypePointer Output 15(ivec2)
29(@entryPointOutput): 8(ptr) Variable Output
4(PixelShaderFunction): 2 Function None 3
5: Label
12: 7(fvec4) Load 11(input)
Store 9(out1) 12
23: 22(ptr) AccessChain 18(out2) 19
Store 23 21
28: 27(ptr) AccessChain 18(out2) 24
Store 28 26
30: 7(fvec4) Load 9(out1)
Store 29(@entryPointOutput) 30
Return
FunctionEnd
...@@ -91,8 +91,11 @@ gl_FragCoord origin is upper left ...@@ -91,8 +91,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int) 0:40 1 (const int)
0:40 Constant: 0:40 Constant:
0:40 1.000000 0:40 1.000000
0:42 Branch: Return with expression 0:42 Sequence
0:42 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -202,8 +205,11 @@ gl_FragCoord origin is upper left ...@@ -202,8 +205,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int) 0:40 1 (const int)
0:40 Constant: 0:40 Constant:
0:40 1.000000 0:40 1.000000
0:42 Branch: Return with expression 0:42 Sequence
0:42 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -219,14 +225,14 @@ gl_FragCoord origin is upper left ...@@ -219,14 +225,14 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 110 // Id's are bound by 112
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
Capability SampledCubeArray Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 99
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "txval20" Name 9 "txval20"
...@@ -246,10 +252,11 @@ gl_FragCoord origin is upper left ...@@ -246,10 +252,11 @@ gl_FragCoord origin is upper left
MemberName 90(PS_OUTPUT) 0 "Color" MemberName 90(PS_OUTPUT) 0 "Color"
MemberName 90(PS_OUTPUT) 1 "Depth" MemberName 90(PS_OUTPUT) 1 "Depth"
Name 92 "psout" Name 92 "psout"
Name 102 "g_tTex1df4a" Name 99 "@entryPointOutput"
Name 103 "g_tTex1df4" Name 104 "g_tTex1df4a"
Name 106 "g_tTex1di4a" Name 105 "g_tTex1df4"
Name 109 "g_tTex1du4a" Name 108 "g_tTex1di4a"
Name 111 "g_tTex1du4a"
Decorate 12(g_tTex2df4a) DescriptorSet 0 Decorate 12(g_tTex2df4a) DescriptorSet 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0 Decorate 16(g_sSamp) Binding 0
...@@ -259,12 +266,12 @@ gl_FragCoord origin is upper left ...@@ -259,12 +266,12 @@ gl_FragCoord origin is upper left
Decorate 70(g_tTexcdi4a) DescriptorSet 0 Decorate 70(g_tTexcdi4a) DescriptorSet 0
Decorate 80(g_tTexcdu4a) DescriptorSet 0 Decorate 80(g_tTexcdu4a) DescriptorSet 0
MemberDecorate 90(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 90(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 102(g_tTex1df4a) DescriptorSet 0 Decorate 104(g_tTex1df4a) DescriptorSet 0
Decorate 102(g_tTex1df4a) Binding 1 Decorate 104(g_tTex1df4a) Binding 1
Decorate 103(g_tTex1df4) DescriptorSet 0 Decorate 105(g_tTex1df4) DescriptorSet 0
Decorate 103(g_tTex1df4) Binding 0 Decorate 105(g_tTex1df4) Binding 0
Decorate 106(g_tTex1di4a) DescriptorSet 0 Decorate 108(g_tTex1di4a) DescriptorSet 0
Decorate 109(g_tTex1du4a) DescriptorSet 0 Decorate 111(g_tTex1du4a) DescriptorSet 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -326,16 +333,18 @@ gl_FragCoord origin is upper left ...@@ -326,16 +333,18 @@ gl_FragCoord origin is upper left
93: 7(fvec4) ConstantComposite 87 87 87 87 93: 7(fvec4) ConstantComposite 87 87 87 87
95: 25(int) Constant 1 95: 25(int) Constant 1
96: TypePointer Function 6(float) 96: TypePointer Function 6(float)
100: TypeImage 6(float) 1D array sampled format:Unknown 98: TypePointer Output 90(PS_OUTPUT)
101: TypePointer UniformConstant 100 99(@entryPointOutput): 98(ptr) Variable Output
102(g_tTex1df4a): 101(ptr) Variable UniformConstant 102: TypeImage 6(float) 1D array sampled format:Unknown
103(g_tTex1df4): 101(ptr) Variable UniformConstant 103: TypePointer UniformConstant 102
104: TypeImage 25(int) 1D array sampled format:Unknown 104(g_tTex1df4a): 103(ptr) Variable UniformConstant
105: TypePointer UniformConstant 104 105(g_tTex1df4): 103(ptr) Variable UniformConstant
106(g_tTex1di4a): 105(ptr) Variable UniformConstant 106: TypeImage 25(int) 1D array sampled format:Unknown
107: TypeImage 42(int) 1D array sampled format:Unknown 107: TypePointer UniformConstant 106
108: TypePointer UniformConstant 107 108(g_tTex1di4a): 107(ptr) Variable UniformConstant
109(g_tTex1du4a): 108(ptr) Variable UniformConstant 109: TypeImage 42(int) 1D array sampled format:Unknown
110: TypePointer UniformConstant 109
111(g_tTex1du4a): 110(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval20): 8(ptr) Variable Function 9(txval20): 8(ptr) Variable Function
...@@ -379,6 +388,7 @@ gl_FragCoord origin is upper left ...@@ -379,6 +388,7 @@ gl_FragCoord origin is upper left
Store 94 93 Store 94 93
97: 96(ptr) AccessChain 92(psout) 95 97: 96(ptr) AccessChain 92(psout) 95
Store 97 87 Store 97 87
98:90(PS_OUTPUT) Load 92(psout) 100:90(PS_OUTPUT) Load 92(psout)
ReturnValue 98 Store 99(@entryPointOutput) 100
Return
FunctionEnd FunctionEnd
...@@ -85,8 +85,11 @@ gl_FragCoord origin is upper left ...@@ -85,8 +85,11 @@ gl_FragCoord origin is upper left
0:45 1 (const int) 0:45 1 (const int)
0:45 Constant: 0:45 Constant:
0:45 1.000000 0:45 1.000000
0:47 Branch: Return with expression 0:47 Sequence
0:47 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:47 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:47 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:47 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler) 0:? 'g_sSamp2d' (uniform sampler)
...@@ -194,8 +197,11 @@ gl_FragCoord origin is upper left ...@@ -194,8 +197,11 @@ gl_FragCoord origin is upper left
0:45 1 (const int) 0:45 1 (const int)
0:45 Constant: 0:45 Constant:
0:45 1.000000 0:45 1.000000
0:47 Branch: Return with expression 0:47 Sequence
0:47 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:47 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:47 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:47 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler) 0:? 'g_sSamp2d' (uniform sampler)
...@@ -215,13 +221,13 @@ gl_FragCoord origin is upper left ...@@ -215,13 +221,13 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 121 // Id's are bound by 123
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 100
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "txval20" Name 9 "txval20"
...@@ -241,14 +247,15 @@ gl_FragCoord origin is upper left ...@@ -241,14 +247,15 @@ gl_FragCoord origin is upper left
MemberName 90(PS_OUTPUT) 0 "Color" MemberName 90(PS_OUTPUT) 0 "Color"
MemberName 90(PS_OUTPUT) 1 "Depth" MemberName 90(PS_OUTPUT) 1 "Depth"
Name 92 "psout" Name 92 "psout"
Name 101 "g_sSamp2d" Name 100 "@entryPointOutput"
Name 104 "g_tTex1df4a" Name 103 "g_sSamp2d"
Name 105 "g_tTex1df4" Name 106 "g_tTex1df4a"
Name 108 "g_tTex1di4" Name 107 "g_tTex1df4"
Name 111 "g_tTex1du4" Name 110 "g_tTex1di4"
Name 114 "g_tTex3df4" Name 113 "g_tTex1du4"
Name 117 "g_tTex3di4" Name 116 "g_tTex3df4"
Name 120 "g_tTex3du4" Name 119 "g_tTex3di4"
Name 122 "g_tTex3du4"
Decorate 12(g_tTex2df4) DescriptorSet 0 Decorate 12(g_tTex2df4) DescriptorSet 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0 Decorate 16(g_sSamp) Binding 0
...@@ -258,16 +265,16 @@ gl_FragCoord origin is upper left ...@@ -258,16 +265,16 @@ gl_FragCoord origin is upper left
Decorate 70(g_tTexcdi4) DescriptorSet 0 Decorate 70(g_tTexcdi4) DescriptorSet 0
Decorate 80(g_tTexcdu4) DescriptorSet 0 Decorate 80(g_tTexcdu4) DescriptorSet 0
MemberDecorate 90(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 90(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 101(g_sSamp2d) DescriptorSet 0 Decorate 103(g_sSamp2d) DescriptorSet 0
Decorate 104(g_tTex1df4a) DescriptorSet 0 Decorate 106(g_tTex1df4a) DescriptorSet 0
Decorate 104(g_tTex1df4a) Binding 1 Decorate 106(g_tTex1df4a) Binding 1
Decorate 105(g_tTex1df4) DescriptorSet 0 Decorate 107(g_tTex1df4) DescriptorSet 0
Decorate 105(g_tTex1df4) Binding 0 Decorate 107(g_tTex1df4) Binding 0
Decorate 108(g_tTex1di4) DescriptorSet 0 Decorate 110(g_tTex1di4) DescriptorSet 0
Decorate 111(g_tTex1du4) DescriptorSet 0 Decorate 113(g_tTex1du4) DescriptorSet 0
Decorate 114(g_tTex3df4) DescriptorSet 0 Decorate 116(g_tTex3df4) DescriptorSet 0
Decorate 117(g_tTex3di4) DescriptorSet 0 Decorate 119(g_tTex3di4) DescriptorSet 0
Decorate 120(g_tTex3du4) DescriptorSet 0 Decorate 122(g_tTex3du4) DescriptorSet 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -330,26 +337,28 @@ gl_FragCoord origin is upper left ...@@ -330,26 +337,28 @@ gl_FragCoord origin is upper left
94: 7(fvec4) ConstantComposite 93 93 93 93 94: 7(fvec4) ConstantComposite 93 93 93 93
96: 24(int) Constant 1 96: 24(int) Constant 1
97: TypePointer Function 6(float) 97: TypePointer Function 6(float)
101(g_sSamp2d): 15(ptr) Variable UniformConstant 99: TypePointer Output 90(PS_OUTPUT)
102: TypeImage 6(float) 1D sampled format:Unknown 100(@entryPointOutput): 99(ptr) Variable Output
103: TypePointer UniformConstant 102 103(g_sSamp2d): 15(ptr) Variable UniformConstant
104(g_tTex1df4a): 103(ptr) Variable UniformConstant 104: TypeImage 6(float) 1D sampled format:Unknown
105(g_tTex1df4): 103(ptr) Variable UniformConstant 105: TypePointer UniformConstant 104
106: TypeImage 24(int) 1D sampled format:Unknown 106(g_tTex1df4a): 105(ptr) Variable UniformConstant
107: TypePointer UniformConstant 106 107(g_tTex1df4): 105(ptr) Variable UniformConstant
108(g_tTex1di4): 107(ptr) Variable UniformConstant 108: TypeImage 24(int) 1D sampled format:Unknown
109: TypeImage 41(int) 1D sampled format:Unknown 109: TypePointer UniformConstant 108
110: TypePointer UniformConstant 109 110(g_tTex1di4): 109(ptr) Variable UniformConstant
111(g_tTex1du4): 110(ptr) Variable UniformConstant 111: TypeImage 41(int) 1D sampled format:Unknown
112: TypeImage 6(float) 3D sampled format:Unknown 112: TypePointer UniformConstant 111
113: TypePointer UniformConstant 112 113(g_tTex1du4): 112(ptr) Variable UniformConstant
114(g_tTex3df4): 113(ptr) Variable UniformConstant 114: TypeImage 6(float) 3D sampled format:Unknown
115: TypeImage 24(int) 3D sampled format:Unknown 115: TypePointer UniformConstant 114
116: TypePointer UniformConstant 115 116(g_tTex3df4): 115(ptr) Variable UniformConstant
117(g_tTex3di4): 116(ptr) Variable UniformConstant 117: TypeImage 24(int) 3D sampled format:Unknown
118: TypeImage 41(int) 3D sampled format:Unknown 118: TypePointer UniformConstant 117
119: TypePointer UniformConstant 118 119(g_tTex3di4): 118(ptr) Variable UniformConstant
120(g_tTex3du4): 119(ptr) Variable UniformConstant 120: TypeImage 41(int) 3D sampled format:Unknown
121: TypePointer UniformConstant 120
122(g_tTex3du4): 121(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval20): 8(ptr) Variable Function 9(txval20): 8(ptr) Variable Function
...@@ -393,6 +402,7 @@ gl_FragCoord origin is upper left ...@@ -393,6 +402,7 @@ gl_FragCoord origin is upper left
Store 95 94 Store 95 94
98: 97(ptr) AccessChain 92(psout) 96 98: 97(ptr) AccessChain 92(psout) 96
Store 98 93 Store 98 93
99:90(PS_OUTPUT) Load 92(psout) 101:90(PS_OUTPUT) Load 92(psout)
ReturnValue 99 Store 100(@entryPointOutput) 101
Return
FunctionEnd FunctionEnd
...@@ -77,8 +77,11 @@ Shader version: 450 ...@@ -77,8 +77,11 @@ Shader version: 450
0:? 0.000000 0:? 0.000000
0:? 0.000000 0:? 0.000000
0:? 0.000000 0:? 0.000000
0:45 Branch: Return with expression 0:45 Sequence
0:45 move second child to first child (temp structure{temp 4-component vector of float FragCoord Pos})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float FragCoord Pos})
0:45 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos}) 0:45 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos})
0:45 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler) 0:? 'g_sSamp2d' (uniform sampler)
...@@ -178,8 +181,11 @@ Shader version: 450 ...@@ -178,8 +181,11 @@ Shader version: 450
0:? 0.000000 0:? 0.000000
0:? 0.000000 0:? 0.000000
0:? 0.000000 0:? 0.000000
0:45 Branch: Return with expression 0:45 Sequence
0:45 move second child to first child (temp structure{temp 4-component vector of float FragCoord Pos})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float FragCoord Pos})
0:45 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos}) 0:45 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos})
0:45 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler) 0:? 'g_sSamp2d' (uniform sampler)
...@@ -199,13 +205,13 @@ Shader version: 450 ...@@ -199,13 +205,13 @@ Shader version: 450
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 118 // Id's are bound by 120
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" EntryPoint Vertex 4 "main" 97
Name 4 "main" Name 4 "main"
Name 9 "txval20" Name 9 "txval20"
Name 12 "g_tTex2df4" Name 12 "g_tTex2df4"
...@@ -223,14 +229,15 @@ Shader version: 450 ...@@ -223,14 +229,15 @@ Shader version: 450
Name 90 "VS_OUTPUT" Name 90 "VS_OUTPUT"
MemberName 90(VS_OUTPUT) 0 "Pos" MemberName 90(VS_OUTPUT) 0 "Pos"
Name 92 "vsout" Name 92 "vsout"
Name 98 "g_sSamp2d" Name 97 "@entryPointOutput"
Name 101 "g_tTex1df4a" Name 100 "g_sSamp2d"
Name 102 "g_tTex1df4" Name 103 "g_tTex1df4a"
Name 105 "g_tTex1di4" Name 104 "g_tTex1df4"
Name 108 "g_tTex1du4" Name 107 "g_tTex1di4"
Name 111 "g_tTex3df4" Name 110 "g_tTex1du4"
Name 114 "g_tTex3di4" Name 113 "g_tTex3df4"
Name 117 "g_tTex3du4" Name 116 "g_tTex3di4"
Name 119 "g_tTex3du4"
Decorate 12(g_tTex2df4) DescriptorSet 0 Decorate 12(g_tTex2df4) DescriptorSet 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0 Decorate 16(g_sSamp) Binding 0
...@@ -240,16 +247,16 @@ Shader version: 450 ...@@ -240,16 +247,16 @@ Shader version: 450
Decorate 70(g_tTexcdi4) DescriptorSet 0 Decorate 70(g_tTexcdi4) DescriptorSet 0
Decorate 80(g_tTexcdu4) DescriptorSet 0 Decorate 80(g_tTexcdu4) DescriptorSet 0
MemberDecorate 90(VS_OUTPUT) 0 BuiltIn FragCoord MemberDecorate 90(VS_OUTPUT) 0 BuiltIn FragCoord
Decorate 98(g_sSamp2d) DescriptorSet 0 Decorate 100(g_sSamp2d) DescriptorSet 0
Decorate 101(g_tTex1df4a) DescriptorSet 0 Decorate 103(g_tTex1df4a) DescriptorSet 0
Decorate 101(g_tTex1df4a) Binding 1 Decorate 103(g_tTex1df4a) Binding 1
Decorate 102(g_tTex1df4) DescriptorSet 0 Decorate 104(g_tTex1df4) DescriptorSet 0
Decorate 102(g_tTex1df4) Binding 0 Decorate 104(g_tTex1df4) Binding 0
Decorate 105(g_tTex1di4) DescriptorSet 0 Decorate 107(g_tTex1di4) DescriptorSet 0
Decorate 108(g_tTex1du4) DescriptorSet 0 Decorate 110(g_tTex1du4) DescriptorSet 0
Decorate 111(g_tTex3df4) DescriptorSet 0 Decorate 113(g_tTex3df4) DescriptorSet 0
Decorate 114(g_tTex3di4) DescriptorSet 0 Decorate 116(g_tTex3di4) DescriptorSet 0
Decorate 117(g_tTex3du4) DescriptorSet 0 Decorate 119(g_tTex3du4) DescriptorSet 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -310,26 +317,28 @@ Shader version: 450 ...@@ -310,26 +317,28 @@ Shader version: 450
91: TypePointer Function 90(VS_OUTPUT) 91: TypePointer Function 90(VS_OUTPUT)
93: 6(float) Constant 0 93: 6(float) Constant 0
94: 7(fvec4) ConstantComposite 93 93 93 93 94: 7(fvec4) ConstantComposite 93 93 93 93
98(g_sSamp2d): 15(ptr) Variable UniformConstant 96: TypePointer Output 90(VS_OUTPUT)
99: TypeImage 6(float) 1D sampled format:Unknown 97(@entryPointOutput): 96(ptr) Variable Output
100: TypePointer UniformConstant 99 100(g_sSamp2d): 15(ptr) Variable UniformConstant
101(g_tTex1df4a): 100(ptr) Variable UniformConstant 101: TypeImage 6(float) 1D sampled format:Unknown
102(g_tTex1df4): 100(ptr) Variable UniformConstant 102: TypePointer UniformConstant 101
103: TypeImage 24(int) 1D sampled format:Unknown 103(g_tTex1df4a): 102(ptr) Variable UniformConstant
104: TypePointer UniformConstant 103 104(g_tTex1df4): 102(ptr) Variable UniformConstant
105(g_tTex1di4): 104(ptr) Variable UniformConstant 105: TypeImage 24(int) 1D sampled format:Unknown
106: TypeImage 41(int) 1D sampled format:Unknown 106: TypePointer UniformConstant 105
107: TypePointer UniformConstant 106 107(g_tTex1di4): 106(ptr) Variable UniformConstant
108(g_tTex1du4): 107(ptr) Variable UniformConstant 108: TypeImage 41(int) 1D sampled format:Unknown
109: TypeImage 6(float) 3D sampled format:Unknown 109: TypePointer UniformConstant 108
110: TypePointer UniformConstant 109 110(g_tTex1du4): 109(ptr) Variable UniformConstant
111(g_tTex3df4): 110(ptr) Variable UniformConstant 111: TypeImage 6(float) 3D sampled format:Unknown
112: TypeImage 24(int) 3D sampled format:Unknown 112: TypePointer UniformConstant 111
113: TypePointer UniformConstant 112 113(g_tTex3df4): 112(ptr) Variable UniformConstant
114(g_tTex3di4): 113(ptr) Variable UniformConstant 114: TypeImage 24(int) 3D sampled format:Unknown
115: TypeImage 41(int) 3D sampled format:Unknown 115: TypePointer UniformConstant 114
116: TypePointer UniformConstant 115 116(g_tTex3di4): 115(ptr) Variable UniformConstant
117(g_tTex3du4): 116(ptr) Variable UniformConstant 117: TypeImage 41(int) 3D sampled format:Unknown
118: TypePointer UniformConstant 117
119(g_tTex3du4): 118(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval20): 8(ptr) Variable Function 9(txval20): 8(ptr) Variable Function
...@@ -371,6 +380,7 @@ Shader version: 450 ...@@ -371,6 +380,7 @@ Shader version: 450
Store 77(txval42) 89 Store 77(txval42) 89
95: 8(ptr) AccessChain 92(vsout) 25 95: 8(ptr) AccessChain 92(vsout) 25
Store 95 94 Store 95 94
96:90(VS_OUTPUT) Load 92(vsout) 98:90(VS_OUTPUT) Load 92(vsout)
ReturnValue 96 Store 97(@entryPointOutput) 98
Return
FunctionEnd FunctionEnd
...@@ -64,8 +64,11 @@ gl_FragCoord origin is upper left ...@@ -64,8 +64,11 @@ gl_FragCoord origin is upper left
0:33 1 (const int) 0:33 1 (const int)
0:33 Constant: 0:33 Constant:
0:33 1.000000 0:33 1.000000
0:35 Branch: Return with expression 0:35 Sequence
0:35 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:35 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:35 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:35 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -145,8 +148,11 @@ gl_FragCoord origin is upper left ...@@ -145,8 +148,11 @@ gl_FragCoord origin is upper left
0:33 1 (const int) 0:33 1 (const int)
0:33 Constant: 0:33 Constant:
0:33 1.000000 0:33 1.000000
0:35 Branch: Return with expression 0:35 Sequence
0:35 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:35 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:35 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:35 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -159,13 +165,13 @@ gl_FragCoord origin is upper left ...@@ -159,13 +165,13 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 83 // Id's are bound by 85
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 72
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "txval20" Name 9 "txval20"
...@@ -179,22 +185,23 @@ gl_FragCoord origin is upper left ...@@ -179,22 +185,23 @@ gl_FragCoord origin is upper left
MemberName 63(PS_OUTPUT) 0 "Color" MemberName 63(PS_OUTPUT) 0 "Color"
MemberName 63(PS_OUTPUT) 1 "Depth" MemberName 63(PS_OUTPUT) 1 "Depth"
Name 65 "psout" Name 65 "psout"
Name 75 "g_tTex1df4a" Name 72 "@entryPointOutput"
Name 76 "g_tTex1df4" Name 77 "g_tTex1df4a"
Name 79 "g_tTex1di4" Name 78 "g_tTex1df4"
Name 82 "g_tTex1du4" Name 81 "g_tTex1di4"
Name 84 "g_tTex1du4"
Decorate 12(g_tTex2df4) DescriptorSet 0 Decorate 12(g_tTex2df4) DescriptorSet 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0 Decorate 16(g_sSamp) Binding 0
Decorate 36(g_tTex2di4) DescriptorSet 0 Decorate 36(g_tTex2di4) DescriptorSet 0
Decorate 51(g_tTex2du4) DescriptorSet 0 Decorate 51(g_tTex2du4) DescriptorSet 0
MemberDecorate 63(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 63(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 75(g_tTex1df4a) DescriptorSet 0 Decorate 77(g_tTex1df4a) DescriptorSet 0
Decorate 75(g_tTex1df4a) Binding 1 Decorate 77(g_tTex1df4a) Binding 1
Decorate 76(g_tTex1df4) DescriptorSet 0 Decorate 78(g_tTex1df4) DescriptorSet 0
Decorate 76(g_tTex1df4) Binding 0 Decorate 78(g_tTex1df4) Binding 0
Decorate 79(g_tTex1di4) DescriptorSet 0 Decorate 81(g_tTex1di4) DescriptorSet 0
Decorate 82(g_tTex1du4) DescriptorSet 0 Decorate 84(g_tTex1du4) DescriptorSet 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -244,16 +251,18 @@ gl_FragCoord origin is upper left ...@@ -244,16 +251,18 @@ gl_FragCoord origin is upper left
66: 6(float) Constant 1065353216 66: 6(float) Constant 1065353216
67: 7(fvec4) ConstantComposite 66 66 66 66 67: 7(fvec4) ConstantComposite 66 66 66 66
69: TypePointer Function 6(float) 69: TypePointer Function 6(float)
73: TypeImage 6(float) 1D array sampled format:Unknown 71: TypePointer Output 63(PS_OUTPUT)
74: TypePointer UniformConstant 73 72(@entryPointOutput): 71(ptr) Variable Output
75(g_tTex1df4a): 74(ptr) Variable UniformConstant 75: TypeImage 6(float) 1D array sampled format:Unknown
76(g_tTex1df4): 74(ptr) Variable UniformConstant 76: TypePointer UniformConstant 75
77: TypeImage 25(int) 1D array sampled format:Unknown 77(g_tTex1df4a): 76(ptr) Variable UniformConstant
78: TypePointer UniformConstant 77 78(g_tTex1df4): 76(ptr) Variable UniformConstant
79(g_tTex1di4): 78(ptr) Variable UniformConstant 79: TypeImage 25(int) 1D array sampled format:Unknown
80: TypeImage 45(int) 1D array sampled format:Unknown 80: TypePointer UniformConstant 79
81: TypePointer UniformConstant 80 81(g_tTex1di4): 80(ptr) Variable UniformConstant
82(g_tTex1du4): 81(ptr) Variable UniformConstant 82: TypeImage 45(int) 1D array sampled format:Unknown
83: TypePointer UniformConstant 82
84(g_tTex1du4): 83(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval20): 8(ptr) Variable Function 9(txval20): 8(ptr) Variable Function
...@@ -279,6 +288,7 @@ gl_FragCoord origin is upper left ...@@ -279,6 +288,7 @@ gl_FragCoord origin is upper left
Store 68 67 Store 68 67
70: 69(ptr) AccessChain 65(psout) 27 70: 69(ptr) AccessChain 65(psout) 27
Store 70 66 Store 70 66
71:63(PS_OUTPUT) Load 65(psout) 73:63(PS_OUTPUT) Load 65(psout)
ReturnValue 71 Store 72(@entryPointOutput) 73
Return
FunctionEnd FunctionEnd
...@@ -262,8 +262,11 @@ gl_FragCoord origin is upper left ...@@ -262,8 +262,11 @@ gl_FragCoord origin is upper left
0:68 1 (const int) 0:68 1 (const int)
0:68 Constant: 0:68 Constant:
0:68 1.000000 0:68 1.000000
0:70 Branch: Return with expression 0:70 Sequence
0:70 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:70 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler) 0:? 'g_sSamp2d' (uniform sampler)
...@@ -548,8 +551,11 @@ gl_FragCoord origin is upper left ...@@ -548,8 +551,11 @@ gl_FragCoord origin is upper left
0:68 1 (const int) 0:68 1 (const int)
0:68 Constant: 0:68 Constant:
0:68 1.000000 0:68 1.000000
0:70 Branch: Return with expression 0:70 Sequence
0:70 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:70 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler) 0:? 'g_sSamp2d' (uniform sampler)
...@@ -569,14 +575,14 @@ gl_FragCoord origin is upper left ...@@ -569,14 +575,14 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 220 // Id's are bound by 222
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
Capability SampledCubeArray Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 204
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "txval00" Name 9 "txval00"
...@@ -616,12 +622,13 @@ gl_FragCoord origin is upper left ...@@ -616,12 +622,13 @@ gl_FragCoord origin is upper left
MemberName 195(PS_OUTPUT) 0 "Color" MemberName 195(PS_OUTPUT) 0 "Color"
MemberName 195(PS_OUTPUT) 1 "Depth" MemberName 195(PS_OUTPUT) 1 "Depth"
Name 197 "psout" Name 197 "psout"
Name 205 "g_sSamp2d" Name 204 "@entryPointOutput"
Name 208 "g_tTex1df4a" Name 207 "g_sSamp2d"
Name 211 "g_tTex1di4a" Name 210 "g_tTex1df4a"
Name 214 "g_tTex1du4a" Name 213 "g_tTex1di4a"
Name 216 "c1" Name 216 "g_tTex1du4a"
Name 219 "c2" Name 218 "c1"
Name 221 "c2"
Decorate 12(g_tTex2df4a) DescriptorSet 0 Decorate 12(g_tTex2df4a) DescriptorSet 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0 Decorate 16(g_sSamp) Binding 0
...@@ -631,11 +638,11 @@ gl_FragCoord origin is upper left ...@@ -631,11 +638,11 @@ gl_FragCoord origin is upper left
Decorate 124(g_tTexcdi4a) DescriptorSet 0 Decorate 124(g_tTexcdi4a) DescriptorSet 0
Decorate 134(g_tTexcdu4a) DescriptorSet 0 Decorate 134(g_tTexcdu4a) DescriptorSet 0
MemberDecorate 195(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 195(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 205(g_sSamp2d) DescriptorSet 0 Decorate 207(g_sSamp2d) DescriptorSet 0
Decorate 208(g_tTex1df4a) DescriptorSet 0 Decorate 210(g_tTex1df4a) DescriptorSet 0
Decorate 208(g_tTex1df4a) Binding 0 Decorate 210(g_tTex1df4a) Binding 0
Decorate 211(g_tTex1di4a) DescriptorSet 0 Decorate 213(g_tTex1di4a) DescriptorSet 0
Decorate 214(g_tTex1du4a) DescriptorSet 0 Decorate 216(g_tTex1du4a) DescriptorSet 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -688,21 +695,23 @@ gl_FragCoord origin is upper left ...@@ -688,21 +695,23 @@ gl_FragCoord origin is upper left
198: 6(float) Constant 1065353216 198: 6(float) Constant 1065353216
199: 7(fvec4) ConstantComposite 198 198 198 198 199: 7(fvec4) ConstantComposite 198 198 198 198
201: TypePointer Function 6(float) 201: TypePointer Function 6(float)
205(g_sSamp2d): 15(ptr) Variable UniformConstant 203: TypePointer Output 195(PS_OUTPUT)
206: TypeImage 6(float) 1D array sampled format:Unknown 204(@entryPointOutput): 203(ptr) Variable Output
207: TypePointer UniformConstant 206 207(g_sSamp2d): 15(ptr) Variable UniformConstant
208(g_tTex1df4a): 207(ptr) Variable UniformConstant 208: TypeImage 6(float) 1D array sampled format:Unknown
209: TypeImage 24(int) 1D array sampled format:Unknown 209: TypePointer UniformConstant 208
210: TypePointer UniformConstant 209 210(g_tTex1df4a): 209(ptr) Variable UniformConstant
211(g_tTex1di4a): 210(ptr) Variable UniformConstant 211: TypeImage 24(int) 1D array sampled format:Unknown
212: TypeImage 39(int) 1D array sampled format:Unknown 212: TypePointer UniformConstant 211
213: TypePointer UniformConstant 212 213(g_tTex1di4a): 212(ptr) Variable UniformConstant
214(g_tTex1du4a): 213(ptr) Variable UniformConstant 214: TypeImage 39(int) 1D array sampled format:Unknown
215: TypePointer UniformConstant 6(float) 215: TypePointer UniformConstant 214
216(c1): 215(ptr) Variable UniformConstant 216(g_tTex1du4a): 215(ptr) Variable UniformConstant
217: TypeVector 6(float) 2 217: TypePointer UniformConstant 6(float)
218: TypePointer UniformConstant 217(fvec2) 218(c1): 217(ptr) Variable UniformConstant
219(c2): 218(ptr) Variable UniformConstant 219: TypeVector 6(float) 2
220: TypePointer UniformConstant 219(fvec2)
221(c2): 220(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval00): 8(ptr) Variable Function 9(txval00): 8(ptr) Variable Function
...@@ -878,6 +887,7 @@ gl_FragCoord origin is upper left ...@@ -878,6 +887,7 @@ gl_FragCoord origin is upper left
Store 200 199 Store 200 199
202: 201(ptr) AccessChain 197(psout) 57 202: 201(ptr) AccessChain 197(psout) 57
Store 202 198 Store 202 198
203:195(PS_OUTPUT) Load 197(psout) 205:195(PS_OUTPUT) Load 197(psout)
ReturnValue 203 Store 204(@entryPointOutput) 205
Return
FunctionEnd FunctionEnd
...@@ -262,8 +262,11 @@ gl_FragCoord origin is upper left ...@@ -262,8 +262,11 @@ gl_FragCoord origin is upper left
0:74 1 (const int) 0:74 1 (const int)
0:74 Constant: 0:74 Constant:
0:74 1.000000 0:74 1.000000
0:76 Branch: Return with expression 0:76 Sequence
0:76 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:76 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:76 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:76 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler) 0:? 'g_sSamp2d' (uniform sampler)
...@@ -552,8 +555,11 @@ gl_FragCoord origin is upper left ...@@ -552,8 +555,11 @@ gl_FragCoord origin is upper left
0:74 1 (const int) 0:74 1 (const int)
0:74 Constant: 0:74 Constant:
0:74 1.000000 0:74 1.000000
0:76 Branch: Return with expression 0:76 Sequence
0:76 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:76 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:76 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:76 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler) 0:? 'g_sSamp2d' (uniform sampler)
...@@ -577,13 +583,13 @@ gl_FragCoord origin is upper left ...@@ -577,13 +583,13 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 230 // Id's are bound by 232
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 205
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "txval00" Name 9 "txval00"
...@@ -623,16 +629,17 @@ gl_FragCoord origin is upper left ...@@ -623,16 +629,17 @@ gl_FragCoord origin is upper left
MemberName 196(PS_OUTPUT) 0 "Color" MemberName 196(PS_OUTPUT) 0 "Color"
MemberName 196(PS_OUTPUT) 1 "Depth" MemberName 196(PS_OUTPUT) 1 "Depth"
Name 198 "psout" Name 198 "psout"
Name 206 "g_sSamp2d" Name 205 "@entryPointOutput"
Name 209 "g_tTex1df4a" Name 208 "g_sSamp2d"
Name 210 "g_tTex1df4" Name 211 "g_tTex1df4a"
Name 213 "g_tTex1di4" Name 212 "g_tTex1df4"
Name 216 "g_tTex1du4" Name 215 "g_tTex1di4"
Name 219 "g_tTex3df4" Name 218 "g_tTex1du4"
Name 222 "g_tTex3di4" Name 221 "g_tTex3df4"
Name 225 "g_tTex3du4" Name 224 "g_tTex3di4"
Name 227 "c1" Name 227 "g_tTex3du4"
Name 229 "c4" Name 229 "c1"
Name 231 "c4"
Decorate 12(g_tTex2df4) DescriptorSet 0 Decorate 12(g_tTex2df4) DescriptorSet 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0 Decorate 16(g_sSamp) Binding 0
...@@ -642,16 +649,16 @@ gl_FragCoord origin is upper left ...@@ -642,16 +649,16 @@ gl_FragCoord origin is upper left
Decorate 125(g_tTexcdi4) DescriptorSet 0 Decorate 125(g_tTexcdi4) DescriptorSet 0
Decorate 135(g_tTexcdu4) DescriptorSet 0 Decorate 135(g_tTexcdu4) DescriptorSet 0
MemberDecorate 196(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 196(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 206(g_sSamp2d) DescriptorSet 0 Decorate 208(g_sSamp2d) DescriptorSet 0
Decorate 209(g_tTex1df4a) DescriptorSet 0 Decorate 211(g_tTex1df4a) DescriptorSet 0
Decorate 209(g_tTex1df4a) Binding 1 Decorate 211(g_tTex1df4a) Binding 1
Decorate 210(g_tTex1df4) DescriptorSet 0 Decorate 212(g_tTex1df4) DescriptorSet 0
Decorate 210(g_tTex1df4) Binding 0 Decorate 212(g_tTex1df4) Binding 0
Decorate 213(g_tTex1di4) DescriptorSet 0 Decorate 215(g_tTex1di4) DescriptorSet 0
Decorate 216(g_tTex1du4) DescriptorSet 0 Decorate 218(g_tTex1du4) DescriptorSet 0
Decorate 219(g_tTex3df4) DescriptorSet 0 Decorate 221(g_tTex3df4) DescriptorSet 0
Decorate 222(g_tTex3di4) DescriptorSet 0 Decorate 224(g_tTex3di4) DescriptorSet 0
Decorate 225(g_tTex3du4) DescriptorSet 0 Decorate 227(g_tTex3du4) DescriptorSet 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -705,30 +712,32 @@ gl_FragCoord origin is upper left ...@@ -705,30 +712,32 @@ gl_FragCoord origin is upper left
199: 6(float) Constant 1065353216 199: 6(float) Constant 1065353216
200: 7(fvec4) ConstantComposite 199 199 199 199 200: 7(fvec4) ConstantComposite 199 199 199 199
202: TypePointer Function 6(float) 202: TypePointer Function 6(float)
206(g_sSamp2d): 15(ptr) Variable UniformConstant 204: TypePointer Output 196(PS_OUTPUT)
207: TypeImage 6(float) 1D sampled format:Unknown 205(@entryPointOutput): 204(ptr) Variable Output
208: TypePointer UniformConstant 207 208(g_sSamp2d): 15(ptr) Variable UniformConstant
209(g_tTex1df4a): 208(ptr) Variable UniformConstant 209: TypeImage 6(float) 1D sampled format:Unknown
210(g_tTex1df4): 208(ptr) Variable UniformConstant 210: TypePointer UniformConstant 209
211: TypeImage 24(int) 1D sampled format:Unknown 211(g_tTex1df4a): 210(ptr) Variable UniformConstant
212: TypePointer UniformConstant 211 212(g_tTex1df4): 210(ptr) Variable UniformConstant
213(g_tTex1di4): 212(ptr) Variable UniformConstant 213: TypeImage 24(int) 1D sampled format:Unknown
214: TypeImage 39(int) 1D sampled format:Unknown 214: TypePointer UniformConstant 213
215: TypePointer UniformConstant 214 215(g_tTex1di4): 214(ptr) Variable UniformConstant
216(g_tTex1du4): 215(ptr) Variable UniformConstant 216: TypeImage 39(int) 1D sampled format:Unknown
217: TypeImage 6(float) 3D sampled format:Unknown 217: TypePointer UniformConstant 216
218: TypePointer UniformConstant 217 218(g_tTex1du4): 217(ptr) Variable UniformConstant
219(g_tTex3df4): 218(ptr) Variable UniformConstant 219: TypeImage 6(float) 3D sampled format:Unknown
220: TypeImage 24(int) 3D sampled format:Unknown 220: TypePointer UniformConstant 219
221: TypePointer UniformConstant 220 221(g_tTex3df4): 220(ptr) Variable UniformConstant
222(g_tTex3di4): 221(ptr) Variable UniformConstant 222: TypeImage 24(int) 3D sampled format:Unknown
223: TypeImage 39(int) 3D sampled format:Unknown 223: TypePointer UniformConstant 222
224: TypePointer UniformConstant 223 224(g_tTex3di4): 223(ptr) Variable UniformConstant
225(g_tTex3du4): 224(ptr) Variable UniformConstant 225: TypeImage 39(int) 3D sampled format:Unknown
226: TypePointer UniformConstant 6(float) 226: TypePointer UniformConstant 225
227(c1): 226(ptr) Variable UniformConstant 227(g_tTex3du4): 226(ptr) Variable UniformConstant
228: TypePointer UniformConstant 7(fvec4) 228: TypePointer UniformConstant 6(float)
229(c4): 228(ptr) Variable UniformConstant 229(c1): 228(ptr) Variable UniformConstant
230: TypePointer UniformConstant 7(fvec4)
231(c4): 230(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval00): 8(ptr) Variable Function 9(txval00): 8(ptr) Variable Function
...@@ -904,6 +913,7 @@ gl_FragCoord origin is upper left ...@@ -904,6 +913,7 @@ gl_FragCoord origin is upper left
Store 201 200 Store 201 200
203: 202(ptr) AccessChain 198(psout) 57 203: 202(ptr) AccessChain 198(psout) 57
Store 203 199 Store 203 199
204:196(PS_OUTPUT) Load 198(psout) 206:196(PS_OUTPUT) Load 198(psout)
ReturnValue 204 Store 205(@entryPointOutput) 206
Return
FunctionEnd FunctionEnd
...@@ -1060,8 +1060,11 @@ gl_FragCoord origin is upper left ...@@ -1060,8 +1060,11 @@ gl_FragCoord origin is upper left
0:277 1 (const int) 0:277 1 (const int)
0:277 Constant: 0:277 Constant:
0:277 1.000000 0:277 1.000000
0:279 Branch: Return with expression 0:279 Sequence
0:279 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:279 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:279 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:279 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D) 0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
...@@ -2157,8 +2160,11 @@ gl_FragCoord origin is upper left ...@@ -2157,8 +2160,11 @@ gl_FragCoord origin is upper left
0:277 1 (const int) 0:277 1 (const int)
0:277 Constant: 0:277 Constant:
0:277 1.000000 0:277 1.000000
0:279 Branch: Return with expression 0:279 Sequence
0:279 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:279 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:279 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:279 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D) 0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
...@@ -2191,7 +2197,7 @@ gl_FragCoord origin is upper left ...@@ -2191,7 +2197,7 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 538 // Id's are bound by 540
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
...@@ -2200,7 +2206,7 @@ gl_FragCoord origin is upper left ...@@ -2200,7 +2206,7 @@ gl_FragCoord origin is upper left
Capability ImageQuery Capability ImageQuery
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 534
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 8 "sizeQueryTemp" Name 8 "sizeQueryTemp"
...@@ -2288,7 +2294,8 @@ gl_FragCoord origin is upper left ...@@ -2288,7 +2294,8 @@ gl_FragCoord origin is upper left
MemberName 522(PS_OUTPUT) 0 "Color" MemberName 522(PS_OUTPUT) 0 "Color"
MemberName 522(PS_OUTPUT) 1 "Depth" MemberName 522(PS_OUTPUT) 1 "Depth"
Name 524 "psout" Name 524 "psout"
Name 537 "g_sSamp" Name 534 "@entryPointOutput"
Name 539 "g_sSamp"
Decorate 12(g_tTex1df4) DescriptorSet 0 Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0 Decorate 12(g_tTex1df4) Binding 0
Decorate 29(g_tTex1di4) DescriptorSet 0 Decorate 29(g_tTex1di4) DescriptorSet 0
...@@ -2318,8 +2325,8 @@ gl_FragCoord origin is upper left ...@@ -2318,8 +2325,8 @@ gl_FragCoord origin is upper left
Decorate 496(g_tTex2dmsi4a) DescriptorSet 0 Decorate 496(g_tTex2dmsi4a) DescriptorSet 0
Decorate 510(g_tTex2dmsu4a) DescriptorSet 0 Decorate 510(g_tTex2dmsu4a) DescriptorSet 0
MemberDecorate 522(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 522(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 537(g_sSamp) DescriptorSet 0 Decorate 539(g_sSamp) DescriptorSet 0
Decorate 537(g_sSamp) Binding 0 Decorate 539(g_sSamp) Binding 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeInt 32 0 6: TypeInt 32 0
...@@ -2426,9 +2433,11 @@ gl_FragCoord origin is upper left ...@@ -2426,9 +2433,11 @@ gl_FragCoord origin is upper left
528: TypePointer Function 521(fvec4) 528: TypePointer Function 521(fvec4)
530: 14(int) Constant 1 530: 14(int) Constant 1
531: TypePointer Function 9(float) 531: TypePointer Function 9(float)
535: TypeSampler 533: TypePointer Output 522(PS_OUTPUT)
536: TypePointer UniformConstant 535 534(@entryPointOutput): 533(ptr) Variable Output
537(g_sSamp): 536(ptr) Variable UniformConstant 537: TypeSampler
538: TypePointer UniformConstant 537
539(g_sSamp): 538(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
8(sizeQueryTemp): 7(ptr) Variable Function 8(sizeQueryTemp): 7(ptr) Variable Function
...@@ -3042,6 +3051,7 @@ gl_FragCoord origin is upper left ...@@ -3042,6 +3051,7 @@ gl_FragCoord origin is upper left
Store 529 527 Store 529 527
532: 531(ptr) AccessChain 524(psout) 530 532: 531(ptr) AccessChain 524(psout) 530
Store 532 526 Store 532 526
533:522(PS_OUTPUT) Load 524(psout) 535:522(PS_OUTPUT) Load 524(psout)
ReturnValue 533 Store 534(@entryPointOutput) 535
Return
FunctionEnd FunctionEnd
...@@ -36,8 +36,11 @@ Shader version: 450 ...@@ -36,8 +36,11 @@ Shader version: 450
0:? 0.000000 0:? 0.000000
0:? 0.000000 0:? 0.000000
0:? 0.000000 0:? 0.000000
0:26 Branch: Return with expression 0:26 Sequence
0:26 move second child to first child (temp structure{temp 4-component vector of float FragCoord Pos})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float FragCoord Pos})
0:26 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos}) 0:26 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos})
0:26 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D) 0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
...@@ -83,22 +86,25 @@ Shader version: 450 ...@@ -83,22 +86,25 @@ Shader version: 450
0:? 0.000000 0:? 0.000000
0:? 0.000000 0:? 0.000000
0:? 0.000000 0:? 0.000000
0:26 Branch: Return with expression 0:26 Sequence
0:26 move second child to first child (temp structure{temp 4-component vector of float FragCoord Pos})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float FragCoord Pos})
0:26 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos}) 0:26 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos})
0:26 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D) 0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 40 // Id's are bound by 42
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
Capability ImageQuery Capability ImageQuery
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" EntryPoint Vertex 4 "main" 36
Name 4 "main" Name 4 "main"
Name 8 "sizeQueryTemp" Name 8 "sizeQueryTemp"
Name 12 "g_tTex1df4" Name 12 "g_tTex1df4"
...@@ -108,12 +114,13 @@ Shader version: 450 ...@@ -108,12 +114,13 @@ Shader version: 450
Name 27 "VS_OUTPUT" Name 27 "VS_OUTPUT"
MemberName 27(VS_OUTPUT) 0 "Pos" MemberName 27(VS_OUTPUT) 0 "Pos"
Name 29 "vsout" Name 29 "vsout"
Name 39 "g_sSamp" Name 36 "@entryPointOutput"
Name 41 "g_sSamp"
Decorate 12(g_tTex1df4) DescriptorSet 0 Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0 Decorate 12(g_tTex1df4) Binding 0
MemberDecorate 27(VS_OUTPUT) 0 BuiltIn FragCoord MemberDecorate 27(VS_OUTPUT) 0 BuiltIn FragCoord
Decorate 39(g_sSamp) DescriptorSet 0 Decorate 41(g_sSamp) DescriptorSet 0
Decorate 39(g_sSamp) Binding 0 Decorate 41(g_sSamp) Binding 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeInt 32 0 6: TypeInt 32 0
...@@ -131,9 +138,11 @@ Shader version: 450 ...@@ -131,9 +138,11 @@ Shader version: 450
31: 9(float) Constant 0 31: 9(float) Constant 0
32: 26(fvec4) ConstantComposite 31 31 31 31 32: 26(fvec4) ConstantComposite 31 31 31 31
33: TypePointer Function 26(fvec4) 33: TypePointer Function 26(fvec4)
37: TypeSampler 35: TypePointer Output 27(VS_OUTPUT)
38: TypePointer UniformConstant 37 36(@entryPointOutput): 35(ptr) Variable Output
39(g_sSamp): 38(ptr) Variable UniformConstant 39: TypeSampler
40: TypePointer UniformConstant 39
41(g_sSamp): 40(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
8(sizeQueryTemp): 7(ptr) Variable Function 8(sizeQueryTemp): 7(ptr) Variable Function
...@@ -156,6 +165,7 @@ Shader version: 450 ...@@ -156,6 +165,7 @@ Shader version: 450
Store 23(NumberOfLevelsU) 25 Store 23(NumberOfLevelsU) 25
34: 33(ptr) AccessChain 29(vsout) 30 34: 33(ptr) AccessChain 29(vsout) 30
Store 34 32 Store 34 32
35:27(VS_OUTPUT) Load 29(vsout) 37:27(VS_OUTPUT) Load 29(vsout)
ReturnValue 35 Store 36(@entryPointOutput) 37
Return
FunctionEnd FunctionEnd
...@@ -43,8 +43,11 @@ ERROR: node is still EOpNull! ...@@ -43,8 +43,11 @@ ERROR: node is still EOpNull!
0:20 1 (const int) 0:20 1 (const int)
0:20 Constant: 0:20 Constant:
0:20 1.000000 0:20 1.000000
0:22 Branch: Return with expression 0:22 Sequence
0:22 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:22 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:22 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:22 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex2dmsf4' (uniform texture2DMS) 0:? 'g_tTex2dmsf4' (uniform texture2DMS)
...@@ -93,8 +96,11 @@ ERROR: node is still EOpNull! ...@@ -93,8 +96,11 @@ ERROR: node is still EOpNull!
0:20 1 (const int) 0:20 1 (const int)
0:20 Constant: 0:20 Constant:
0:20 1.000000 0:20 1.000000
0:22 Branch: Return with expression 0:22 Sequence
0:22 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:22 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:22 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:22 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex2dmsf4' (uniform texture2DMS) 0:? 'g_tTex2dmsf4' (uniform texture2DMS)
......
...@@ -124,10 +124,13 @@ gl_FragCoord origin is upper left ...@@ -124,10 +124,13 @@ gl_FragCoord origin is upper left
0:33 move second child to first child (temp float) 0:33 move second child to first child (temp float)
0:33 'a9' (temp float) 0:33 'a9' (temp float)
0:33 'a5' (global float) 0:33 'a5' (global float)
0:35 Branch: Return with expression 0:35 Sequence
0:35 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:35 component-wise multiply (temp 4-component vector of float) 0:35 component-wise multiply (temp 4-component vector of float)
0:35 'input' (in 4-component vector of float) 0:35 'input' (in 4-component vector of float)
0:35 'a1' (global 4-component vector of float) 0:35 'a1' (global 4-component vector of float)
0:35 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'a1' (global 4-component vector of float) 0:? 'a1' (global 4-component vector of float)
0:? 'b1' (global 4-component vector of float) 0:? 'b1' (global 4-component vector of float)
...@@ -277,10 +280,13 @@ gl_FragCoord origin is upper left ...@@ -277,10 +280,13 @@ gl_FragCoord origin is upper left
0:33 move second child to first child (temp float) 0:33 move second child to first child (temp float)
0:33 'a9' (temp float) 0:33 'a9' (temp float)
0:33 'a5' (global float) 0:33 'a5' (global float)
0:35 Branch: Return with expression 0:35 Sequence
0:35 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:35 component-wise multiply (temp 4-component vector of float) 0:35 component-wise multiply (temp 4-component vector of float)
0:35 'input' (in 4-component vector of float) 0:35 'input' (in 4-component vector of float)
0:35 'a1' (global 4-component vector of float) 0:35 'a1' (global 4-component vector of float)
0:35 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'a1' (global 4-component vector of float) 0:? 'a1' (global 4-component vector of float)
0:? 'b1' (global 4-component vector of float) 0:? 'b1' (global 4-component vector of float)
...@@ -303,12 +309,12 @@ gl_FragCoord origin is upper left ...@@ -303,12 +309,12 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 95 // Id's are bound by 97
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "ShaderFunction" 88 EntryPoint Fragment 4 "ShaderFunction" 88 90
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "ShaderFunction" Name 4 "ShaderFunction"
Name 9 "a1" Name 9 "a1"
...@@ -347,9 +353,10 @@ gl_FragCoord origin is upper left ...@@ -347,9 +353,10 @@ gl_FragCoord origin is upper left
Name 82 "a8" Name 82 "a8"
Name 83 "b2" Name 83 "b2"
Name 85 "a9" Name 85 "a9"
Name 88 "input" Name 88 "@entryPointOutput"
Name 93 "c4" Name 90 "input"
Name 94 "b5" Name 95 "c4"
Name 96 "b5"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -418,10 +425,12 @@ gl_FragCoord origin is upper left ...@@ -418,10 +425,12 @@ gl_FragCoord origin is upper left
73: 32(int) Constant 12 73: 32(int) Constant 12
81: TypePointer Function 6(float) 81: TypePointer Function 6(float)
83(b2): 22(ptr) Variable Private 83(b2): 22(ptr) Variable Private
87: TypePointer Input 7(fvec4) 87: TypePointer Output 7(fvec4)
88(input): 87(ptr) Variable Input 88(@entryPointOutput): 87(ptr) Variable Output
93(c4): 22(ptr) Variable Private 89: TypePointer Input 7(fvec4)
94(b5): 22(ptr) Variable Private 90(input): 89(ptr) Variable Input
95(c4): 22(ptr) Variable Private
96(b5): 22(ptr) Variable Private
4(ShaderFunction): 2 Function None 3 4(ShaderFunction): 2 Function None 3
5: Label 5: Label
62(a2): 61(ptr) Variable Function 62(a2): 61(ptr) Variable Function
...@@ -457,8 +466,9 @@ gl_FragCoord origin is upper left ...@@ -457,8 +466,9 @@ gl_FragCoord origin is upper left
Store 82(a8) 84 Store 82(a8) 84
86: 6(float) Load 29(a5) 86: 6(float) Load 29(a5)
Store 85(a9) 86 Store 85(a9) 86
89: 7(fvec4) Load 88(input) 91: 7(fvec4) Load 90(input)
90: 7(fvec4) Load 9(a1) 92: 7(fvec4) Load 9(a1)
91: 7(fvec4) FMul 89 90 93: 7(fvec4) FMul 91 92
ReturnValue 91 Store 88(@entryPointOutput) 93
Return
FunctionEnd FunctionEnd
...@@ -43,8 +43,11 @@ gl_FragCoord origin is upper left ...@@ -43,8 +43,11 @@ gl_FragCoord origin is upper left
0:30 1.000000 0:30 1.000000
0:30 1.000000 0:30 1.000000
0:30 1.000000 0:30 1.000000
0:31 Branch: Return with expression 0:31 Sequence
0:31 move second child to first child (temp structure{temp 4-component vector of float color})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
0:31 'ps_output' (temp structure{temp 4-component vector of float color}) 0:31 'ps_output' (temp structure{temp 4-component vector of float color})
0:31 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -95,18 +98,21 @@ gl_FragCoord origin is upper left ...@@ -95,18 +98,21 @@ gl_FragCoord origin is upper left
0:30 1.000000 0:30 1.000000
0:30 1.000000 0:30 1.000000
0:30 1.000000 0:30 1.000000
0:31 Branch: Return with expression 0:31 Sequence
0:31 move second child to first child (temp structure{temp 4-component vector of float color})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
0:31 'ps_output' (temp structure{temp 4-component vector of float color}) 0:31 'ps_output' (temp structure{temp 4-component vector of float color})
0:31 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 44 // Id's are bound by 46
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 43
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 6 "Test1(" Name 6 "Test1("
...@@ -123,6 +129,7 @@ gl_FragCoord origin is upper left ...@@ -123,6 +129,7 @@ gl_FragCoord origin is upper left
Name 34 "PS_OUTPUT" Name 34 "PS_OUTPUT"
MemberName 34(PS_OUTPUT) 0 "color" MemberName 34(PS_OUTPUT) 0 "color"
Name 36 "ps_output" Name 36 "ps_output"
Name 43 "@entryPointOutput"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
8: TypeFloat 32 8: TypeFloat 32
...@@ -152,14 +159,17 @@ gl_FragCoord origin is upper left ...@@ -152,14 +159,17 @@ gl_FragCoord origin is upper left
38: 37(int) Constant 0 38: 37(int) Constant 0
39: 33(fvec4) ConstantComposite 13 13 13 13 39: 33(fvec4) ConstantComposite 13 13 13 13
40: TypePointer Function 33(fvec4) 40: TypePointer Function 33(fvec4)
42: TypePointer Output 34(PS_OUTPUT)
43(@entryPointOutput): 42(ptr) Variable Output
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
36(ps_output): 35(ptr) Variable Function 36(ps_output): 35(ptr) Variable Function
32: 2 FunctionCall 6(Test1() 32: 2 FunctionCall 6(Test1()
41: 40(ptr) AccessChain 36(ps_output) 38 41: 40(ptr) AccessChain 36(ps_output) 38
Store 41 39 Store 41 39
42:34(PS_OUTPUT) Load 36(ps_output) 44:34(PS_OUTPUT) Load 36(ps_output)
ReturnValue 42 Store 43(@entryPointOutput) 44
Return
FunctionEnd FunctionEnd
6(Test1(): 2 Function None 3 6(Test1(): 2 Function None 3
7: Label 7: Label
......
...@@ -55,8 +55,11 @@ gl_FragCoord origin is upper left ...@@ -55,8 +55,11 @@ gl_FragCoord origin is upper left
0:22 'inpos' (noperspective in 4-component vector of float FragCoord) 0:22 'inpos' (noperspective in 4-component vector of float FragCoord)
0:22 Constant: 0:22 Constant:
0:22 3 (const int) 0:22 3 (const int)
0:24 Branch: Return with expression 0:24 Sequence
0:24 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:24 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:24 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:24 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -119,18 +122,21 @@ gl_FragCoord origin is upper left ...@@ -119,18 +122,21 @@ gl_FragCoord origin is upper left
0:22 'inpos' (noperspective in 4-component vector of float FragCoord) 0:22 'inpos' (noperspective in 4-component vector of float FragCoord)
0:22 Constant: 0:22 Constant:
0:22 3 (const int) 0:22 3 (const int)
0:24 Branch: Return with expression 0:24 Sequence
0:24 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:24 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:24 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:24 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 54 // Id's are bound by 56
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 45 EntryPoint Fragment 4 "main" 45 53
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 12 "MyFunc(f1;f1;f1;" Name 12 "MyFunc(f1;f1;f1;"
...@@ -148,6 +154,7 @@ gl_FragCoord origin is upper left ...@@ -148,6 +154,7 @@ gl_FragCoord origin is upper left
MemberName 31(PS_OUTPUT) 1 "Depth" MemberName 31(PS_OUTPUT) 1 "Depth"
Name 33 "psout" Name 33 "psout"
Name 45 "inpos" Name 45 "inpos"
Name 53 "@entryPointOutput"
MemberDecorate 31(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 31(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 45(inpos) NoPerspective Decorate 45(inpos) NoPerspective
Decorate 45(inpos) BuiltIn FragCoord Decorate 45(inpos) BuiltIn FragCoord
...@@ -172,6 +179,8 @@ gl_FragCoord origin is upper left ...@@ -172,6 +179,8 @@ gl_FragCoord origin is upper left
46: TypeInt 32 0 46: TypeInt 32 0
47: 46(int) Constant 3 47: 46(int) Constant 3
48: TypePointer Input 6(float) 48: TypePointer Input 6(float)
52: TypePointer Output 31(PS_OUTPUT)
53(@entryPointOutput): 52(ptr) Variable Output
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
17(x): 7(ptr) Variable Function 17(x): 7(ptr) Variable Function
...@@ -202,8 +211,9 @@ gl_FragCoord origin is upper left ...@@ -202,8 +211,9 @@ gl_FragCoord origin is upper left
50: 6(float) Load 49 50: 6(float) Load 49
51: 7(ptr) AccessChain 33(psout) 43 51: 7(ptr) AccessChain 33(psout) 43
Store 51 50 Store 51 50
52:31(PS_OUTPUT) Load 33(psout) 54:31(PS_OUTPUT) Load 33(psout)
ReturnValue 52 Store 53(@entryPointOutput) 54
Return
FunctionEnd FunctionEnd
12(MyFunc(f1;f1;f1;): 2 Function None 8 12(MyFunc(f1;f1;f1;): 2 Function None 8
9(x): 7(ptr) FunctionParameter 9(x): 7(ptr) FunctionParameter
......
...@@ -11,9 +11,12 @@ local_size = (1, 1, 1) ...@@ -11,9 +11,12 @@ local_size = (1, 1, 1)
0:7 GroupMemoryBarrierWithGroupSync (global void) 0:7 GroupMemoryBarrierWithGroupSync (global void)
0:8 WorkgroupMemoryBarrier (global void) 0:8 WorkgroupMemoryBarrier (global void)
0:9 WorkgroupMemoryBarrierWithGroupSync (global void) 0:9 WorkgroupMemoryBarrierWithGroupSync (global void)
0:11 Branch: Return with expression 0:11 Sequence
0:11 move second child to first child (temp float)
0:? '@entryPointOutput' (out float)
0:11 Constant: 0:11 Constant:
0:11 0.000000 0:11 0.000000
0:11 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -32,21 +35,25 @@ local_size = (1, 1, 1) ...@@ -32,21 +35,25 @@ local_size = (1, 1, 1)
0:7 GroupMemoryBarrierWithGroupSync (global void) 0:7 GroupMemoryBarrierWithGroupSync (global void)
0:8 WorkgroupMemoryBarrier (global void) 0:8 WorkgroupMemoryBarrier (global void)
0:9 WorkgroupMemoryBarrierWithGroupSync (global void) 0:9 WorkgroupMemoryBarrierWithGroupSync (global void)
0:11 Branch: Return with expression 0:11 Sequence
0:11 move second child to first child (temp float)
0:? '@entryPointOutput' (out float)
0:11 Constant: 0:11 Constant:
0:11 0.000000 0:11 0.000000
0:11 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 15 // Id's are bound by 17
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "ComputeShaderFunction" EntryPoint GLCompute 4 "ComputeShaderFunction" 14
ExecutionMode 4 LocalSize 1 1 1 ExecutionMode 4 LocalSize 1 1 1
Name 4 "ComputeShaderFunction" Name 4 "ComputeShaderFunction"
Name 14 "@entryPointOutput"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeInt 32 0 6: TypeInt 32 0
...@@ -56,7 +63,9 @@ local_size = (1, 1, 1) ...@@ -56,7 +63,9 @@ local_size = (1, 1, 1)
10: 6(int) Constant 2 10: 6(int) Constant 2
11: 6(int) Constant 256 11: 6(int) Constant 256
12: TypeFloat 32 12: TypeFloat 32
13: 12(float) Constant 0 13: TypePointer Output 12(float)
14(@entryPointOutput): 13(ptr) Variable Output
15: 12(float) Constant 0
4(ComputeShaderFunction): 2 Function None 3 4(ComputeShaderFunction): 2 Function None 3
5: Label 5: Label
MemoryBarrier 7 8 MemoryBarrier 7 8
...@@ -65,5 +74,6 @@ local_size = (1, 1, 1) ...@@ -65,5 +74,6 @@ local_size = (1, 1, 1)
ControlBarrier 7 7 9 ControlBarrier 7 7 9
MemoryBarrier 10 11 MemoryBarrier 10 11
ControlBarrier 10 10 11 ControlBarrier 10 10 11
ReturnValue 13 Store 14(@entryPointOutput) 15
Return
FunctionEnd FunctionEnd
...@@ -299,12 +299,15 @@ local_size = (1, 1, 1) ...@@ -299,12 +299,15 @@ local_size = (1, 1, 1)
0:125 AtomicXor (temp 4-component vector of uint) 0:125 AtomicXor (temp 4-component vector of uint)
0:125 'gs_ua4' (global 4-component vector of uint) 0:125 'gs_ua4' (global 4-component vector of uint)
0:125 'gs_ub4' (global 4-component vector of uint) 0:125 'gs_ub4' (global 4-component vector of uint)
0:128 Branch: Return with expression 0:128 Sequence
0:128 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:? 4.000000 0:? 4.000000
0:128 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'gs_ua' (global uint) 0:? 'gs_ua' (global uint)
0:? 'gs_ub' (global uint) 0:? 'gs_ub' (global uint)
...@@ -623,12 +626,15 @@ local_size = (1, 1, 1) ...@@ -623,12 +626,15 @@ local_size = (1, 1, 1)
0:125 AtomicXor (temp 4-component vector of uint) 0:125 AtomicXor (temp 4-component vector of uint)
0:125 'gs_ua4' (global 4-component vector of uint) 0:125 'gs_ua4' (global 4-component vector of uint)
0:125 'gs_ub4' (global 4-component vector of uint) 0:125 'gs_ub4' (global 4-component vector of uint)
0:128 Branch: Return with expression 0:128 Sequence
0:128 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:? 4.000000 0:? 4.000000
0:128 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'gs_ua' (global uint) 0:? 'gs_ua' (global uint)
0:? 'gs_ub' (global uint) 0:? 'gs_ub' (global uint)
...@@ -645,12 +651,12 @@ local_size = (1, 1, 1) ...@@ -645,12 +651,12 @@ local_size = (1, 1, 1)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 217 // Id's are bound by 219
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "ComputeShaderFunction" 175 EntryPoint GLCompute 4 "ComputeShaderFunction" 175 215
ExecutionMode 4 LocalSize 1 1 1 ExecutionMode 4 LocalSize 1 1 1
Name 4 "ComputeShaderFunction" Name 4 "ComputeShaderFunction"
Name 16 "ComputeShaderFunctionS(f1;f1;f1;u1;u1;" Name 16 "ComputeShaderFunctionS(f1;f1;f1;u1;u1;"
...@@ -692,6 +698,7 @@ local_size = (1, 1, 1) ...@@ -692,6 +698,7 @@ local_size = (1, 1, 1)
Name 181 "gs_ub4" Name 181 "gs_ub4"
Name 185 "out_u4" Name 185 "out_u4"
Name 193 "gs_uc4" Name 193 "gs_uc4"
Name 215 "@entryPointOutput"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -740,8 +747,10 @@ local_size = (1, 1, 1) ...@@ -740,8 +747,10 @@ local_size = (1, 1, 1)
181(gs_ub4): 179(ptr) Variable Private 181(gs_ub4): 179(ptr) Variable Private
184: TypePointer Function 178(ivec4) 184: TypePointer Function 178(ivec4)
193(gs_uc4): 179(ptr) Variable Private 193(gs_uc4): 179(ptr) Variable Private
214: 6(float) Constant 1082130432 214: TypePointer Output 173(fvec4)
215: 173(fvec4) ConstantComposite 128 129 169 214 215(@entryPointOutput): 214(ptr) Variable Output
216: 6(float) Constant 1082130432
217: 173(fvec4) ConstantComposite 128 129 169 216
4(ComputeShaderFunction): 2 Function None 3 4(ComputeShaderFunction): 2 Function None 3
5: Label 5: Label
185(out_u4): 184(ptr) Variable Function 185(out_u4): 184(ptr) Variable Function
...@@ -784,7 +793,8 @@ local_size = (1, 1, 1) ...@@ -784,7 +793,8 @@ local_size = (1, 1, 1)
212: 178(ivec4) Load 181(gs_ub4) 212: 178(ivec4) Load 181(gs_ub4)
213: 178(ivec4) AtomicXor 180(gs_ua4) 55 56 212 213: 178(ivec4) AtomicXor 180(gs_ua4) 55 56 212
Store 185(out_u4) 213 Store 185(out_u4) 213
ReturnValue 215 Store 215(@entryPointOutput) 217
Return
FunctionEnd FunctionEnd
16(ComputeShaderFunctionS(f1;f1;f1;u1;u1;): 6(float) Function None 10 16(ComputeShaderFunctionS(f1;f1;f1;u1;u1;): 6(float) Function None 10
11(inF0): 7(ptr) FunctionParameter 11(inF0): 7(ptr) FunctionParameter
......
...@@ -27,9 +27,12 @@ gl_FragCoord origin is upper left ...@@ -27,9 +27,12 @@ gl_FragCoord origin is upper left
0:7 Construct uvec2 (temp 2-component vector of uint) 0:7 Construct uvec2 (temp 2-component vector of uint)
0:7 'inU1a' (in uint) 0:7 'inU1a' (in uint)
0:7 'inU1b' (in uint) 0:7 'inU1b' (in uint)
0:9 Branch: Return with expression 0:9 Sequence
0:9 move second child to first child (temp float)
0:? '@entryPointOutput' (out float)
0:9 Constant: 0:9 Constant:
0:9 0.000000 0:9 0.000000
0:9 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -64,20 +67,23 @@ gl_FragCoord origin is upper left ...@@ -64,20 +67,23 @@ gl_FragCoord origin is upper left
0:7 Construct uvec2 (temp 2-component vector of uint) 0:7 Construct uvec2 (temp 2-component vector of uint)
0:7 'inU1a' (in uint) 0:7 'inU1a' (in uint)
0:7 'inU1b' (in uint) 0:7 'inU1b' (in uint)
0:9 Branch: Return with expression 0:9 Sequence
0:9 move second child to first child (temp float)
0:? '@entryPointOutput' (out float)
0:9 Constant: 0:9 Constant:
0:9 0.000000 0:9 0.000000
0:9 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 30 // Id's are bound by 32
Capability Shader Capability Shader
Capability Float64 Capability Float64
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 10 12 14 20 22 EntryPoint Fragment 4 "PixelShaderFunction" 10 12 14 20 22 29
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction" Name 4 "PixelShaderFunction"
Name 8 "r00" Name 8 "r00"
...@@ -87,6 +93,7 @@ gl_FragCoord origin is upper left ...@@ -87,6 +93,7 @@ gl_FragCoord origin is upper left
Name 17 "r01" Name 17 "r01"
Name 20 "inU1a" Name 20 "inU1a"
Name 22 "inU1b" Name 22 "inU1b"
Name 29 "@entryPointOutput"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 64 6: TypeFloat 64
...@@ -101,7 +108,9 @@ gl_FragCoord origin is upper left ...@@ -101,7 +108,9 @@ gl_FragCoord origin is upper left
22(inU1b): 19(ptr) Variable Input 22(inU1b): 19(ptr) Variable Input
24: TypeVector 18(int) 2 24: TypeVector 18(int) 2
27: TypeFloat 32 27: TypeFloat 32
28: 27(float) Constant 0 28: TypePointer Output 27(float)
29(@entryPointOutput): 28(ptr) Variable Output
30: 27(float) Constant 0
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
8(r00): 7(ptr) Variable Function 8(r00): 7(ptr) Variable Function
...@@ -116,5 +125,6 @@ gl_FragCoord origin is upper left ...@@ -116,5 +125,6 @@ gl_FragCoord origin is upper left
25: 24(ivec2) CompositeConstruct 21 23 25: 24(ivec2) CompositeConstruct 21 23
26: 6(float) Bitcast 25 26: 6(float) Bitcast 25
Store 17(r01) 26 Store 17(r01) 26
ReturnValue 28 Store 29(@entryPointOutput) 30
Return
FunctionEnd FunctionEnd
...@@ -56,12 +56,15 @@ ERROR: node is still EOpNull! ...@@ -56,12 +56,15 @@ ERROR: node is still EOpNull!
0:30 ERROR: Bad unary op 0:30 ERROR: Bad unary op
(global 4-component vector of uint) (global 4-component vector of uint)
0:30 'inF0' (in 4-component vector of float) 0:30 'inF0' (in 4-component vector of float)
0:32 Branch: Return with expression 0:32 Sequence
0:32 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:? 4.000000 0:? 4.000000
0:32 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -118,12 +121,15 @@ ERROR: node is still EOpNull! ...@@ -118,12 +121,15 @@ ERROR: node is still EOpNull!
0:30 ERROR: Bad unary op 0:30 ERROR: Bad unary op
(global 4-component vector of uint) (global 4-component vector of uint)
0:30 'inF0' (in 4-component vector of float) 0:30 'inF0' (in 4-component vector of float)
0:32 Branch: Return with expression 0:32 Sequence
0:32 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:? 4.000000 0:? 4.000000
0:32 Branch: Return
0:? Linker Objects 0:? Linker Objects
SPIR-V is not generated for failed compile or link SPIR-V is not generated for failed compile or link
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -52,12 +52,15 @@ local_size = (1, 1, 1) ...@@ -52,12 +52,15 @@ local_size = (1, 1, 1)
0:158 'inF2' (in 4-component vector of float) 0:158 'inF2' (in 4-component vector of float)
0:158 'inI0' (in 4-component vector of int) 0:158 'inI0' (in 4-component vector of int)
0:? Sequence 0:? Sequence
0:199 Branch: Return with expression 0:199 Sequence
0:199 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:? 4.000000 0:? 4.000000
0:199 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -117,22 +120,25 @@ local_size = (1, 1, 1) ...@@ -117,22 +120,25 @@ local_size = (1, 1, 1)
0:158 'inF2' (in 4-component vector of float) 0:158 'inF2' (in 4-component vector of float)
0:158 'inI0' (in 4-component vector of int) 0:158 'inI0' (in 4-component vector of int)
0:? Sequence 0:? Sequence
0:199 Branch: Return with expression 0:199 Sequence
0:199 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:? 4.000000 0:? 4.000000
0:199 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 63 // Id's are bound by 65
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "ComputeShaderFunction" EntryPoint GLCompute 4 "ComputeShaderFunction" 61
ExecutionMode 4 LocalSize 1 1 1 ExecutionMode 4 LocalSize 1 1 1
Name 4 "ComputeShaderFunction" Name 4 "ComputeShaderFunction"
Name 15 "ComputeShaderFunctionS(f1;f1;f1;i1;" Name 15 "ComputeShaderFunctionS(f1;f1;f1;i1;"
...@@ -155,6 +161,7 @@ local_size = (1, 1, 1) ...@@ -155,6 +161,7 @@ local_size = (1, 1, 1)
Name 40 "inF1" Name 40 "inF1"
Name 41 "inF2" Name 41 "inF2"
Name 42 "inI0" Name 42 "inI0"
Name 61 "@entryPointOutput"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -179,11 +186,14 @@ local_size = (1, 1, 1) ...@@ -179,11 +186,14 @@ local_size = (1, 1, 1)
55: 6(float) Constant 1077936128 55: 6(float) Constant 1077936128
56: 34(fvec3) ConstantComposite 50 51 55 56: 34(fvec3) ConstantComposite 50 51 55
59: TypeVector 6(float) 4 59: TypeVector 6(float) 4
60: 6(float) Constant 1082130432 60: TypePointer Output 59(fvec4)
61: 59(fvec4) ConstantComposite 50 51 55 60 61(@entryPointOutput): 60(ptr) Variable Output
62: 6(float) Constant 1082130432
63: 59(fvec4) ConstantComposite 50 51 55 62
4(ComputeShaderFunction): 2 Function None 3 4(ComputeShaderFunction): 2 Function None 3
5: Label 5: Label
ReturnValue 61 Store 61(@entryPointOutput) 63
Return
FunctionEnd FunctionEnd
15(ComputeShaderFunctionS(f1;f1;f1;i1;): 6(float) Function None 10 15(ComputeShaderFunctionS(f1;f1;f1;i1;): 6(float) Function None 10
11(inF0): 7(ptr) FunctionParameter 11(inF0): 7(ptr) FunctionParameter
......
...@@ -267,12 +267,15 @@ ERROR: node is still EOpNull! ...@@ -267,12 +267,15 @@ ERROR: node is still EOpNull!
0:89 'inF0' (in 4-component vector of float) 0:89 'inF0' (in 4-component vector of float)
0:90 Constant: 0:90 Constant:
0:90 0.000000 0:90 0.000000
0:92 Branch: Return with expression 0:92 Sequence
0:92 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:? 4.000000 0:? 4.000000
0:92 Branch: Return
0:122 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float) 0:122 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:115 Function Parameters: 0:115 Function Parameters:
0:115 'inF0' (in 2X2 matrix of float) 0:115 'inF0' (in 2X2 matrix of float)
...@@ -615,12 +618,15 @@ ERROR: node is still EOpNull! ...@@ -615,12 +618,15 @@ ERROR: node is still EOpNull!
0:89 'inF0' (in 4-component vector of float) 0:89 'inF0' (in 4-component vector of float)
0:90 Constant: 0:90 Constant:
0:90 0.000000 0:90 0.000000
0:92 Branch: Return with expression 0:92 Sequence
0:92 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:? 4.000000 0:? 4.000000
0:92 Branch: Return
0:122 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float) 0:122 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:115 Function Parameters: 0:115 Function Parameters:
0:115 'inF0' (in 2X2 matrix of float) 0:115 'inF0' (in 2X2 matrix of float)
......
...@@ -51,12 +51,15 @@ Shader version: 450 ...@@ -51,12 +51,15 @@ Shader version: 450
0:176 'inF2' (in 4-component vector of float) 0:176 'inF2' (in 4-component vector of float)
0:176 'inI0' (in 4-component vector of int) 0:176 'inI0' (in 4-component vector of int)
0:? Sequence 0:? Sequence
0:217 Branch: Return with expression 0:217 Sequence
0:217 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:? 4.000000 0:? 4.000000
0:217 Branch: Return
0:233 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float) 0:233 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:226 Function Parameters: 0:226 Function Parameters:
0:226 'inF0' (in 2X2 matrix of float) 0:226 'inF0' (in 2X2 matrix of float)
...@@ -180,12 +183,15 @@ Shader version: 450 ...@@ -180,12 +183,15 @@ Shader version: 450
0:176 'inF2' (in 4-component vector of float) 0:176 'inF2' (in 4-component vector of float)
0:176 'inI0' (in 4-component vector of int) 0:176 'inI0' (in 4-component vector of int)
0:? Sequence 0:? Sequence
0:217 Branch: Return with expression 0:217 Sequence
0:217 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:? 4.000000 0:? 4.000000
0:217 Branch: Return
0:233 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float) 0:233 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:226 Function Parameters: 0:226 Function Parameters:
0:226 'inF0' (in 2X2 matrix of float) 0:226 'inF0' (in 2X2 matrix of float)
...@@ -255,12 +261,12 @@ Shader version: 450 ...@@ -255,12 +261,12 @@ Shader version: 450
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 119 // Id's are bound by 121
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Vertex 4 "VertexShaderFunction" EntryPoint Vertex 4 "VertexShaderFunction" 85
Name 4 "VertexShaderFunction" Name 4 "VertexShaderFunction"
Name 15 "VertexShaderFunctionS(f1;f1;f1;i1;" Name 15 "VertexShaderFunctionS(f1;f1;f1;i1;"
Name 11 "inF0" Name 11 "inF0"
...@@ -294,18 +300,19 @@ Shader version: 450 ...@@ -294,18 +300,19 @@ Shader version: 450
Name 65 "inF0" Name 65 "inF0"
Name 66 "inF1" Name 66 "inF1"
Name 67 "inF2" Name 67 "inF2"
Name 101 "gs_ua" Name 85 "@entryPointOutput"
Name 102 "gs_ub" Name 103 "gs_ua"
Name 103 "gs_uc" Name 104 "gs_ub"
Name 106 "gs_ua2" Name 105 "gs_uc"
Name 107 "gs_ub2" Name 108 "gs_ua2"
Name 108 "gs_uc2" Name 109 "gs_ub2"
Name 111 "gs_ua3" Name 110 "gs_uc2"
Name 112 "gs_ub3" Name 113 "gs_ua3"
Name 113 "gs_uc3" Name 114 "gs_ub3"
Name 116 "gs_ua4" Name 115 "gs_uc3"
Name 117 "gs_ub4" Name 118 "gs_ua4"
Name 118 "gs_uc4" Name 119 "gs_ub4"
Name 120 "gs_uc4"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -339,37 +346,40 @@ Shader version: 450 ...@@ -339,37 +346,40 @@ Shader version: 450
77: 23(fvec2) ConstantComposite 75 76 77: 23(fvec2) ConstantComposite 75 76
80: 6(float) Constant 1077936128 80: 6(float) Constant 1077936128
81: 34(fvec3) ConstantComposite 75 76 80 81: 34(fvec3) ConstantComposite 75 76 80
84: 6(float) Constant 1082130432 84: TypePointer Output 61(fvec4)
85: 61(fvec4) ConstantComposite 75 76 80 84 85(@entryPointOutput): 84(ptr) Variable Output
87: 23(fvec2) ConstantComposite 76 76 86: 6(float) Constant 1082130432
88: 45 ConstantComposite 87 87 87: 61(fvec4) ConstantComposite 75 76 80 86
91: 34(fvec3) ConstantComposite 80 80 80 89: 23(fvec2) ConstantComposite 76 76
92: 53 ConstantComposite 91 91 91 90: 45 ConstantComposite 89 89
95: 61(fvec4) ConstantComposite 84 84 84 84 93: 34(fvec3) ConstantComposite 80 80 80
96: 62 ConstantComposite 95 95 95 95 94: 53 ConstantComposite 93 93 93
99: TypeInt 32 0 97: 61(fvec4) ConstantComposite 86 86 86 86
100: TypePointer Private 99(int) 98: 62 ConstantComposite 97 97 97 97
101(gs_ua): 100(ptr) Variable Private 101: TypeInt 32 0
102(gs_ub): 100(ptr) Variable Private 102: TypePointer Private 101(int)
103(gs_uc): 100(ptr) Variable Private 103(gs_ua): 102(ptr) Variable Private
104: TypeVector 99(int) 2 104(gs_ub): 102(ptr) Variable Private
105: TypePointer Private 104(ivec2) 105(gs_uc): 102(ptr) Variable Private
106(gs_ua2): 105(ptr) Variable Private 106: TypeVector 101(int) 2
107(gs_ub2): 105(ptr) Variable Private 107: TypePointer Private 106(ivec2)
108(gs_uc2): 105(ptr) Variable Private 108(gs_ua2): 107(ptr) Variable Private
109: TypeVector 99(int) 3 109(gs_ub2): 107(ptr) Variable Private
110: TypePointer Private 109(ivec3) 110(gs_uc2): 107(ptr) Variable Private
111(gs_ua3): 110(ptr) Variable Private 111: TypeVector 101(int) 3
112(gs_ub3): 110(ptr) Variable Private 112: TypePointer Private 111(ivec3)
113(gs_uc3): 110(ptr) Variable Private 113(gs_ua3): 112(ptr) Variable Private
114: TypeVector 99(int) 4 114(gs_ub3): 112(ptr) Variable Private
115: TypePointer Private 114(ivec4) 115(gs_uc3): 112(ptr) Variable Private
116(gs_ua4): 115(ptr) Variable Private 116: TypeVector 101(int) 4
117(gs_ub4): 115(ptr) Variable Private 117: TypePointer Private 116(ivec4)
118(gs_uc4): 115(ptr) Variable Private 118(gs_ua4): 117(ptr) Variable Private
119(gs_ub4): 117(ptr) Variable Private
120(gs_uc4): 117(ptr) Variable Private
4(VertexShaderFunction): 2 Function None 3 4(VertexShaderFunction): 2 Function None 3
5: Label 5: Label
ReturnValue 85 Store 85(@entryPointOutput) 87
Return
FunctionEnd FunctionEnd
15(VertexShaderFunctionS(f1;f1;f1;i1;): 6(float) Function None 10 15(VertexShaderFunctionS(f1;f1;f1;i1;): 6(float) Function None 10
11(inF0): 7(ptr) FunctionParameter 11(inF0): 7(ptr) FunctionParameter
...@@ -408,19 +418,19 @@ Shader version: 450 ...@@ -408,19 +418,19 @@ Shader version: 450
49(inF1): 46(ptr) FunctionParameter 49(inF1): 46(ptr) FunctionParameter
50(inF2): 46(ptr) FunctionParameter 50(inF2): 46(ptr) FunctionParameter
52: Label 52: Label
ReturnValue 88 ReturnValue 90
FunctionEnd FunctionEnd
59(VertexShaderFunction3x3(mf33;mf33;mf33;): 53 Function None 55 59(VertexShaderFunction3x3(mf33;mf33;mf33;): 53 Function None 55
56(inF0): 54(ptr) FunctionParameter 56(inF0): 54(ptr) FunctionParameter
57(inF1): 54(ptr) FunctionParameter 57(inF1): 54(ptr) FunctionParameter
58(inF2): 54(ptr) FunctionParameter 58(inF2): 54(ptr) FunctionParameter
60: Label 60: Label
ReturnValue 92 ReturnValue 94
FunctionEnd FunctionEnd
68(VertexShaderFunction4x4(mf44;mf44;mf44;): 62 Function None 64 68(VertexShaderFunction4x4(mf44;mf44;mf44;): 62 Function None 64
65(inF0): 63(ptr) FunctionParameter 65(inF0): 63(ptr) FunctionParameter
66(inF1): 63(ptr) FunctionParameter 66(inF1): 63(ptr) FunctionParameter
67(inF2): 63(ptr) FunctionParameter 67(inF2): 63(ptr) FunctionParameter
69: Label 69: Label
ReturnValue 96 ReturnValue 98
FunctionEnd FunctionEnd
...@@ -88,8 +88,11 @@ gl_FragCoord origin is upper left ...@@ -88,8 +88,11 @@ gl_FragCoord origin is upper left
0:52 1 (const int) 0:52 1 (const int)
0:52 Constant: 0:52 Constant:
0:52 1.000000 0:52 1.000000
0:54 Branch: Return with expression 0:54 Sequence
0:54 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:54 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:54 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:54 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex2dmsf4' (uniform texture2DMS) 0:? 'g_tTex2dmsf4' (uniform texture2DMS)
...@@ -200,8 +203,11 @@ gl_FragCoord origin is upper left ...@@ -200,8 +203,11 @@ gl_FragCoord origin is upper left
0:52 1 (const int) 0:52 1 (const int)
0:52 Constant: 0:52 Constant:
0:52 1.000000 0:52 1.000000
0:54 Branch: Return with expression 0:54 Sequence
0:54 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:54 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:54 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:54 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex2dmsf4' (uniform texture2DMS) 0:? 'g_tTex2dmsf4' (uniform texture2DMS)
...@@ -221,14 +227,14 @@ gl_FragCoord origin is upper left ...@@ -221,14 +227,14 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 103 // Id's are bound by 105
Capability Shader Capability Shader
Capability ImageGatherExtended Capability ImageGatherExtended
Capability ImageMSArray Capability ImageMSArray
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 92
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "g_tTex2dmsf4" Name 9 "g_tTex2dmsf4"
...@@ -244,12 +250,13 @@ gl_FragCoord origin is upper left ...@@ -244,12 +250,13 @@ gl_FragCoord origin is upper left
MemberName 80(PS_OUTPUT) 0 "Color" MemberName 80(PS_OUTPUT) 0 "Color"
MemberName 80(PS_OUTPUT) 1 "Depth" MemberName 80(PS_OUTPUT) 1 "Depth"
Name 82 "psout" Name 82 "psout"
Name 95 "g_sSamp" Name 92 "@entryPointOutput"
Name 97 "c1" Name 97 "g_sSamp"
Name 99 "c4" Name 99 "c1"
Name 100 "o1" Name 101 "c4"
Name 101 "o3" Name 102 "o1"
Name 102 "o4" Name 103 "o3"
Name 104 "o4"
Decorate 9(g_tTex2dmsf4) DescriptorSet 0 Decorate 9(g_tTex2dmsf4) DescriptorSet 0
Decorate 21(g_tTex2dmsi4) DescriptorSet 0 Decorate 21(g_tTex2dmsi4) DescriptorSet 0
Decorate 29(g_tTex2dmsu4) DescriptorSet 0 Decorate 29(g_tTex2dmsu4) DescriptorSet 0
...@@ -257,8 +264,8 @@ gl_FragCoord origin is upper left ...@@ -257,8 +264,8 @@ gl_FragCoord origin is upper left
Decorate 58(g_tTex2dmsi4a) DescriptorSet 0 Decorate 58(g_tTex2dmsi4a) DescriptorSet 0
Decorate 64(g_tTex2dmsu4a) DescriptorSet 0 Decorate 64(g_tTex2dmsu4a) DescriptorSet 0
MemberDecorate 80(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 80(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 95(g_sSamp) DescriptorSet 0 Decorate 97(g_sSamp) DescriptorSet 0
Decorate 95(g_sSamp) Binding 0 Decorate 97(g_sSamp) Binding 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -301,16 +308,18 @@ gl_FragCoord origin is upper left ...@@ -301,16 +308,18 @@ gl_FragCoord origin is upper left
86: TypePointer Function 17(fvec4) 86: TypePointer Function 17(fvec4)
88: 11(int) Constant 1 88: 11(int) Constant 1
89: TypePointer Function 6(float) 89: TypePointer Function 6(float)
93: TypeSampler 91: TypePointer Output 80(PS_OUTPUT)
94: TypePointer UniformConstant 93 92(@entryPointOutput): 91(ptr) Variable Output
95(g_sSamp): 94(ptr) Variable UniformConstant 95: TypeSampler
96: TypePointer UniformConstant 11(int) 96: TypePointer UniformConstant 95
97(c1): 96(ptr) Variable UniformConstant 97(g_sSamp): 96(ptr) Variable UniformConstant
98: TypePointer UniformConstant 24(ivec4) 98: TypePointer UniformConstant 11(int)
99(c4): 98(ptr) Variable UniformConstant 99(c1): 98(ptr) Variable UniformConstant
100(o1): 96(ptr) Variable UniformConstant 100: TypePointer UniformConstant 24(ivec4)
101(o3): 52(ptr) Variable UniformConstant 101(c4): 100(ptr) Variable UniformConstant
102(o4): 98(ptr) Variable UniformConstant 102(o1): 98(ptr) Variable UniformConstant
103(o3): 52(ptr) Variable UniformConstant
104(o4): 100(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
82(psout): 81(ptr) Variable Function 82(psout): 81(ptr) Variable Function
...@@ -360,6 +369,7 @@ gl_FragCoord origin is upper left ...@@ -360,6 +369,7 @@ gl_FragCoord origin is upper left
Store 87 85 Store 87 85
90: 89(ptr) AccessChain 82(psout) 88 90: 89(ptr) AccessChain 82(psout) 88
Store 90 84 Store 90 84
91:80(PS_OUTPUT) Load 82(psout) 93:80(PS_OUTPUT) Load 82(psout)
ReturnValue 91 Store 92(@entryPointOutput) 93
Return
FunctionEnd FunctionEnd
...@@ -40,8 +40,11 @@ gl_FragCoord origin is upper left ...@@ -40,8 +40,11 @@ gl_FragCoord origin is upper left
0:35 1 (const int) 0:35 1 (const int)
0:35 Constant: 0:35 Constant:
0:35 1.000000 0:35 1.000000
0:37 Branch: Return with expression 0:37 Sequence
0:37 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:37 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:37 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:37 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_tTexbf4_test' (layout(binding=0 ) uniform samplerBuffer) 0:? 'g_tTexbf4_test' (layout(binding=0 ) uniform samplerBuffer)
0:? 'g_tTexbf4' (uniform samplerBuffer) 0:? 'g_tTexbf4' (uniform samplerBuffer)
...@@ -101,8 +104,11 @@ gl_FragCoord origin is upper left ...@@ -101,8 +104,11 @@ gl_FragCoord origin is upper left
0:35 1 (const int) 0:35 1 (const int)
0:35 Constant: 0:35 Constant:
0:35 1.000000 0:35 1.000000
0:37 Branch: Return with expression 0:37 Sequence
0:37 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:37 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:37 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:37 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_tTexbf4_test' (layout(binding=0 ) uniform samplerBuffer) 0:? 'g_tTexbf4_test' (layout(binding=0 ) uniform samplerBuffer)
0:? 'g_tTexbf4' (uniform samplerBuffer) 0:? 'g_tTexbf4' (uniform samplerBuffer)
...@@ -119,13 +125,13 @@ gl_FragCoord origin is upper left ...@@ -119,13 +125,13 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 69 // Id's are bound by 71
Capability Shader Capability Shader
Capability SampledBuffer Capability SampledBuffer
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 55
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "r00" Name 9 "r00"
...@@ -139,20 +145,21 @@ gl_FragCoord origin is upper left ...@@ -139,20 +145,21 @@ gl_FragCoord origin is upper left
MemberName 44(PS_OUTPUT) 0 "Color" MemberName 44(PS_OUTPUT) 0 "Color"
MemberName 44(PS_OUTPUT) 1 "Depth" MemberName 44(PS_OUTPUT) 1 "Depth"
Name 46 "psout" Name 46 "psout"
Name 56 "g_tTexbf4_test" Name 55 "@entryPointOutput"
Name 59 "c2" Name 58 "g_tTexbf4_test"
Name 62 "c3" Name 61 "c2"
Name 64 "c4" Name 64 "c3"
Name 65 "o1" Name 66 "c4"
Name 66 "o2" Name 67 "o1"
Name 67 "o3" Name 68 "o2"
Name 68 "o4" Name 69 "o3"
Name 70 "o4"
Decorate 13(g_tTexbf4) DescriptorSet 0 Decorate 13(g_tTexbf4) DescriptorSet 0
Decorate 27(g_tTexbi4) DescriptorSet 0 Decorate 27(g_tTexbi4) DescriptorSet 0
Decorate 39(g_tTexbu4) DescriptorSet 0 Decorate 39(g_tTexbu4) DescriptorSet 0
MemberDecorate 44(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 44(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 56(g_tTexbf4_test) DescriptorSet 0 Decorate 58(g_tTexbf4_test) DescriptorSet 0
Decorate 56(g_tTexbf4_test) Binding 0 Decorate 58(g_tTexbf4_test) Binding 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -185,19 +192,21 @@ gl_FragCoord origin is upper left ...@@ -185,19 +192,21 @@ gl_FragCoord origin is upper left
49: 7(fvec4) ConstantComposite 48 48 48 48 49: 7(fvec4) ConstantComposite 48 48 48 48
51: 15(int) Constant 1 51: 15(int) Constant 1
52: TypePointer Function 6(float) 52: TypePointer Function 6(float)
56(g_tTexbf4_test): 12(ptr) Variable UniformConstant 54: TypePointer Output 44(PS_OUTPUT)
57: TypeVector 15(int) 2 55(@entryPointOutput): 54(ptr) Variable Output
58: TypePointer UniformConstant 57(ivec2) 58(g_tTexbf4_test): 12(ptr) Variable UniformConstant
59(c2): 58(ptr) Variable UniformConstant 59: TypeVector 15(int) 2
60: TypeVector 15(int) 3 60: TypePointer UniformConstant 59(ivec2)
61: TypePointer UniformConstant 60(ivec3) 61(c2): 60(ptr) Variable UniformConstant
62(c3): 61(ptr) Variable UniformConstant 62: TypeVector 15(int) 3
63: TypePointer UniformConstant 21(ivec4) 63: TypePointer UniformConstant 62(ivec3)
64(c4): 63(ptr) Variable UniformConstant 64(c3): 63(ptr) Variable UniformConstant
65(o1): 16(ptr) Variable UniformConstant 65: TypePointer UniformConstant 21(ivec4)
66(o2): 58(ptr) Variable UniformConstant 66(c4): 65(ptr) Variable UniformConstant
67(o3): 61(ptr) Variable UniformConstant 67(o1): 16(ptr) Variable UniformConstant
68(o4): 63(ptr) Variable UniformConstant 68(o2): 60(ptr) Variable UniformConstant
69(o3): 63(ptr) Variable UniformConstant
70(o4): 65(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(r00): 8(ptr) Variable Function 9(r00): 8(ptr) Variable Function
...@@ -223,6 +232,7 @@ gl_FragCoord origin is upper left ...@@ -223,6 +232,7 @@ gl_FragCoord origin is upper left
Store 50 49 Store 50 49
53: 52(ptr) AccessChain 46(psout) 51 53: 52(ptr) AccessChain 46(psout) 51
Store 53 48 Store 53 48
54:44(PS_OUTPUT) Load 46(psout) 56:44(PS_OUTPUT) Load 46(psout)
ReturnValue 54 Store 55(@entryPointOutput) 56
Return
FunctionEnd FunctionEnd
...@@ -7,10 +7,13 @@ gl_FragCoord origin is upper left ...@@ -7,10 +7,13 @@ gl_FragCoord origin is upper left
0:2 'input1' (in 4-component vector of float) 0:2 'input1' (in 4-component vector of float)
0:2 'input2' (in 4-component vector of float) 0:2 'input2' (in 4-component vector of float)
0:? Sequence 0:? Sequence
0:3 Branch: Return with expression 0:3 Sequence
0:3 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:3 max (global 4-component vector of float) 0:3 max (global 4-component vector of float)
0:3 'input1' (in 4-component vector of float) 0:3 'input1' (in 4-component vector of float)
0:3 'input2' (in 4-component vector of float) 0:3 'input2' (in 4-component vector of float)
0:3 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -25,35 +28,42 @@ gl_FragCoord origin is upper left ...@@ -25,35 +28,42 @@ gl_FragCoord origin is upper left
0:2 'input1' (in 4-component vector of float) 0:2 'input1' (in 4-component vector of float)
0:2 'input2' (in 4-component vector of float) 0:2 'input2' (in 4-component vector of float)
0:? Sequence 0:? Sequence
0:3 Branch: Return with expression 0:3 Sequence
0:3 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:3 max (global 4-component vector of float) 0:3 max (global 4-component vector of float)
0:3 'input1' (in 4-component vector of float) 0:3 'input1' (in 4-component vector of float)
0:3 'input2' (in 4-component vector of float) 0:3 'input2' (in 4-component vector of float)
0:3 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 15 // Id's are bound by 17
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 9 11 EntryPoint Fragment 4 "PixelShaderFunction" 9 11 13
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction" Name 4 "PixelShaderFunction"
Name 9 "input1" Name 9 "@entryPointOutput"
Name 11 "input2" Name 11 "input1"
Name 13 "input2"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
7: TypeVector 6(float) 4 7: TypeVector 6(float) 4
8: TypePointer Input 7(fvec4) 8: TypePointer Output 7(fvec4)
9(input1): 8(ptr) Variable Input 9(@entryPointOutput): 8(ptr) Variable Output
11(input2): 8(ptr) Variable Input 10: TypePointer Input 7(fvec4)
11(input1): 10(ptr) Variable Input
13(input2): 10(ptr) Variable Input
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
10: 7(fvec4) Load 9(input1) 12: 7(fvec4) Load 11(input1)
12: 7(fvec4) Load 11(input2) 14: 7(fvec4) Load 13(input2)
13: 7(fvec4) ExtInst 1(GLSL.std.450) 40(FMax) 10 12 15: 7(fvec4) ExtInst 1(GLSL.std.450) 40(FMax) 12 14
ReturnValue 13 Store 9(@entryPointOutput) 15
Return
FunctionEnd FunctionEnd
...@@ -58,8 +58,11 @@ gl_FragCoord origin is upper left ...@@ -58,8 +58,11 @@ gl_FragCoord origin is upper left
0:18 Construct vec4 (temp 4-component vector of float) 0:18 Construct vec4 (temp 4-component vector of float)
0:18 Convert int to float (temp float) 0:18 Convert int to float (temp float)
0:18 'r07' (temp int) 0:18 'r07' (temp int)
0:19 Branch: Return with expression 0:19 Sequence
0:19 move second child to first child (temp structure{temp 4-component vector of float color})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
0:19 'ps_output' (temp structure{temp 4-component vector of float color}) 0:19 'ps_output' (temp structure{temp 4-component vector of float color})
0:19 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -125,18 +128,21 @@ gl_FragCoord origin is upper left ...@@ -125,18 +128,21 @@ gl_FragCoord origin is upper left
0:18 Construct vec4 (temp 4-component vector of float) 0:18 Construct vec4 (temp 4-component vector of float)
0:18 Convert int to float (temp float) 0:18 Convert int to float (temp float)
0:18 'r07' (temp int) 0:18 'r07' (temp int)
0:19 Branch: Return with expression 0:19 Sequence
0:19 move second child to first child (temp structure{temp 4-component vector of float color})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
0:19 'ps_output' (temp structure{temp 4-component vector of float color}) 0:19 'ps_output' (temp structure{temp 4-component vector of float color})
0:19 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 41 // Id's are bound by 43
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 40
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 8 "r00" Name 8 "r00"
...@@ -151,6 +157,7 @@ gl_FragCoord origin is upper left ...@@ -151,6 +157,7 @@ gl_FragCoord origin is upper left
Name 30 "PS_OUTPUT" Name 30 "PS_OUTPUT"
MemberName 30(PS_OUTPUT) 0 "color" MemberName 30(PS_OUTPUT) 0 "color"
Name 32 "ps_output" Name 32 "ps_output"
Name 40 "@entryPointOutput"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -172,6 +179,8 @@ gl_FragCoord origin is upper left ...@@ -172,6 +179,8 @@ gl_FragCoord origin is upper left
31: TypePointer Function 30(PS_OUTPUT) 31: TypePointer Function 30(PS_OUTPUT)
33: 19(int) Constant 0 33: 19(int) Constant 0
37: TypePointer Function 29(fvec4) 37: TypePointer Function 29(fvec4)
39: TypePointer Output 30(PS_OUTPUT)
40(@entryPointOutput): 39(ptr) Variable Output
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
8(r00): 7(ptr) Variable Function 8(r00): 7(ptr) Variable Function
...@@ -198,6 +207,7 @@ gl_FragCoord origin is upper left ...@@ -198,6 +207,7 @@ gl_FragCoord origin is upper left
36: 29(fvec4) CompositeConstruct 35 35 35 35 36: 29(fvec4) CompositeConstruct 35 35 35 35
38: 37(ptr) AccessChain 32(ps_output) 33 38: 37(ptr) AccessChain 32(ps_output) 33
Store 38 36 Store 38 36
39:30(PS_OUTPUT) Load 32(ps_output) 41:30(PS_OUTPUT) Load 32(ps_output)
ReturnValue 39 Store 40(@entryPointOutput) 41
Return
FunctionEnd FunctionEnd
...@@ -348,8 +348,11 @@ gl_FragCoord origin is upper left ...@@ -348,8 +348,11 @@ gl_FragCoord origin is upper left
0:139 Construct bool (in 1-component vector of bool) 0:139 Construct bool (in 1-component vector of bool)
0:139 Construct bvec3 (temp 3-component vector of bool) 0:139 Construct bvec3 (temp 3-component vector of bool)
0:139 'b' (temp bool) 0:139 'b' (temp bool)
0:141 Branch: Return with expression 0:141 Sequence
0:141 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:141 'input' (in 4-component vector of float) 0:141 'input' (in 4-component vector of float)
0:141 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -705,19 +708,22 @@ gl_FragCoord origin is upper left ...@@ -705,19 +708,22 @@ gl_FragCoord origin is upper left
0:139 Construct bool (in 1-component vector of bool) 0:139 Construct bool (in 1-component vector of bool)
0:139 Construct bvec3 (temp 3-component vector of bool) 0:139 Construct bvec3 (temp 3-component vector of bool)
0:139 'b' (temp bool) 0:139 'b' (temp bool)
0:141 Branch: Return with expression 0:141 Sequence
0:141 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:141 'input' (in 4-component vector of float) 0:141 'input' (in 4-component vector of float)
0:141 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 507 // Id's are bound by 509
Capability Shader Capability Shader
Capability Float64 Capability Float64
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 504 EntryPoint Fragment 4 "PixelShaderFunction" 504 506
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction" Name 4 "PixelShaderFunction"
Name 13 "foo1(d1;b1;" Name 13 "foo1(d1;b1;"
...@@ -901,7 +907,8 @@ gl_FragCoord origin is upper left ...@@ -901,7 +907,8 @@ gl_FragCoord origin is upper left
Name 491 "param" Name 491 "param"
Name 494 "param" Name 494 "param"
Name 500 "param" Name 500 "param"
Name 504 "input" Name 504 "@entryPointOutput"
Name 506 "input"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 64 6: TypeFloat 64
...@@ -953,8 +960,10 @@ gl_FragCoord origin is upper left ...@@ -953,8 +960,10 @@ gl_FragCoord origin is upper left
488: TypeVector 22(int) 4 488: TypeVector 22(int) 4
497: TypeVector 8(bool) 3 497: TypeVector 8(bool) 3
502: TypeVector 29(float) 4 502: TypeVector 29(float) 4
503: TypePointer Input 502(fvec4) 503: TypePointer Output 502(fvec4)
504(input): 503(ptr) Variable Input 504(@entryPointOutput): 503(ptr) Variable Output
505: TypePointer Input 502(fvec4)
506(input): 505(ptr) Variable Input
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
149(d): 7(ptr) Variable Function 149(d): 7(ptr) Variable Function
...@@ -1401,8 +1410,9 @@ gl_FragCoord origin is upper left ...@@ -1401,8 +1410,9 @@ gl_FragCoord origin is upper left
499: 8(bool) CompositeExtract 498 0 499: 8(bool) CompositeExtract 498 0
Store 500(param) 499 Store 500(param) 499
501: 2 FunctionCall 147(foo15(vb1;) 500(param) 501: 2 FunctionCall 147(foo15(vb1;) 500(param)
505: 502(fvec4) Load 504(input) 507: 502(fvec4) Load 506(input)
ReturnValue 505 Store 504(@entryPointOutput) 507
Return
FunctionEnd FunctionEnd
13(foo1(d1;b1;): 2 Function None 10 13(foo1(d1;b1;): 2 Function None 10
11(a): 7(ptr) FunctionParameter 11(a): 7(ptr) FunctionParameter
......
...@@ -31,8 +31,11 @@ gl_FragCoord origin is upper left ...@@ -31,8 +31,11 @@ gl_FragCoord origin is upper left
0:127 1 (const int) 0:127 1 (const int)
0:127 Constant: 0:127 Constant:
0:127 1.000000 0:127 1.000000
0:129 Branch: Return with expression 0:129 Sequence
0:129 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:129 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:129 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:129 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -71,18 +74,21 @@ gl_FragCoord origin is upper left ...@@ -71,18 +74,21 @@ gl_FragCoord origin is upper left
0:127 1 (const int) 0:127 1 (const int)
0:127 Constant: 0:127 Constant:
0:127 1.000000 0:127 1.000000
0:129 Branch: Return with expression 0:129 Sequence
0:129 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:129 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:129 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:129 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 28 // Id's are bound by 30
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 27
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 8 "thisLineIs" Name 8 "thisLineIs"
...@@ -90,6 +96,7 @@ gl_FragCoord origin is upper left ...@@ -90,6 +96,7 @@ gl_FragCoord origin is upper left
MemberName 12(PS_OUTPUT) 0 "Color" MemberName 12(PS_OUTPUT) 0 "Color"
MemberName 12(PS_OUTPUT) 1 "Depth" MemberName 12(PS_OUTPUT) 1 "Depth"
Name 14 "psout" Name 14 "psout"
Name 27 "@entryPointOutput"
MemberDecorate 12(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 12(PS_OUTPUT) 1 BuiltIn FragDepth
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
...@@ -106,6 +113,8 @@ gl_FragCoord origin is upper left ...@@ -106,6 +113,8 @@ gl_FragCoord origin is upper left
21: TypePointer Function 11(fvec4) 21: TypePointer Function 11(fvec4)
23: 6(int) Constant 1 23: 6(int) Constant 1
24: TypePointer Function 10(float) 24: TypePointer Function 10(float)
26: TypePointer Output 12(PS_OUTPUT)
27(@entryPointOutput): 26(ptr) Variable Output
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
8(thisLineIs): 7(ptr) Variable Function 8(thisLineIs): 7(ptr) Variable Function
...@@ -118,6 +127,7 @@ gl_FragCoord origin is upper left ...@@ -118,6 +127,7 @@ gl_FragCoord origin is upper left
Store 22 20 Store 22 20
25: 24(ptr) AccessChain 14(psout) 23 25: 24(ptr) AccessChain 14(psout) 23
Store 25 19 Store 25 19
26:12(PS_OUTPUT) Load 14(psout) 28:12(PS_OUTPUT) Load 14(psout)
ReturnValue 26 Store 27(@entryPointOutput) 28
Return
FunctionEnd FunctionEnd
...@@ -9,7 +9,9 @@ gl_FragCoord origin is upper left ...@@ -9,7 +9,9 @@ gl_FragCoord origin is upper left
0:7 'a3' (in 4-component vector of float) 0:7 'a3' (in 4-component vector of float)
0:7 'a4' (in 4-component vector of float) 0:7 'a4' (in 4-component vector of float)
0:? Sequence 0:? Sequence
0:8 Branch: Return with expression 0:8 Sequence
0:8 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:8 add (temp 4-component vector of float) 0:8 add (temp 4-component vector of float)
0:8 add (temp 4-component vector of float) 0:8 add (temp 4-component vector of float)
0:8 add (temp 4-component vector of float) 0:8 add (temp 4-component vector of float)
...@@ -42,6 +44,7 @@ gl_FragCoord origin is upper left ...@@ -42,6 +44,7 @@ gl_FragCoord origin is upper left
0:8 'a3' (in 4-component vector of float) 0:8 'a3' (in 4-component vector of float)
0:8 Constant: 0:8 Constant:
0:8 3 (const int) 0:8 3 (const int)
0:8 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -58,7 +61,9 @@ gl_FragCoord origin is upper left ...@@ -58,7 +61,9 @@ gl_FragCoord origin is upper left
0:7 'a3' (in 4-component vector of float) 0:7 'a3' (in 4-component vector of float)
0:7 'a4' (in 4-component vector of float) 0:7 'a4' (in 4-component vector of float)
0:? Sequence 0:? Sequence
0:8 Branch: Return with expression 0:8 Sequence
0:8 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:8 add (temp 4-component vector of float) 0:8 add (temp 4-component vector of float)
0:8 add (temp 4-component vector of float) 0:8 add (temp 4-component vector of float)
0:8 add (temp 4-component vector of float) 0:8 add (temp 4-component vector of float)
...@@ -91,55 +96,60 @@ gl_FragCoord origin is upper left ...@@ -91,55 +96,60 @@ gl_FragCoord origin is upper left
0:8 'a3' (in 4-component vector of float) 0:8 'a3' (in 4-component vector of float)
0:8 Constant: 0:8 Constant:
0:8 3 (const int) 0:8 3 (const int)
0:8 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 37 // Id's are bound by 39
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 9 11 13 17 EntryPoint Fragment 4 "PixelShaderFunction" 9 11 13 15 19
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction" Name 4 "PixelShaderFunction"
Name 9 "a1" Name 9 "@entryPointOutput"
Name 11 "a2" Name 11 "a1"
Name 13 "a3" Name 13 "a2"
Name 17 "a4" Name 15 "a3"
Name 19 "a4"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
7: TypeVector 6(float) 4 7: TypeVector 6(float) 4
8: TypePointer Input 7(fvec4) 8: TypePointer Output 7(fvec4)
9(a1): 8(ptr) Variable Input 9(@entryPointOutput): 8(ptr) Variable Output
11(a2): 8(ptr) Variable Input 10: TypePointer Input 7(fvec4)
13(a3): 8(ptr) Variable Input 11(a1): 10(ptr) Variable Input
17(a4): 8(ptr) Variable Input 13(a2): 10(ptr) Variable Input
20: TypeVector 6(float) 3 15(a3): 10(ptr) Variable Input
26: TypeInt 32 0 19(a4): 10(ptr) Variable Input
27: 26(int) Constant 3 22: TypeVector 6(float) 3
28: TypePointer Input 6(float) 28: TypeInt 32 0
29: 28(int) Constant 3
30: TypePointer Input 6(float)
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
10: 7(fvec4) Load 9(a1) 12: 7(fvec4) Load 11(a1)
12: 7(fvec4) Load 11(a2) 14: 7(fvec4) Load 13(a2)
14: 7(fvec4) Load 13(a3) 16: 7(fvec4) Load 15(a3)
15: 7(fvec4) FMul 12 14 17: 7(fvec4) FMul 14 16
16: 7(fvec4) FAdd 10 15 18: 7(fvec4) FAdd 12 17
18: 7(fvec4) Load 17(a4) 20: 7(fvec4) Load 19(a4)
19: 7(fvec4) FAdd 16 18 21: 7(fvec4) FAdd 18 20
21: 7(fvec4) Load 9(a1) 23: 7(fvec4) Load 11(a1)
22: 20(fvec3) VectorShuffle 21 21 0 1 2 24: 22(fvec3) VectorShuffle 23 23 0 1 2
23: 7(fvec4) Load 11(a2) 25: 7(fvec4) Load 13(a2)
24: 20(fvec3) VectorShuffle 23 23 0 1 2 26: 22(fvec3) VectorShuffle 25 25 0 1 2
25: 20(fvec3) FMul 22 24 27: 22(fvec3) FMul 24 26
29: 28(ptr) AccessChain 13(a3) 27 31: 30(ptr) AccessChain 15(a3) 29
30: 6(float) Load 29 32: 6(float) Load 31
31: 6(float) CompositeExtract 25 0 33: 6(float) CompositeExtract 27 0
32: 6(float) CompositeExtract 25 1 34: 6(float) CompositeExtract 27 1
33: 6(float) CompositeExtract 25 2 35: 6(float) CompositeExtract 27 2
34: 7(fvec4) CompositeConstruct 31 32 33 30 36: 7(fvec4) CompositeConstruct 33 34 35 32
35: 7(fvec4) FAdd 19 34 37: 7(fvec4) FAdd 21 36
ReturnValue 35 Store 9(@entryPointOutput) 37
Return
FunctionEnd FunctionEnd
...@@ -9,7 +9,9 @@ gl_FragCoord origin is upper left ...@@ -9,7 +9,9 @@ gl_FragCoord origin is upper left
0:7 'a3' (in int) 0:7 'a3' (in int)
0:7 'a4' (in int) 0:7 'a4' (in int)
0:? Sequence 0:? Sequence
0:8 Branch: Return with expression 0:8 Sequence
0:8 move second child to first child (temp int)
0:? '@entryPointOutput' (out int)
0:8 add (temp int) 0:8 add (temp int)
0:8 left-shift (temp int) 0:8 left-shift (temp int)
0:8 add (temp int) 0:8 add (temp int)
...@@ -25,6 +27,7 @@ gl_FragCoord origin is upper left ...@@ -25,6 +27,7 @@ gl_FragCoord origin is upper left
0:8 component-wise multiply (temp int) 0:8 component-wise multiply (temp int)
0:8 'a3' (in int) 0:8 'a3' (in int)
0:8 'a4' (in int) 0:8 'a4' (in int)
0:8 Branch: Return
0:? Linker Objects 0:? Linker Objects
...@@ -41,7 +44,9 @@ gl_FragCoord origin is upper left ...@@ -41,7 +44,9 @@ gl_FragCoord origin is upper left
0:7 'a3' (in int) 0:7 'a3' (in int)
0:7 'a4' (in int) 0:7 'a4' (in int)
0:? Sequence 0:? Sequence
0:8 Branch: Return with expression 0:8 Sequence
0:8 move second child to first child (temp int)
0:? '@entryPointOutput' (out int)
0:8 add (temp int) 0:8 add (temp int)
0:8 left-shift (temp int) 0:8 left-shift (temp int)
0:8 add (temp int) 0:8 add (temp int)
...@@ -57,46 +62,51 @@ gl_FragCoord origin is upper left ...@@ -57,46 +62,51 @@ gl_FragCoord origin is upper left
0:8 component-wise multiply (temp int) 0:8 component-wise multiply (temp int)
0:8 'a3' (in int) 0:8 'a3' (in int)
0:8 'a4' (in int) 0:8 'a4' (in int)
0:8 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 28 // Id's are bound by 30
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 8 10 13 16 EntryPoint Fragment 4 "PixelShaderFunction" 8 10 12 15 18
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction" Name 4 "PixelShaderFunction"
Name 8 "a1" Name 8 "@entryPointOutput"
Name 10 "a2" Name 10 "a1"
Name 13 "a3" Name 12 "a2"
Name 16 "a4" Name 15 "a3"
Name 18 "a4"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeInt 32 1 6: TypeInt 32 1
7: TypePointer Input 6(int) 7: TypePointer Output 6(int)
8(a1): 7(ptr) Variable Input 8(@entryPointOutput): 7(ptr) Variable Output
10(a2): 7(ptr) Variable Input 9: TypePointer Input 6(int)
13(a3): 7(ptr) Variable Input 10(a1): 9(ptr) Variable Input
16(a4): 7(ptr) Variable Input 12(a2): 9(ptr) Variable Input
15(a3): 9(ptr) Variable Input
18(a4): 9(ptr) Variable Input
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
9: 6(int) Load 8(a1) 11: 6(int) Load 10(a1)
11: 6(int) Load 10(a2) 13: 6(int) Load 12(a2)
12: 6(int) IMul 9 11 14: 6(int) IMul 11 13
14: 6(int) Load 13(a3) 16: 6(int) Load 15(a3)
15: 6(int) IAdd 12 14 17: 6(int) IAdd 14 16
17: 6(int) Load 16(a4) 19: 6(int) Load 18(a4)
18: 6(int) ShiftLeftLogical 15 17 20: 6(int) ShiftLeftLogical 17 19
19: 6(int) Load 8(a1) 21: 6(int) Load 10(a1)
20: 6(int) Load 10(a2) 22: 6(int) Load 12(a2)
21: 6(int) Load 13(a3) 23: 6(int) Load 15(a3)
22: 6(int) Load 16(a4) 24: 6(int) Load 18(a4)
23: 6(int) IMul 21 22 25: 6(int) IMul 23 24
24: 6(int) IAdd 20 23 26: 6(int) IAdd 22 25
25: 6(int) ShiftLeftLogical 19 24 27: 6(int) ShiftLeftLogical 21 26
26: 6(int) IAdd 18 25 28: 6(int) IAdd 20 27
ReturnValue 26 Store 8(@entryPointOutput) 28
Return
FunctionEnd FunctionEnd
...@@ -19,8 +19,11 @@ gl_FragCoord origin is upper left ...@@ -19,8 +19,11 @@ gl_FragCoord origin is upper left
0:11 1.000000 0:11 1.000000
0:11 1.000000 0:11 1.000000
0:11 1.000000 0:11 1.000000
0:12 Branch: Return with expression 0:12 Sequence
0:12 move second child to first child (temp structure{noContraction temp 4-component vector of float color})
0:? '@entryPointOutput' (out structure{noContraction temp 4-component vector of float color})
0:12 'ps_output' (temp structure{noContraction temp 4-component vector of float color}) 0:12 'ps_output' (temp structure{noContraction temp 4-component vector of float color})
0:12 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'precisefloat' (noContraction global float) 0:? 'precisefloat' (noContraction global float)
...@@ -48,19 +51,22 @@ gl_FragCoord origin is upper left ...@@ -48,19 +51,22 @@ gl_FragCoord origin is upper left
0:11 1.000000 0:11 1.000000
0:11 1.000000 0:11 1.000000
0:11 1.000000 0:11 1.000000
0:12 Branch: Return with expression 0:12 Sequence
0:12 move second child to first child (temp structure{noContraction temp 4-component vector of float color})
0:? '@entryPointOutput' (out structure{noContraction temp 4-component vector of float color})
0:12 'ps_output' (temp structure{noContraction temp 4-component vector of float color}) 0:12 'ps_output' (temp structure{noContraction temp 4-component vector of float color})
0:12 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'precisefloat' (noContraction global float) 0:? 'precisefloat' (noContraction global float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 29 // Id's are bound by 31
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 26
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 13 "MyFunction(f1;vf3;" Name 13 "MyFunction(f1;vf3;"
...@@ -69,7 +75,8 @@ gl_FragCoord origin is upper left ...@@ -69,7 +75,8 @@ gl_FragCoord origin is upper left
Name 16 "PS_OUTPUT" Name 16 "PS_OUTPUT"
MemberName 16(PS_OUTPUT) 0 "color" MemberName 16(PS_OUTPUT) 0 "color"
Name 18 "ps_output" Name 18 "ps_output"
Name 28 "precisefloat" Name 26 "@entryPointOutput"
Name 30 "precisefloat"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -85,15 +92,18 @@ gl_FragCoord origin is upper left ...@@ -85,15 +92,18 @@ gl_FragCoord origin is upper left
21: 6(float) Constant 1065353216 21: 6(float) Constant 1065353216
22: 15(fvec4) ConstantComposite 21 21 21 21 22: 15(fvec4) ConstantComposite 21 21 21 21
23: TypePointer Function 15(fvec4) 23: TypePointer Function 15(fvec4)
27: TypePointer Private 6(float) 25: TypePointer Output 16(PS_OUTPUT)
28(precisefloat): 27(ptr) Variable Private 26(@entryPointOutput): 25(ptr) Variable Output
29: TypePointer Private 6(float)
30(precisefloat): 29(ptr) Variable Private
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
18(ps_output): 17(ptr) Variable Function 18(ps_output): 17(ptr) Variable Function
24: 23(ptr) AccessChain 18(ps_output) 20 24: 23(ptr) AccessChain 18(ps_output) 20
Store 24 22 Store 24 22
25:16(PS_OUTPUT) Load 18(ps_output) 27:16(PS_OUTPUT) Load 18(ps_output)
ReturnValue 25 Store 26(@entryPointOutput) 27
Return
FunctionEnd FunctionEnd
13(MyFunction(f1;vf3;): 2 Function None 10 13(MyFunction(f1;vf3;): 2 Function None 10
11(myfloat): 7(ptr) FunctionParameter 11(myfloat): 7(ptr) FunctionParameter
......
...@@ -496,8 +496,11 @@ gl_FragCoord origin is upper left ...@@ -496,8 +496,11 @@ gl_FragCoord origin is upper left
0:199 Constant: 0:199 Constant:
0:199 0 (const int) 0:199 0 (const int)
0:199 'outval' (temp 4-component vector of float) 0:199 'outval' (temp 4-component vector of float)
0:200 Branch: Return with expression 0:200 Sequence
0:200 move second child to first child (temp structure{temp 4-component vector of float Color})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color})
0:200 'psout' (temp structure{temp 4-component vector of float Color}) 0:200 'psout' (temp structure{temp 4-component vector of float Color})
0:200 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'i3' (uniform 3-component vector of int) 0:? 'i3' (uniform 3-component vector of int)
0:? 'b3' (uniform 3-component vector of bool) 0:? 'b3' (uniform 3-component vector of bool)
...@@ -1011,8 +1014,11 @@ gl_FragCoord origin is upper left ...@@ -1011,8 +1014,11 @@ gl_FragCoord origin is upper left
0:199 Constant: 0:199 Constant:
0:199 0 (const int) 0:199 0 (const int)
0:199 'outval' (temp 4-component vector of float) 0:199 'outval' (temp 4-component vector of float)
0:200 Branch: Return with expression 0:200 Sequence
0:200 move second child to first child (temp structure{temp 4-component vector of float Color})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color})
0:200 'psout' (temp structure{temp 4-component vector of float Color}) 0:200 'psout' (temp structure{temp 4-component vector of float Color})
0:200 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'i3' (uniform 3-component vector of int) 0:? 'i3' (uniform 3-component vector of int)
0:? 'b3' (uniform 3-component vector of bool) 0:? 'b3' (uniform 3-component vector of bool)
...@@ -1027,13 +1033,13 @@ gl_FragCoord origin is upper left ...@@ -1027,13 +1033,13 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 478 // Id's are bound by 480
Capability Shader Capability Shader
Capability Float64 Capability Float64
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 477
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 11 "Fn_F3(vf3;" Name 11 "Fn_F3(vf3;"
...@@ -1122,6 +1128,7 @@ gl_FragCoord origin is upper left ...@@ -1122,6 +1128,7 @@ gl_FragCoord origin is upper left
Name 471 "PS_OUTPUT" Name 471 "PS_OUTPUT"
MemberName 471(PS_OUTPUT) 0 "Color" MemberName 471(PS_OUTPUT) 0 "Color"
Name 473 "psout" Name 473 "psout"
Name 477 "@entryPointOutput"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -1192,6 +1199,8 @@ gl_FragCoord origin is upper left ...@@ -1192,6 +1199,8 @@ gl_FragCoord origin is upper left
465: 6(float) Constant 1080452710 465: 6(float) Constant 1080452710
471(PS_OUTPUT): TypeStruct 462(fvec4) 471(PS_OUTPUT): TypeStruct 462(fvec4)
472: TypePointer Function 471(PS_OUTPUT) 472: TypePointer Function 471(PS_OUTPUT)
476: TypePointer Output 471(PS_OUTPUT)
477(@entryPointOutput): 476(ptr) Variable Output
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
252(r00): 8(ptr) Variable Function 252(r00): 8(ptr) Variable Function
...@@ -1457,8 +1466,9 @@ gl_FragCoord origin is upper left ...@@ -1457,8 +1466,9 @@ gl_FragCoord origin is upper left
474: 462(fvec4) Load 464(outval) 474: 462(fvec4) Load 464(outval)
475: 463(ptr) AccessChain 473(psout) 149 475: 463(ptr) AccessChain 473(psout) 149
Store 475 474 Store 475 474
476:471(PS_OUTPUT) Load 473(psout) 478:471(PS_OUTPUT) Load 473(psout)
ReturnValue 476 Store 477(@entryPointOutput) 478
Return
FunctionEnd FunctionEnd
11(Fn_F3(vf3;): 2 Function None 9 11(Fn_F3(vf3;): 2 Function None 9
10(x): 8(ptr) FunctionParameter 10(x): 8(ptr) FunctionParameter
......
...@@ -121,8 +121,11 @@ gl_FragCoord origin is upper left ...@@ -121,8 +121,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int) 0:40 1 (const int)
0:40 Constant: 0:40 Constant:
0:40 1.000000 0:40 1.000000
0:42 Branch: Return with expression 0:42 Sequence
0:42 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -262,8 +265,11 @@ gl_FragCoord origin is upper left ...@@ -262,8 +265,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int) 0:40 1 (const int)
0:40 Constant: 0:40 Constant:
0:40 1.000000 0:40 1.000000
0:42 Branch: Return with expression 0:42 Sequence
0:42 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -279,14 +285,14 @@ gl_FragCoord origin is upper left ...@@ -279,14 +285,14 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 132 // Id's are bound by 134
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
Capability SampledCubeArray Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 130
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "txval10" Name 9 "txval10"
...@@ -312,7 +318,8 @@ gl_FragCoord origin is upper left ...@@ -312,7 +318,8 @@ gl_FragCoord origin is upper left
MemberName 120(PS_OUTPUT) 0 "Color" MemberName 120(PS_OUTPUT) 0 "Color"
MemberName 120(PS_OUTPUT) 1 "Depth" MemberName 120(PS_OUTPUT) 1 "Depth"
Name 122 "psout" Name 122 "psout"
Name 131 "g_tTex1df4a" Name 130 "@entryPointOutput"
Name 133 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0 Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0 Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
...@@ -326,8 +333,8 @@ gl_FragCoord origin is upper left ...@@ -326,8 +333,8 @@ gl_FragCoord origin is upper left
Decorate 100(g_tTexcdi4) DescriptorSet 0 Decorate 100(g_tTexcdi4) DescriptorSet 0
Decorate 110(g_tTexcdu4) DescriptorSet 0 Decorate 110(g_tTexcdu4) DescriptorSet 0
MemberDecorate 120(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 120(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 131(g_tTex1df4a) DescriptorSet 0 Decorate 133(g_tTex1df4a) DescriptorSet 0
Decorate 131(g_tTex1df4a) Binding 1 Decorate 133(g_tTex1df4a) Binding 1
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -405,7 +412,9 @@ gl_FragCoord origin is upper left ...@@ -405,7 +412,9 @@ gl_FragCoord origin is upper left
124: 7(fvec4) ConstantComposite 117 117 117 117 124: 7(fvec4) ConstantComposite 117 117 117 117
126: 25(int) Constant 1 126: 25(int) Constant 1
127: TypePointer Function 6(float) 127: TypePointer Function 6(float)
131(g_tTex1df4a): 11(ptr) Variable UniformConstant 129: TypePointer Output 120(PS_OUTPUT)
130(@entryPointOutput): 129(ptr) Variable Output
133(g_tTex1df4a): 11(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval10): 8(ptr) Variable Function 9(txval10): 8(ptr) Variable Function
...@@ -467,6 +476,7 @@ gl_FragCoord origin is upper left ...@@ -467,6 +476,7 @@ gl_FragCoord origin is upper left
Store 125 124 Store 125 124
128: 127(ptr) AccessChain 122(psout) 126 128: 127(ptr) AccessChain 122(psout) 126
Store 128 117 Store 128 117
129:120(PS_OUTPUT) Load 122(psout) 131:120(PS_OUTPUT) Load 122(psout)
ReturnValue 129 Store 130(@entryPointOutput) 131
Return
FunctionEnd FunctionEnd
...@@ -231,8 +231,11 @@ gl_FragCoord origin is upper left ...@@ -231,8 +231,11 @@ gl_FragCoord origin is upper left
0:87 1 (const int) 0:87 1 (const int)
0:87 Constant: 0:87 Constant:
0:87 1.000000 0:87 1.000000
0:89 Branch: Return with expression 0:89 Sequence
0:89 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:89 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:89 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:89 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler) 0:? 'g_sSamp2d' (uniform sampler)
...@@ -485,8 +488,11 @@ gl_FragCoord origin is upper left ...@@ -485,8 +488,11 @@ gl_FragCoord origin is upper left
0:87 1 (const int) 0:87 1 (const int)
0:87 Constant: 0:87 Constant:
0:87 1.000000 0:87 1.000000
0:89 Branch: Return with expression 0:89 Sequence
0:89 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:89 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:89 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:89 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler) 0:? 'g_sSamp2d' (uniform sampler)
...@@ -507,13 +513,13 @@ gl_FragCoord origin is upper left ...@@ -507,13 +513,13 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 184 // Id's are bound by 186
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 180
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 7 "MemberTest" Name 7 "MemberTest"
...@@ -559,9 +565,10 @@ gl_FragCoord origin is upper left ...@@ -559,9 +565,10 @@ gl_FragCoord origin is upper left
MemberName 171(PS_OUTPUT) 0 "Color" MemberName 171(PS_OUTPUT) 0 "Color"
MemberName 171(PS_OUTPUT) 1 "Depth" MemberName 171(PS_OUTPUT) 1 "Depth"
Name 173 "psout" Name 173 "psout"
Name 181 "g_sSamp2d" Name 180 "@entryPointOutput"
Name 182 "g_sSamp2D_b" Name 183 "g_sSamp2d"
Name 183 "g_tTex1df4a" Name 184 "g_sSamp2D_b"
Name 185 "g_tTex1df4a"
Decorate 41(g_tTex1df4) DescriptorSet 0 Decorate 41(g_tTex1df4) DescriptorSet 0
Decorate 41(g_tTex1df4) Binding 0 Decorate 41(g_tTex1df4) Binding 0
Decorate 45(g_sSamp) DescriptorSet 0 Decorate 45(g_sSamp) DescriptorSet 0
...@@ -578,10 +585,10 @@ gl_FragCoord origin is upper left ...@@ -578,10 +585,10 @@ gl_FragCoord origin is upper left
Decorate 156(g_tTexcdi4) DescriptorSet 0 Decorate 156(g_tTexcdi4) DescriptorSet 0
Decorate 165(g_tTexcdu4) DescriptorSet 0 Decorate 165(g_tTexcdu4) DescriptorSet 0
MemberDecorate 171(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 171(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 181(g_sSamp2d) DescriptorSet 0 Decorate 183(g_sSamp2d) DescriptorSet 0
Decorate 182(g_sSamp2D_b) DescriptorSet 0 Decorate 184(g_sSamp2D_b) DescriptorSet 0
Decorate 183(g_tTex1df4a) DescriptorSet 0 Decorate 185(g_tTex1df4a) DescriptorSet 0
Decorate 183(g_tTex1df4a) Binding 1 Decorate 185(g_tTex1df4a) Binding 1
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeInt 32 1 6: TypeInt 32 1
...@@ -681,9 +688,11 @@ gl_FragCoord origin is upper left ...@@ -681,9 +688,11 @@ gl_FragCoord origin is upper left
174: 35(float) Constant 1065353216 174: 35(float) Constant 1065353216
175: 36(fvec4) ConstantComposite 174 174 174 174 175: 36(fvec4) ConstantComposite 174 174 174 174
177: TypePointer Function 35(float) 177: TypePointer Function 35(float)
181(g_sSamp2d): 44(ptr) Variable UniformConstant 179: TypePointer Output 171(PS_OUTPUT)
182(g_sSamp2D_b): 44(ptr) Variable UniformConstant 180(@entryPointOutput): 179(ptr) Variable Output
183(g_tTex1df4a): 40(ptr) Variable UniformConstant 183(g_sSamp2d): 44(ptr) Variable UniformConstant
184(g_sSamp2D_b): 44(ptr) Variable UniformConstant
185(g_tTex1df4a): 40(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(mtest): 8(ptr) Variable Function 9(mtest): 8(ptr) Variable Function
...@@ -788,6 +797,7 @@ gl_FragCoord origin is upper left ...@@ -788,6 +797,7 @@ gl_FragCoord origin is upper left
Store 176 175 Store 176 175
178: 177(ptr) AccessChain 173(psout) 10 178: 177(ptr) AccessChain 173(psout) 10
Store 178 174 Store 178 174
179:171(PS_OUTPUT) Load 173(psout) 181:171(PS_OUTPUT) Load 173(psout)
ReturnValue 179 Store 180(@entryPointOutput) 181
Return
FunctionEnd FunctionEnd
...@@ -139,8 +139,11 @@ gl_FragCoord origin is upper left ...@@ -139,8 +139,11 @@ gl_FragCoord origin is upper left
0:46 1 (const int) 0:46 1 (const int)
0:46 Constant: 0:46 Constant:
0:46 1.000000 0:46 1.000000
0:48 Branch: Return with expression 0:48 Sequence
0:48 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:48 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
...@@ -301,8 +304,11 @@ gl_FragCoord origin is upper left ...@@ -301,8 +304,11 @@ gl_FragCoord origin is upper left
0:46 1 (const int) 0:46 1 (const int)
0:46 Constant: 0:46 Constant:
0:46 1.000000 0:46 1.000000
0:48 Branch: Return with expression 0:48 Sequence
0:48 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:48 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
...@@ -321,13 +327,13 @@ gl_FragCoord origin is upper left ...@@ -321,13 +327,13 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 147 // Id's are bound by 149
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 136
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "txval10" Name 9 "txval10"
...@@ -353,10 +359,11 @@ gl_FragCoord origin is upper left ...@@ -353,10 +359,11 @@ gl_FragCoord origin is upper left
MemberName 127(PS_OUTPUT) 0 "Color" MemberName 127(PS_OUTPUT) 0 "Color"
MemberName 127(PS_OUTPUT) 1 "Depth" MemberName 127(PS_OUTPUT) 1 "Depth"
Name 129 "psout" Name 129 "psout"
Name 137 "g_tTex1df4a" Name 136 "@entryPointOutput"
Name 140 "g_tTexcdf4" Name 139 "g_tTex1df4a"
Name 143 "g_tTexcdi4" Name 142 "g_tTexcdf4"
Name 146 "g_tTexcdu4" Name 145 "g_tTexcdi4"
Name 148 "g_tTexcdu4"
Decorate 12(g_tTex1df4) DescriptorSet 0 Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0 Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
...@@ -370,11 +377,11 @@ gl_FragCoord origin is upper left ...@@ -370,11 +377,11 @@ gl_FragCoord origin is upper left
Decorate 105(g_tTex3di4) DescriptorSet 0 Decorate 105(g_tTex3di4) DescriptorSet 0
Decorate 116(g_tTex3du4) DescriptorSet 0 Decorate 116(g_tTex3du4) DescriptorSet 0
MemberDecorate 127(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 127(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 137(g_tTex1df4a) DescriptorSet 0 Decorate 139(g_tTex1df4a) DescriptorSet 0
Decorate 137(g_tTex1df4a) Binding 1 Decorate 139(g_tTex1df4a) Binding 1
Decorate 140(g_tTexcdf4) DescriptorSet 0 Decorate 142(g_tTexcdf4) DescriptorSet 0
Decorate 143(g_tTexcdi4) DescriptorSet 0 Decorate 145(g_tTexcdi4) DescriptorSet 0
Decorate 146(g_tTexcdu4) DescriptorSet 0 Decorate 148(g_tTexcdu4) DescriptorSet 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -458,16 +465,18 @@ gl_FragCoord origin is upper left ...@@ -458,16 +465,18 @@ gl_FragCoord origin is upper left
130: 6(float) Constant 1065353216 130: 6(float) Constant 1065353216
131: 7(fvec4) ConstantComposite 130 130 130 130 131: 7(fvec4) ConstantComposite 130 130 130 130
133: TypePointer Function 6(float) 133: TypePointer Function 6(float)
137(g_tTex1df4a): 11(ptr) Variable UniformConstant 135: TypePointer Output 127(PS_OUTPUT)
138: TypeImage 6(float) Cube sampled format:Unknown 136(@entryPointOutput): 135(ptr) Variable Output
139: TypePointer UniformConstant 138 139(g_tTex1df4a): 11(ptr) Variable UniformConstant
140(g_tTexcdf4): 139(ptr) Variable UniformConstant 140: TypeImage 6(float) Cube sampled format:Unknown
141: TypeImage 21(int) Cube sampled format:Unknown 141: TypePointer UniformConstant 140
142: TypePointer UniformConstant 141 142(g_tTexcdf4): 141(ptr) Variable UniformConstant
143(g_tTexcdi4): 142(ptr) Variable UniformConstant 143: TypeImage 21(int) Cube sampled format:Unknown
144: TypeImage 36(int) Cube sampled format:Unknown 144: TypePointer UniformConstant 143
145: TypePointer UniformConstant 144 145(g_tTexcdi4): 144(ptr) Variable UniformConstant
146(g_tTexcdu4): 145(ptr) Variable UniformConstant 146: TypeImage 36(int) Cube sampled format:Unknown
147: TypePointer UniformConstant 146
148(g_tTexcdu4): 147(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval10): 8(ptr) Variable Function 9(txval10): 8(ptr) Variable Function
...@@ -529,6 +538,7 @@ gl_FragCoord origin is upper left ...@@ -529,6 +538,7 @@ gl_FragCoord origin is upper left
Store 132 131 Store 132 131
134: 133(ptr) AccessChain 129(psout) 22 134: 133(ptr) AccessChain 129(psout) 22
Store 134 130 Store 134 130
135:127(PS_OUTPUT) Load 129(psout) 137:127(PS_OUTPUT) Load 129(psout)
ReturnValue 135 Store 136(@entryPointOutput) 137
Return
FunctionEnd FunctionEnd
...@@ -100,8 +100,11 @@ gl_FragCoord origin is upper left ...@@ -100,8 +100,11 @@ gl_FragCoord origin is upper left
0:34 1 (const int) 0:34 1 (const int)
0:34 Constant: 0:34 Constant:
0:34 1.000000 0:34 1.000000
0:36 Branch: Return with expression 0:36 Sequence
0:36 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:36 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -217,8 +220,11 @@ gl_FragCoord origin is upper left ...@@ -217,8 +220,11 @@ gl_FragCoord origin is upper left
0:34 1 (const int) 0:34 1 (const int)
0:34 Constant: 0:34 Constant:
0:34 1.000000 0:34 1.000000
0:36 Branch: Return with expression 0:36 Sequence
0:36 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:36 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -231,13 +237,13 @@ gl_FragCoord origin is upper left ...@@ -231,13 +237,13 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 104 // Id's are bound by 106
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 102
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "txval10" Name 9 "txval10"
...@@ -257,7 +263,8 @@ gl_FragCoord origin is upper left ...@@ -257,7 +263,8 @@ gl_FragCoord origin is upper left
MemberName 93(PS_OUTPUT) 0 "Color" MemberName 93(PS_OUTPUT) 0 "Color"
MemberName 93(PS_OUTPUT) 1 "Depth" MemberName 93(PS_OUTPUT) 1 "Depth"
Name 95 "psout" Name 95 "psout"
Name 103 "g_tTex1df4a" Name 102 "@entryPointOutput"
Name 105 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0 Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0 Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
...@@ -268,8 +275,8 @@ gl_FragCoord origin is upper left ...@@ -268,8 +275,8 @@ gl_FragCoord origin is upper left
Decorate 72(g_tTex2di4) DescriptorSet 0 Decorate 72(g_tTex2di4) DescriptorSet 0
Decorate 83(g_tTex2du4) DescriptorSet 0 Decorate 83(g_tTex2du4) DescriptorSet 0
MemberDecorate 93(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 93(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 103(g_tTex1df4a) DescriptorSet 0 Decorate 105(g_tTex1df4a) DescriptorSet 0
Decorate 103(g_tTex1df4a) Binding 1 Decorate 105(g_tTex1df4a) Binding 1
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -334,7 +341,9 @@ gl_FragCoord origin is upper left ...@@ -334,7 +341,9 @@ gl_FragCoord origin is upper left
96: 6(float) Constant 1065353216 96: 6(float) Constant 1065353216
97: 7(fvec4) ConstantComposite 96 96 96 96 97: 7(fvec4) ConstantComposite 96 96 96 96
99: TypePointer Function 6(float) 99: TypePointer Function 6(float)
103(g_tTex1df4a): 11(ptr) Variable UniformConstant 101: TypePointer Output 93(PS_OUTPUT)
102(@entryPointOutput): 101(ptr) Variable Output
105(g_tTex1df4a): 11(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval10): 8(ptr) Variable Function 9(txval10): 8(ptr) Variable Function
...@@ -378,6 +387,7 @@ gl_FragCoord origin is upper left ...@@ -378,6 +387,7 @@ gl_FragCoord origin is upper left
Store 98 97 Store 98 97
100: 99(ptr) AccessChain 95(psout) 39 100: 99(ptr) AccessChain 95(psout) 39
Store 100 96 Store 100 96
101:93(PS_OUTPUT) Load 95(psout) 103:93(PS_OUTPUT) Load 95(psout)
ReturnValue 101 Store 102(@entryPointOutput) 103
Return
FunctionEnd FunctionEnd
...@@ -139,8 +139,11 @@ gl_FragCoord origin is upper left ...@@ -139,8 +139,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int) 0:40 1 (const int)
0:40 Constant: 0:40 Constant:
0:40 1.000000 0:40 1.000000
0:42 Branch: Return with expression 0:42 Sequence
0:42 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -298,8 +301,11 @@ gl_FragCoord origin is upper left ...@@ -298,8 +301,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int) 0:40 1 (const int)
0:40 Constant: 0:40 Constant:
0:40 1.000000 0:40 1.000000
0:42 Branch: Return with expression 0:42 Sequence
0:42 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -315,14 +321,14 @@ gl_FragCoord origin is upper left ...@@ -315,14 +321,14 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 132 // Id's are bound by 134
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
Capability SampledCubeArray Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 130
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "txval10" Name 9 "txval10"
...@@ -348,7 +354,8 @@ gl_FragCoord origin is upper left ...@@ -348,7 +354,8 @@ gl_FragCoord origin is upper left
MemberName 120(PS_OUTPUT) 0 "Color" MemberName 120(PS_OUTPUT) 0 "Color"
MemberName 120(PS_OUTPUT) 1 "Depth" MemberName 120(PS_OUTPUT) 1 "Depth"
Name 122 "psout" Name 122 "psout"
Name 131 "g_tTex1df4a" Name 130 "@entryPointOutput"
Name 133 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0 Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0 Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
...@@ -362,8 +369,8 @@ gl_FragCoord origin is upper left ...@@ -362,8 +369,8 @@ gl_FragCoord origin is upper left
Decorate 100(g_tTexcdi4) DescriptorSet 0 Decorate 100(g_tTexcdi4) DescriptorSet 0
Decorate 110(g_tTexcdu4) DescriptorSet 0 Decorate 110(g_tTexcdu4) DescriptorSet 0
MemberDecorate 120(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 120(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 131(g_tTex1df4a) DescriptorSet 0 Decorate 133(g_tTex1df4a) DescriptorSet 0
Decorate 131(g_tTex1df4a) Binding 1 Decorate 133(g_tTex1df4a) Binding 1
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -441,7 +448,9 @@ gl_FragCoord origin is upper left ...@@ -441,7 +448,9 @@ gl_FragCoord origin is upper left
124: 7(fvec4) ConstantComposite 117 117 117 117 124: 7(fvec4) ConstantComposite 117 117 117 117
126: 26(int) Constant 1 126: 26(int) Constant 1
127: TypePointer Function 6(float) 127: TypePointer Function 6(float)
131(g_tTex1df4a): 11(ptr) Variable UniformConstant 129: TypePointer Output 120(PS_OUTPUT)
130(@entryPointOutput): 129(ptr) Variable Output
133(g_tTex1df4a): 11(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval10): 8(ptr) Variable Function 9(txval10): 8(ptr) Variable Function
...@@ -503,6 +512,7 @@ gl_FragCoord origin is upper left ...@@ -503,6 +512,7 @@ gl_FragCoord origin is upper left
Store 125 124 Store 125 124
128: 127(ptr) AccessChain 122(psout) 126 128: 127(ptr) AccessChain 122(psout) 126
Store 128 117 Store 128 117
129:120(PS_OUTPUT) Load 122(psout) 131:120(PS_OUTPUT) Load 122(psout)
ReturnValue 129 Store 130(@entryPointOutput) 131
Return
FunctionEnd FunctionEnd
...@@ -169,8 +169,11 @@ gl_FragCoord origin is upper left ...@@ -169,8 +169,11 @@ gl_FragCoord origin is upper left
0:48 1 (const int) 0:48 1 (const int)
0:48 Constant: 0:48 Constant:
0:48 1.000000 0:48 1.000000
0:50 Branch: Return with expression 0:50 Sequence
0:50 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:50 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:50 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:50 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
...@@ -361,8 +364,11 @@ gl_FragCoord origin is upper left ...@@ -361,8 +364,11 @@ gl_FragCoord origin is upper left
0:48 1 (const int) 0:48 1 (const int)
0:48 Constant: 0:48 Constant:
0:48 1.000000 0:48 1.000000
0:50 Branch: Return with expression 0:50 Sequence
0:50 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:50 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:50 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:50 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
...@@ -381,13 +387,13 @@ gl_FragCoord origin is upper left ...@@ -381,13 +387,13 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 156 // Id's are bound by 158
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 154
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "txval10" Name 9 "txval10"
...@@ -419,7 +425,8 @@ gl_FragCoord origin is upper left ...@@ -419,7 +425,8 @@ gl_FragCoord origin is upper left
MemberName 143(PS_OUTPUT) 0 "Color" MemberName 143(PS_OUTPUT) 0 "Color"
MemberName 143(PS_OUTPUT) 1 "Depth" MemberName 143(PS_OUTPUT) 1 "Depth"
Name 145 "psout" Name 145 "psout"
Name 155 "g_tTex1df4a" Name 154 "@entryPointOutput"
Name 157 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0 Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0 Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
...@@ -436,8 +443,8 @@ gl_FragCoord origin is upper left ...@@ -436,8 +443,8 @@ gl_FragCoord origin is upper left
Decorate 128(g_tTexcdi4) DescriptorSet 0 Decorate 128(g_tTexcdi4) DescriptorSet 0
Decorate 137(g_tTexcdu4) DescriptorSet 0 Decorate 137(g_tTexcdu4) DescriptorSet 0
MemberDecorate 143(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 143(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 155(g_tTex1df4a) DescriptorSet 0 Decorate 157(g_tTex1df4a) DescriptorSet 0
Decorate 155(g_tTex1df4a) Binding 1 Decorate 157(g_tTex1df4a) Binding 1
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -524,7 +531,9 @@ gl_FragCoord origin is upper left ...@@ -524,7 +531,9 @@ gl_FragCoord origin is upper left
148: 7(fvec4) ConstantComposite 147 147 147 147 148: 7(fvec4) ConstantComposite 147 147 147 147
150: 23(int) Constant 1 150: 23(int) Constant 1
151: TypePointer Function 6(float) 151: TypePointer Function 6(float)
155(g_tTex1df4a): 11(ptr) Variable UniformConstant 153: TypePointer Output 143(PS_OUTPUT)
154(@entryPointOutput): 153(ptr) Variable Output
157(g_tTex1df4a): 11(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval10): 8(ptr) Variable Function 9(txval10): 8(ptr) Variable Function
...@@ -604,6 +613,7 @@ gl_FragCoord origin is upper left ...@@ -604,6 +613,7 @@ gl_FragCoord origin is upper left
Store 149 148 Store 149 148
152: 151(ptr) AccessChain 145(psout) 150 152: 151(ptr) AccessChain 145(psout) 150
Store 152 147 Store 152 147
153:143(PS_OUTPUT) Load 145(psout) 155:143(PS_OUTPUT) Load 145(psout)
ReturnValue 153 Store 154(@entryPointOutput) 155
Return
FunctionEnd FunctionEnd
...@@ -157,8 +157,11 @@ gl_FragCoord origin is upper left ...@@ -157,8 +157,11 @@ gl_FragCoord origin is upper left
0:46 1 (const int) 0:46 1 (const int)
0:46 Constant: 0:46 Constant:
0:46 1.000000 0:46 1.000000
0:48 Branch: Return with expression 0:48 Sequence
0:48 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:48 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
...@@ -337,8 +340,11 @@ gl_FragCoord origin is upper left ...@@ -337,8 +340,11 @@ gl_FragCoord origin is upper left
0:46 1 (const int) 0:46 1 (const int)
0:46 Constant: 0:46 Constant:
0:46 1.000000 0:46 1.000000
0:48 Branch: Return with expression 0:48 Sequence
0:48 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:48 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
...@@ -357,13 +363,13 @@ gl_FragCoord origin is upper left ...@@ -357,13 +363,13 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 147 // Id's are bound by 149
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 136
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "txval10" Name 9 "txval10"
...@@ -389,10 +395,11 @@ gl_FragCoord origin is upper left ...@@ -389,10 +395,11 @@ gl_FragCoord origin is upper left
MemberName 127(PS_OUTPUT) 0 "Color" MemberName 127(PS_OUTPUT) 0 "Color"
MemberName 127(PS_OUTPUT) 1 "Depth" MemberName 127(PS_OUTPUT) 1 "Depth"
Name 129 "psout" Name 129 "psout"
Name 137 "g_tTex1df4a" Name 136 "@entryPointOutput"
Name 140 "g_tTexcdf4" Name 139 "g_tTex1df4a"
Name 143 "g_tTexcdi4" Name 142 "g_tTexcdf4"
Name 146 "g_tTexcdu4" Name 145 "g_tTexcdi4"
Name 148 "g_tTexcdu4"
Decorate 12(g_tTex1df4) DescriptorSet 0 Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0 Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
...@@ -406,11 +413,11 @@ gl_FragCoord origin is upper left ...@@ -406,11 +413,11 @@ gl_FragCoord origin is upper left
Decorate 105(g_tTex3di4) DescriptorSet 0 Decorate 105(g_tTex3di4) DescriptorSet 0
Decorate 116(g_tTex3du4) DescriptorSet 0 Decorate 116(g_tTex3du4) DescriptorSet 0
MemberDecorate 127(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 127(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 137(g_tTex1df4a) DescriptorSet 0 Decorate 139(g_tTex1df4a) DescriptorSet 0
Decorate 137(g_tTex1df4a) Binding 1 Decorate 139(g_tTex1df4a) Binding 1
Decorate 140(g_tTexcdf4) DescriptorSet 0 Decorate 142(g_tTexcdf4) DescriptorSet 0
Decorate 143(g_tTexcdi4) DescriptorSet 0 Decorate 145(g_tTexcdi4) DescriptorSet 0
Decorate 146(g_tTexcdu4) DescriptorSet 0 Decorate 148(g_tTexcdu4) DescriptorSet 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -494,16 +501,18 @@ gl_FragCoord origin is upper left ...@@ -494,16 +501,18 @@ gl_FragCoord origin is upper left
130: 6(float) Constant 1065353216 130: 6(float) Constant 1065353216
131: 7(fvec4) ConstantComposite 130 130 130 130 131: 7(fvec4) ConstantComposite 130 130 130 130
133: TypePointer Function 6(float) 133: TypePointer Function 6(float)
137(g_tTex1df4a): 11(ptr) Variable UniformConstant 135: TypePointer Output 127(PS_OUTPUT)
138: TypeImage 6(float) Cube sampled format:Unknown 136(@entryPointOutput): 135(ptr) Variable Output
139: TypePointer UniformConstant 138 139(g_tTex1df4a): 11(ptr) Variable UniformConstant
140(g_tTexcdf4): 139(ptr) Variable UniformConstant 140: TypeImage 6(float) Cube sampled format:Unknown
141: TypeImage 22(int) Cube sampled format:Unknown 141: TypePointer UniformConstant 140
142: TypePointer UniformConstant 141 142(g_tTexcdf4): 141(ptr) Variable UniformConstant
143(g_tTexcdi4): 142(ptr) Variable UniformConstant 143: TypeImage 22(int) Cube sampled format:Unknown
144: TypeImage 37(int) Cube sampled format:Unknown 144: TypePointer UniformConstant 143
145: TypePointer UniformConstant 144 145(g_tTexcdi4): 144(ptr) Variable UniformConstant
146(g_tTexcdu4): 145(ptr) Variable UniformConstant 146: TypeImage 37(int) Cube sampled format:Unknown
147: TypePointer UniformConstant 146
148(g_tTexcdu4): 147(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval10): 8(ptr) Variable Function 9(txval10): 8(ptr) Variable Function
...@@ -565,6 +574,7 @@ gl_FragCoord origin is upper left ...@@ -565,6 +574,7 @@ gl_FragCoord origin is upper left
Store 132 131 Store 132 131
134: 133(ptr) AccessChain 129(psout) 23 134: 133(ptr) AccessChain 129(psout) 23
Store 134 130 Store 134 130
135:127(PS_OUTPUT) Load 129(psout) 137:127(PS_OUTPUT) Load 129(psout)
ReturnValue 135 Store 136(@entryPointOutput) 137
Return
FunctionEnd FunctionEnd
...@@ -112,8 +112,11 @@ gl_FragCoord origin is upper left ...@@ -112,8 +112,11 @@ gl_FragCoord origin is upper left
0:34 1 (const int) 0:34 1 (const int)
0:34 Constant: 0:34 Constant:
0:34 1.000000 0:34 1.000000
0:36 Branch: Return with expression 0:36 Sequence
0:36 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:36 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -241,8 +244,11 @@ gl_FragCoord origin is upper left ...@@ -241,8 +244,11 @@ gl_FragCoord origin is upper left
0:34 1 (const int) 0:34 1 (const int)
0:34 Constant: 0:34 Constant:
0:34 1.000000 0:34 1.000000
0:36 Branch: Return with expression 0:36 Sequence
0:36 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:36 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -255,13 +261,13 @@ gl_FragCoord origin is upper left ...@@ -255,13 +261,13 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 104 // Id's are bound by 106
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 102
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "txval10" Name 9 "txval10"
...@@ -281,7 +287,8 @@ gl_FragCoord origin is upper left ...@@ -281,7 +287,8 @@ gl_FragCoord origin is upper left
MemberName 93(PS_OUTPUT) 0 "Color" MemberName 93(PS_OUTPUT) 0 "Color"
MemberName 93(PS_OUTPUT) 1 "Depth" MemberName 93(PS_OUTPUT) 1 "Depth"
Name 95 "psout" Name 95 "psout"
Name 103 "g_tTex1df4a" Name 102 "@entryPointOutput"
Name 105 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0 Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0 Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
...@@ -292,8 +299,8 @@ gl_FragCoord origin is upper left ...@@ -292,8 +299,8 @@ gl_FragCoord origin is upper left
Decorate 73(g_tTex2di4) DescriptorSet 0 Decorate 73(g_tTex2di4) DescriptorSet 0
Decorate 83(g_tTex2du4) DescriptorSet 0 Decorate 83(g_tTex2du4) DescriptorSet 0
MemberDecorate 93(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 93(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 103(g_tTex1df4a) DescriptorSet 0 Decorate 105(g_tTex1df4a) DescriptorSet 0
Decorate 103(g_tTex1df4a) Binding 1 Decorate 105(g_tTex1df4a) Binding 1
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -358,7 +365,9 @@ gl_FragCoord origin is upper left ...@@ -358,7 +365,9 @@ gl_FragCoord origin is upper left
96: 6(float) Constant 1065353216 96: 6(float) Constant 1065353216
97: 7(fvec4) ConstantComposite 96 96 96 96 97: 7(fvec4) ConstantComposite 96 96 96 96
99: TypePointer Function 6(float) 99: TypePointer Function 6(float)
103(g_tTex1df4a): 11(ptr) Variable UniformConstant 101: TypePointer Output 93(PS_OUTPUT)
102(@entryPointOutput): 101(ptr) Variable Output
105(g_tTex1df4a): 11(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval10): 8(ptr) Variable Function 9(txval10): 8(ptr) Variable Function
...@@ -402,6 +411,7 @@ gl_FragCoord origin is upper left ...@@ -402,6 +411,7 @@ gl_FragCoord origin is upper left
Store 98 97 Store 98 97
100: 99(ptr) AccessChain 95(psout) 40 100: 99(ptr) AccessChain 95(psout) 40
Store 100 96 Store 100 96
101:93(PS_OUTPUT) Load 95(psout) 103:93(PS_OUTPUT) Load 95(psout)
ReturnValue 101 Store 102(@entryPointOutput) 103
Return
FunctionEnd FunctionEnd
...@@ -175,8 +175,11 @@ gl_FragCoord origin is upper left ...@@ -175,8 +175,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int) 0:40 1 (const int)
0:40 Constant: 0:40 Constant:
0:40 1.000000 0:40 1.000000
0:42 Branch: Return with expression 0:42 Sequence
0:42 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -370,8 +373,11 @@ gl_FragCoord origin is upper left ...@@ -370,8 +373,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int) 0:40 1 (const int)
0:40 Constant: 0:40 Constant:
0:40 1.000000 0:40 1.000000
0:42 Branch: Return with expression 0:42 Sequence
0:42 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:42 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:42 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
...@@ -387,14 +393,14 @@ gl_FragCoord origin is upper left ...@@ -387,14 +393,14 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 126 // Id's are bound by 128
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
Capability SampledCubeArray Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 124
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "txval10" Name 9 "txval10"
...@@ -420,7 +426,8 @@ gl_FragCoord origin is upper left ...@@ -420,7 +426,8 @@ gl_FragCoord origin is upper left
MemberName 113(PS_OUTPUT) 0 "Color" MemberName 113(PS_OUTPUT) 0 "Color"
MemberName 113(PS_OUTPUT) 1 "Depth" MemberName 113(PS_OUTPUT) 1 "Depth"
Name 115 "psout" Name 115 "psout"
Name 125 "g_tTex1df4a" Name 124 "@entryPointOutput"
Name 127 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0 Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0 Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
...@@ -434,8 +441,8 @@ gl_FragCoord origin is upper left ...@@ -434,8 +441,8 @@ gl_FragCoord origin is upper left
Decorate 98(g_tTexcdi4) DescriptorSet 0 Decorate 98(g_tTexcdi4) DescriptorSet 0
Decorate 107(g_tTexcdu4) DescriptorSet 0 Decorate 107(g_tTexcdu4) DescriptorSet 0
MemberDecorate 113(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 113(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 125(g_tTex1df4a) DescriptorSet 0 Decorate 127(g_tTex1df4a) DescriptorSet 0
Decorate 125(g_tTex1df4a) Binding 1 Decorate 127(g_tTex1df4a) Binding 1
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -507,7 +514,9 @@ gl_FragCoord origin is upper left ...@@ -507,7 +514,9 @@ gl_FragCoord origin is upper left
118: 7(fvec4) ConstantComposite 117 117 117 117 118: 7(fvec4) ConstantComposite 117 117 117 117
120: 27(int) Constant 1 120: 27(int) Constant 1
121: TypePointer Function 6(float) 121: TypePointer Function 6(float)
125(g_tTex1df4a): 11(ptr) Variable UniformConstant 123: TypePointer Output 113(PS_OUTPUT)
124(@entryPointOutput): 123(ptr) Variable Output
127(g_tTex1df4a): 11(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval10): 8(ptr) Variable Function 9(txval10): 8(ptr) Variable Function
...@@ -569,6 +578,7 @@ gl_FragCoord origin is upper left ...@@ -569,6 +578,7 @@ gl_FragCoord origin is upper left
Store 119 118 Store 119 118
122: 121(ptr) AccessChain 115(psout) 120 122: 121(ptr) AccessChain 115(psout) 120
Store 122 117 Store 122 117
123:113(PS_OUTPUT) Load 115(psout) 125:113(PS_OUTPUT) Load 115(psout)
ReturnValue 123 Store 124(@entryPointOutput) 125
Return
FunctionEnd FunctionEnd
...@@ -223,8 +223,11 @@ gl_FragCoord origin is upper left ...@@ -223,8 +223,11 @@ gl_FragCoord origin is upper left
0:48 1 (const int) 0:48 1 (const int)
0:48 Constant: 0:48 Constant:
0:48 1.000000 0:48 1.000000
0:50 Branch: Return with expression 0:50 Sequence
0:50 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:50 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:50 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:50 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
...@@ -469,8 +472,11 @@ gl_FragCoord origin is upper left ...@@ -469,8 +472,11 @@ gl_FragCoord origin is upper left
0:48 1 (const int) 0:48 1 (const int)
0:48 Constant: 0:48 Constant:
0:48 1.000000 0:48 1.000000
0:50 Branch: Return with expression 0:50 Sequence
0:50 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:50 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:50 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:50 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
...@@ -489,13 +495,13 @@ gl_FragCoord origin is upper left ...@@ -489,13 +495,13 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 161 // Id's are bound by 163
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 159
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "txval10" Name 9 "txval10"
...@@ -527,7 +533,8 @@ gl_FragCoord origin is upper left ...@@ -527,7 +533,8 @@ gl_FragCoord origin is upper left
MemberName 148(PS_OUTPUT) 0 "Color" MemberName 148(PS_OUTPUT) 0 "Color"
MemberName 148(PS_OUTPUT) 1 "Depth" MemberName 148(PS_OUTPUT) 1 "Depth"
Name 150 "psout" Name 150 "psout"
Name 160 "g_tTex1df4a" Name 159 "@entryPointOutput"
Name 162 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0 Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0 Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
...@@ -544,8 +551,8 @@ gl_FragCoord origin is upper left ...@@ -544,8 +551,8 @@ gl_FragCoord origin is upper left
Decorate 133(g_tTexcdi4) DescriptorSet 0 Decorate 133(g_tTexcdi4) DescriptorSet 0
Decorate 142(g_tTexcdu4) DescriptorSet 0 Decorate 142(g_tTexcdu4) DescriptorSet 0
MemberDecorate 148(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 148(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 160(g_tTex1df4a) DescriptorSet 0 Decorate 162(g_tTex1df4a) DescriptorSet 0
Decorate 160(g_tTex1df4a) Binding 1 Decorate 162(g_tTex1df4a) Binding 1
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -637,7 +644,9 @@ gl_FragCoord origin is upper left ...@@ -637,7 +644,9 @@ gl_FragCoord origin is upper left
153: 7(fvec4) ConstantComposite 152 152 152 152 153: 7(fvec4) ConstantComposite 152 152 152 152
155: 24(int) Constant 1 155: 24(int) Constant 1
156: TypePointer Function 6(float) 156: TypePointer Function 6(float)
160(g_tTex1df4a): 11(ptr) Variable UniformConstant 158: TypePointer Output 148(PS_OUTPUT)
159(@entryPointOutput): 158(ptr) Variable Output
162(g_tTex1df4a): 11(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval10): 8(ptr) Variable Function 9(txval10): 8(ptr) Variable Function
...@@ -717,6 +726,7 @@ gl_FragCoord origin is upper left ...@@ -717,6 +726,7 @@ gl_FragCoord origin is upper left
Store 154 153 Store 154 153
157: 156(ptr) AccessChain 150(psout) 155 157: 156(ptr) AccessChain 150(psout) 155
Store 157 152 Store 157 152
158:148(PS_OUTPUT) Load 150(psout) 160:148(PS_OUTPUT) Load 150(psout)
ReturnValue 158 Store 159(@entryPointOutput) 160
Return
FunctionEnd FunctionEnd
...@@ -215,8 +215,11 @@ Shader version: 450 ...@@ -215,8 +215,11 @@ Shader version: 450
0:? 0.000000 0:? 0.000000
0:? 0.000000 0:? 0.000000
0:? 0.000000 0:? 0.000000
0:48 Branch: Return with expression 0:48 Sequence
0:48 move second child to first child (temp structure{temp 4-component vector of float FragCoord Pos})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float FragCoord Pos})
0:48 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos}) 0:48 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos})
0:48 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
...@@ -453,8 +456,11 @@ Shader version: 450 ...@@ -453,8 +456,11 @@ Shader version: 450
0:? 0.000000 0:? 0.000000
0:? 0.000000 0:? 0.000000
0:? 0.000000 0:? 0.000000
0:48 Branch: Return with expression 0:48 Sequence
0:48 move second child to first child (temp structure{temp 4-component vector of float FragCoord Pos})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float FragCoord Pos})
0:48 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos}) 0:48 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos})
0:48 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
...@@ -473,13 +479,13 @@ Shader version: 450 ...@@ -473,13 +479,13 @@ Shader version: 450
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 158 // Id's are bound by 160
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" EntryPoint Vertex 4 "main" 156
Name 4 "main" Name 4 "main"
Name 9 "txval10" Name 9 "txval10"
Name 12 "g_tTex1df4" Name 12 "g_tTex1df4"
...@@ -509,7 +515,8 @@ Shader version: 450 ...@@ -509,7 +515,8 @@ Shader version: 450
Name 148 "VS_OUTPUT" Name 148 "VS_OUTPUT"
MemberName 148(VS_OUTPUT) 0 "Pos" MemberName 148(VS_OUTPUT) 0 "Pos"
Name 150 "vsout" Name 150 "vsout"
Name 157 "g_tTex1df4a" Name 156 "@entryPointOutput"
Name 159 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0 Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0 Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
...@@ -526,8 +533,8 @@ Shader version: 450 ...@@ -526,8 +533,8 @@ Shader version: 450
Decorate 133(g_tTexcdi4) DescriptorSet 0 Decorate 133(g_tTexcdi4) DescriptorSet 0
Decorate 142(g_tTexcdu4) DescriptorSet 0 Decorate 142(g_tTexcdu4) DescriptorSet 0
MemberDecorate 148(VS_OUTPUT) 0 BuiltIn FragCoord MemberDecorate 148(VS_OUTPUT) 0 BuiltIn FragCoord
Decorate 157(g_tTex1df4a) DescriptorSet 0 Decorate 159(g_tTex1df4a) DescriptorSet 0
Decorate 157(g_tTex1df4a) Binding 1 Decorate 159(g_tTex1df4a) Binding 1
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -617,7 +624,9 @@ Shader version: 450 ...@@ -617,7 +624,9 @@ Shader version: 450
151: 24(int) Constant 0 151: 24(int) Constant 0
152: 6(float) Constant 0 152: 6(float) Constant 0
153: 7(fvec4) ConstantComposite 152 152 152 152 153: 7(fvec4) ConstantComposite 152 152 152 152
157(g_tTex1df4a): 11(ptr) Variable UniformConstant 155: TypePointer Output 148(VS_OUTPUT)
156(@entryPointOutput): 155(ptr) Variable Output
159(g_tTex1df4a): 11(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval10): 8(ptr) Variable Function 9(txval10): 8(ptr) Variable Function
...@@ -695,6 +704,7 @@ Shader version: 450 ...@@ -695,6 +704,7 @@ Shader version: 450
Store 139(txval42) 147 Store 139(txval42) 147
154: 8(ptr) AccessChain 150(vsout) 151 154: 8(ptr) AccessChain 150(vsout) 151
Store 154 153 Store 154 153
155:148(VS_OUTPUT) Load 150(vsout) 157:148(VS_OUTPUT) Load 150(vsout)
ReturnValue 155 Store 156(@entryPointOutput) 157
Return
FunctionEnd FunctionEnd
...@@ -193,8 +193,11 @@ gl_FragCoord origin is upper left ...@@ -193,8 +193,11 @@ gl_FragCoord origin is upper left
0:46 1 (const int) 0:46 1 (const int)
0:46 Constant: 0:46 Constant:
0:46 1.000000 0:46 1.000000
0:48 Branch: Return with expression 0:48 Sequence
0:48 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:48 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
...@@ -409,8 +412,11 @@ gl_FragCoord origin is upper left ...@@ -409,8 +412,11 @@ gl_FragCoord origin is upper left
0:46 1 (const int) 0:46 1 (const int)
0:46 Constant: 0:46 Constant:
0:46 1.000000 0:46 1.000000
0:48 Branch: Return with expression 0:48 Sequence
0:48 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 0:48 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:48 Branch: Return
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
...@@ -429,13 +435,13 @@ gl_FragCoord origin is upper left ...@@ -429,13 +435,13 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 152 // Id's are bound by 154
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 141
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 9 "txval10" Name 9 "txval10"
...@@ -461,10 +467,11 @@ gl_FragCoord origin is upper left ...@@ -461,10 +467,11 @@ gl_FragCoord origin is upper left
MemberName 132(PS_OUTPUT) 0 "Color" MemberName 132(PS_OUTPUT) 0 "Color"
MemberName 132(PS_OUTPUT) 1 "Depth" MemberName 132(PS_OUTPUT) 1 "Depth"
Name 134 "psout" Name 134 "psout"
Name 142 "g_tTex1df4a" Name 141 "@entryPointOutput"
Name 145 "g_tTexcdf4" Name 144 "g_tTex1df4a"
Name 148 "g_tTexcdi4" Name 147 "g_tTexcdf4"
Name 151 "g_tTexcdu4" Name 150 "g_tTexcdi4"
Name 153 "g_tTexcdu4"
Decorate 12(g_tTex1df4) DescriptorSet 0 Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0 Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0 Decorate 16(g_sSamp) DescriptorSet 0
...@@ -478,11 +485,11 @@ gl_FragCoord origin is upper left ...@@ -478,11 +485,11 @@ gl_FragCoord origin is upper left
Decorate 110(g_tTex3di4) DescriptorSet 0 Decorate 110(g_tTex3di4) DescriptorSet 0
Decorate 121(g_tTex3du4) DescriptorSet 0 Decorate 121(g_tTex3du4) DescriptorSet 0
MemberDecorate 132(PS_OUTPUT) 1 BuiltIn FragDepth MemberDecorate 132(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 142(g_tTex1df4a) DescriptorSet 0 Decorate 144(g_tTex1df4a) DescriptorSet 0
Decorate 142(g_tTex1df4a) Binding 1 Decorate 144(g_tTex1df4a) Binding 1
Decorate 145(g_tTexcdf4) DescriptorSet 0 Decorate 147(g_tTexcdf4) DescriptorSet 0
Decorate 148(g_tTexcdi4) DescriptorSet 0 Decorate 150(g_tTexcdi4) DescriptorSet 0
Decorate 151(g_tTexcdu4) DescriptorSet 0 Decorate 153(g_tTexcdu4) DescriptorSet 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -571,16 +578,18 @@ gl_FragCoord origin is upper left ...@@ -571,16 +578,18 @@ gl_FragCoord origin is upper left
135: 6(float) Constant 1065353216 135: 6(float) Constant 1065353216
136: 7(fvec4) ConstantComposite 135 135 135 135 136: 7(fvec4) ConstantComposite 135 135 135 135
138: TypePointer Function 6(float) 138: TypePointer Function 6(float)
142(g_tTex1df4a): 11(ptr) Variable UniformConstant 140: TypePointer Output 132(PS_OUTPUT)
143: TypeImage 6(float) Cube sampled format:Unknown 141(@entryPointOutput): 140(ptr) Variable Output
144: TypePointer UniformConstant 143 144(g_tTex1df4a): 11(ptr) Variable UniformConstant
145(g_tTexcdf4): 144(ptr) Variable UniformConstant 145: TypeImage 6(float) Cube sampled format:Unknown
146: TypeImage 23(int) Cube sampled format:Unknown 146: TypePointer UniformConstant 145
147: TypePointer UniformConstant 146 147(g_tTexcdf4): 146(ptr) Variable UniformConstant
148(g_tTexcdi4): 147(ptr) Variable UniformConstant 148: TypeImage 23(int) Cube sampled format:Unknown
149: TypeImage 38(int) Cube sampled format:Unknown 149: TypePointer UniformConstant 148
150: TypePointer UniformConstant 149 150(g_tTexcdi4): 149(ptr) Variable UniformConstant
151(g_tTexcdu4): 150(ptr) Variable UniformConstant 151: TypeImage 38(int) Cube sampled format:Unknown
152: TypePointer UniformConstant 151
153(g_tTexcdu4): 152(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
9(txval10): 8(ptr) Variable Function 9(txval10): 8(ptr) Variable Function
...@@ -642,6 +651,7 @@ gl_FragCoord origin is upper left ...@@ -642,6 +651,7 @@ gl_FragCoord origin is upper left
Store 137 136 Store 137 136
139: 138(ptr) AccessChain 134(psout) 24 139: 138(ptr) AccessChain 134(psout) 24
Store 139 135 Store 139 135
140:132(PS_OUTPUT) Load 134(psout) 142:132(PS_OUTPUT) Load 134(psout)
ReturnValue 140 Store 141(@entryPointOutput) 142
Return
FunctionEnd FunctionEnd
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment