Merge pull request #490 from KhronosGroup/hlsl-output-return

HLSL: Emulate write-to-output on return-from-entry-point, for return …
This commit is contained in:
John Kessenich 2016-08-29 15:43:21 -06:00 committed by GitHub
commit a88ef3978d
91 changed files with 5158 additions and 4130 deletions

View File

@ -7,7 +7,9 @@ gl_FragCoord origin is upper left
0:8 'i' (in int)
0:8 'input' (in 3-element array of 4-component vector of float)
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)
@ -43,6 +45,7 @@ gl_FragCoord origin is upper left
0:10 Constant:
0:10 0 (const int)
0:10 'i' (in int)
0:10 Branch: Return
0:? Linker Objects
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})
@ -59,7 +62,9 @@ gl_FragCoord origin is upper left
0:8 'i' (in int)
0:8 'input' (in 3-element array of 4-component vector of float)
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)
@ -95,87 +100,92 @@ gl_FragCoord origin is upper left
0:10 Constant:
0:10 0 (const int)
0:10 'i' (in int)
0:10 Branch: Return
0:? Linker Objects
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})
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 64
// Id's are bound by 66
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 19 27
EntryPoint Fragment 4 "PixelShaderFunction" 9 21 29
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 12 "a"
Name 19 "i"
Name 27 "input"
Name 40 "b"
Name 52 ""
MemberName 52 0 "m"
Name 56 "s"
Name 9 "@entryPointOutput"
Name 14 "a"
Name 21 "i"
Name 29 "input"
Name 42 "b"
Name 54 ""
MemberName 54 0 "m"
Name 58 "s"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypeInt 32 0
9: 8(int) Constant 4
10: TypeArray 7(fvec4) 9
11: TypePointer Private 10
12(a): 11(ptr) Variable Private
13: TypeInt 32 1
14: 13(int) Constant 1
15: TypePointer Private 7(fvec4)
18: TypePointer Input 13(int)
19(i): 18(ptr) Variable Input
24: 8(int) Constant 3
25: TypeArray 7(fvec4) 24
26: TypePointer Input 25
27(input): 26(ptr) Variable Input
28: 13(int) Constant 2
29: TypePointer Input 7(fvec4)
37: 8(int) Constant 10
38: TypeArray 7(fvec4) 37
39: TypePointer Function 38
41: 13(int) Constant 5
42: TypePointer Function 7(fvec4)
50: 8(int) Constant 7
51: TypeArray 7(fvec4) 50
52: TypeStruct 51
53: 8(int) Constant 11
54: TypeArray 52(struct) 53
55: TypePointer Private 54
56(s): 55(ptr) Variable Private
58: 13(int) Constant 0
8: TypePointer Output 7(fvec4)
9(@entryPointOutput): 8(ptr) Variable Output
10: TypeInt 32 0
11: 10(int) Constant 4
12: TypeArray 7(fvec4) 11
13: TypePointer Private 12
14(a): 13(ptr) Variable Private
15: TypeInt 32 1
16: 15(int) Constant 1
17: TypePointer Private 7(fvec4)
20: TypePointer Input 15(int)
21(i): 20(ptr) Variable Input
26: 10(int) Constant 3
27: TypeArray 7(fvec4) 26
28: TypePointer Input 27
29(input): 28(ptr) Variable Input
30: 15(int) Constant 2
31: TypePointer Input 7(fvec4)
39: 10(int) Constant 10
40: TypeArray 7(fvec4) 39
41: TypePointer Function 40
43: 15(int) Constant 5
44: TypePointer Function 7(fvec4)
52: 10(int) Constant 7
53: TypeArray 7(fvec4) 52
54: TypeStruct 53
55: 10(int) Constant 11
56: TypeArray 54(struct) 55
57: TypePointer Private 56
58(s): 57(ptr) Variable Private
60: 15(int) Constant 0
4(PixelShaderFunction): 2 Function None 3
5: Label
40(b): 39(ptr) Variable Function
16: 15(ptr) AccessChain 12(a) 14
17: 7(fvec4) Load 16
20: 13(int) Load 19(i)
21: 15(ptr) AccessChain 12(a) 20
22: 7(fvec4) Load 21
23: 7(fvec4) FAdd 17 22
30: 29(ptr) AccessChain 27(input) 28
31: 7(fvec4) Load 30
32: 7(fvec4) FAdd 23 31
33: 13(int) Load 19(i)
34: 29(ptr) AccessChain 27(input) 33
35: 7(fvec4) Load 34
36: 7(fvec4) FAdd 32 35
43: 42(ptr) AccessChain 40(b) 41
44: 7(fvec4) Load 43
45: 7(fvec4) FAdd 36 44
46: 13(int) Load 19(i)
47: 42(ptr) AccessChain 40(b) 46
48: 7(fvec4) Load 47
49: 7(fvec4) FAdd 45 48
57: 13(int) Load 19(i)
59: 13(int) Load 19(i)
60: 15(ptr) AccessChain 56(s) 57 58 59
61: 7(fvec4) Load 60
62: 7(fvec4) FAdd 49 61
ReturnValue 62
42(b): 41(ptr) Variable Function
18: 17(ptr) AccessChain 14(a) 16
19: 7(fvec4) Load 18
22: 15(int) Load 21(i)
23: 17(ptr) AccessChain 14(a) 22
24: 7(fvec4) Load 23
25: 7(fvec4) FAdd 19 24
32: 31(ptr) AccessChain 29(input) 30
33: 7(fvec4) Load 32
34: 7(fvec4) FAdd 25 33
35: 15(int) Load 21(i)
36: 31(ptr) AccessChain 29(input) 35
37: 7(fvec4) Load 36
38: 7(fvec4) FAdd 34 37
45: 44(ptr) AccessChain 42(b) 43
46: 7(fvec4) Load 45
47: 7(fvec4) FAdd 38 46
48: 15(int) Load 21(i)
49: 44(ptr) AccessChain 42(b) 48
50: 7(fvec4) Load 49
51: 7(fvec4) FAdd 47 50
59: 15(int) Load 21(i)
61: 15(int) Load 21(i)
62: 17(ptr) AccessChain 58(s) 59 60 61
63: 7(fvec4) Load 62
64: 7(fvec4) FAdd 51 63
Store 9(@entryPointOutput) 64
Return
FunctionEnd

View File

@ -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 'a4' (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)
@ -29,6 +31,7 @@ gl_FragCoord origin is upper left
0:10 'a3' (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 Branch: Return
0:? Linker Objects
@ -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 'a4' (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)
@ -65,16 +70,17 @@ gl_FragCoord origin is upper left
0:10 'a3' (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 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 25
// Id's are bound by 27
Capability Shader
1: ExtInstImport "GLSL.std.450"
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
Name 4 "PixelShaderFunction"
Name 9 "a1"
@ -82,6 +88,7 @@ gl_FragCoord origin is upper left
Name 11 "a3"
Name 12 "a4"
Name 13 "a5"
Name 16 "@entryPointOutput"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -92,6 +99,8 @@ gl_FragCoord origin is upper left
11(a3): 8(ptr) Variable Input
12(a4): 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
5: Label
14: 7(fvec4) Load 13(a5)
@ -99,14 +108,15 @@ gl_FragCoord origin is upper left
Store 11(a3) 14
Store 10(a2) 14
Store 9(a1) 14
15: 7(fvec4) Load 9(a1)
16: 7(fvec4) Load 10(a2)
17: 7(fvec4) FAdd 15 16
18: 7(fvec4) Load 11(a3)
17: 7(fvec4) Load 9(a1)
18: 7(fvec4) Load 10(a2)
19: 7(fvec4) FAdd 17 18
20: 7(fvec4) Load 12(a4)
20: 7(fvec4) Load 11(a3)
21: 7(fvec4) FAdd 19 20
22: 7(fvec4) Load 13(a5)
22: 7(fvec4) Load 12(a4)
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

View File

@ -6,7 +6,9 @@ gl_FragCoord origin is upper left
0:26 Function Parameters:
0:26 'input' (in 4-component vector of float)
0:? Sequence
0:27 Branch: Return with expression
0:27 Sequence
0:27 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:27 add (temp 4-component vector of float)
0:27 add (temp 4-component vector of float)
0:27 add (temp 4-component vector of float)
@ -28,6 +30,7 @@ gl_FragCoord origin is upper left
0:27 'anon@3' (layout(column_major std430 ) buffer block{layout(column_major std430 offset=16 ) buffer 4-component vector of float v4, layout(column_major std430 offset=48 ) buffer int i4, layout(column_major std430 offset=60 ) buffer float f1, layout(column_major std430 offset=64 ) buffer float f3, layout(column_major std430 offset=68 ) buffer float f4, layout(column_major std430 offset=72 ) buffer float f5, layout(column_major std430 ) buffer float f6, layout(column_major std430 ) buffer float f7})
0:27 Constant:
0:27 0 (const uint)
0:27 Branch: Return
0:? Linker Objects
0:? 'anon@0' (layout(column_major std140 ) uniform block{layout(column_major std140 ) uniform 4-component vector of float v1})
0:? 'anon@1' (layout(column_major std430 ) buffer block{layout(column_major std430 ) buffer 4-component vector of float v2})
@ -45,7 +48,9 @@ gl_FragCoord origin is upper left
0:26 Function Parameters:
0:26 'input' (in 4-component vector of float)
0:? Sequence
0:27 Branch: Return with expression
0:27 Sequence
0:27 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:27 add (temp 4-component vector of float)
0:27 add (temp 4-component vector of float)
0:27 add (temp 4-component vector of float)
@ -67,6 +72,7 @@ gl_FragCoord origin is upper left
0:27 'anon@3' (layout(column_major std430 ) buffer block{layout(column_major std430 offset=16 ) buffer 4-component vector of float v4, layout(column_major std430 offset=48 ) buffer int i4, layout(column_major std430 offset=60 ) buffer float f1, layout(column_major std430 offset=64 ) buffer float f3, layout(column_major std430 offset=68 ) buffer float f4, layout(column_major std430 offset=72 ) buffer float f5, layout(column_major std430 ) buffer float f6, layout(column_major std430 ) buffer float f7})
0:27 Constant:
0:27 0 (const uint)
0:27 Branch: Return
0:? Linker Objects
0:? 'anon@0' (layout(column_major std140 ) uniform block{layout(column_major std140 ) uniform 4-component vector of float v1})
0:? 'anon@1' (layout(column_major std430 ) buffer block{layout(column_major std430 ) buffer 4-component vector of float v2})
@ -75,90 +81,94 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 39
// Id's are bound by 41
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 9
EntryPoint Fragment 4 "PixelShaderFunction" 9 11
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 9 "input"
Name 11 ""
MemberName 11 0 "v1"
Name 9 "@entryPointOutput"
Name 11 "input"
Name 13 ""
Name 20 ""
MemberName 20 0 "v2"
MemberName 13 0 "v1"
Name 15 ""
Name 22 ""
Name 26 ""
MemberName 26 0 "v3"
MemberName 26 1 "i3"
MemberName 22 0 "v2"
Name 24 ""
Name 28 ""
Name 32 ""
MemberName 32 0 "v4"
MemberName 32 1 "i4"
MemberName 32 2 "f1"
MemberName 32 3 "f3"
MemberName 32 4 "f4"
MemberName 32 5 "f5"
MemberName 32 6 "f6"
MemberName 32 7 "f7"
MemberName 28 0 "v3"
MemberName 28 1 "i3"
Name 30 ""
Name 34 ""
MemberDecorate 11 0 Offset 0
Decorate 11 Block
Decorate 13 DescriptorSet 0
MemberDecorate 20 0 Offset 0
Decorate 20 BufferBlock
Decorate 22 DescriptorSet 0
MemberDecorate 26 0 Offset 0
MemberDecorate 26 1 Offset 20
Decorate 26 Block
Decorate 28 DescriptorSet 0
MemberDecorate 32 0 Offset 16
MemberDecorate 32 1 Offset 48
MemberDecorate 32 2 Offset 60
MemberDecorate 32 3 Offset 64
MemberDecorate 32 4 Offset 68
MemberDecorate 32 5 Offset 72
MemberDecorate 32 6 Offset 76
MemberDecorate 32 7 Offset 80
Decorate 32 BufferBlock
Decorate 34 DescriptorSet 0
MemberName 34 0 "v4"
MemberName 34 1 "i4"
MemberName 34 2 "f1"
MemberName 34 3 "f3"
MemberName 34 4 "f4"
MemberName 34 5 "f5"
MemberName 34 6 "f6"
MemberName 34 7 "f7"
Name 36 ""
MemberDecorate 13 0 Offset 0
Decorate 13 Block
Decorate 15 DescriptorSet 0
MemberDecorate 22 0 Offset 0
Decorate 22 BufferBlock
Decorate 24 DescriptorSet 0
MemberDecorate 28 0 Offset 0
MemberDecorate 28 1 Offset 20
Decorate 28 Block
Decorate 30 DescriptorSet 0
MemberDecorate 34 0 Offset 16
MemberDecorate 34 1 Offset 48
MemberDecorate 34 2 Offset 60
MemberDecorate 34 3 Offset 64
MemberDecorate 34 4 Offset 68
MemberDecorate 34 5 Offset 72
MemberDecorate 34 6 Offset 76
MemberDecorate 34 7 Offset 80
Decorate 34 BufferBlock
Decorate 36 DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypePointer Input 7(fvec4)
9(input): 8(ptr) Variable Input
11: TypeStruct 7(fvec4)
12: TypePointer Uniform 11(struct)
13: 12(ptr) Variable Uniform
14: TypeInt 32 1
15: 14(int) Constant 0
16: TypePointer Uniform 7(fvec4)
20: TypeStruct 7(fvec4)
21: TypePointer Uniform 20(struct)
22: 21(ptr) Variable Uniform
26: TypeStruct 7(fvec4) 14(int)
27: TypePointer Uniform 26(struct)
28: 27(ptr) Variable Uniform
32: TypeStruct 7(fvec4) 14(int) 6(float) 6(float) 6(float) 6(float) 6(float) 6(float)
33: TypePointer Uniform 32(struct)
34: 33(ptr) Variable Uniform
8: TypePointer Output 7(fvec4)
9(@entryPointOutput): 8(ptr) Variable Output
10: TypePointer Input 7(fvec4)
11(input): 10(ptr) Variable Input
13: TypeStruct 7(fvec4)
14: TypePointer Uniform 13(struct)
15: 14(ptr) Variable Uniform
16: TypeInt 32 1
17: 16(int) Constant 0
18: TypePointer Uniform 7(fvec4)
22: TypeStruct 7(fvec4)
23: TypePointer Uniform 22(struct)
24: 23(ptr) Variable Uniform
28: TypeStruct 7(fvec4) 16(int)
29: TypePointer Uniform 28(struct)
30: 29(ptr) Variable Uniform
34: TypeStruct 7(fvec4) 16(int) 6(float) 6(float) 6(float) 6(float) 6(float) 6(float)
35: TypePointer Uniform 34(struct)
36: 35(ptr) Variable Uniform
4(PixelShaderFunction): 2 Function None 3
5: Label
10: 7(fvec4) Load 9(input)
17: 16(ptr) AccessChain 13 15
18: 7(fvec4) Load 17
19: 7(fvec4) FAdd 10 18
23: 16(ptr) AccessChain 22 15
24: 7(fvec4) Load 23
25: 7(fvec4) FAdd 19 24
29: 16(ptr) AccessChain 28 15
30: 7(fvec4) Load 29
31: 7(fvec4) FAdd 25 30
35: 16(ptr) AccessChain 34 15
36: 7(fvec4) Load 35
37: 7(fvec4) FAdd 31 36
ReturnValue 37
12: 7(fvec4) Load 11(input)
19: 18(ptr) AccessChain 15 17
20: 7(fvec4) Load 19
21: 7(fvec4) FAdd 12 20
25: 18(ptr) AccessChain 24 17
26: 7(fvec4) Load 25
27: 7(fvec4) FAdd 21 26
31: 18(ptr) AccessChain 30 17
32: 7(fvec4) Load 31
33: 7(fvec4) FAdd 27 32
37: 18(ptr) AccessChain 36 17
38: 7(fvec4) Load 37
39: 7(fvec4) FAdd 33 38
Store 9(@entryPointOutput) 39
Return
FunctionEnd

View File

@ -139,8 +139,11 @@ gl_FragCoord origin is upper left
0:41 1 (const int)
0:41 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -298,8 +301,11 @@ gl_FragCoord origin is upper left
0:41 1 (const int)
0:41 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -315,7 +321,7 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 143
// Id's are bound by 145
Capability Shader
Capability Sampled1D
@ -323,7 +329,7 @@ gl_FragCoord origin is upper left
Capability ImageQuery
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 141
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 8 "txval10"
@ -349,7 +355,8 @@ gl_FragCoord origin is upper left
MemberName 131(PS_OUTPUT) 0 "Color"
MemberName 131(PS_OUTPUT) 1 "Depth"
Name 133 "psout"
Name 142 "g_tTex1df4"
Name 141 "@entryPointOutput"
Name 144 "g_tTex1df4"
Decorate 11(g_tTex1df4a) DescriptorSet 0
Decorate 11(g_tTex1df4a) Binding 1
Decorate 15(g_sSamp) DescriptorSet 0
@ -363,8 +370,8 @@ gl_FragCoord origin is upper left
Decorate 106(g_tTexcdi4a) DescriptorSet 0
Decorate 118(g_tTexcdu4a) DescriptorSet 0
MemberDecorate 131(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 142(g_tTex1df4) DescriptorSet 0
Decorate 142(g_tTex1df4) Binding 0
Decorate 144(g_tTex1df4) DescriptorSet 0
Decorate 144(g_tTex1df4) Binding 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -435,7 +442,9 @@ gl_FragCoord origin is upper left
135: 130(fvec4) ConstantComposite 134 134 134 134
136: TypePointer Function 130(fvec4)
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
5: Label
8(txval10): 7(ptr) Variable Function
@ -515,6 +524,7 @@ gl_FragCoord origin is upper left
Store 137 135
139: 7(ptr) AccessChain 133(psout) 138
Store 139 134
140:131(PS_OUTPUT) Load 133(psout)
ReturnValue 140
142:131(PS_OUTPUT) Load 133(psout)
Store 141(@entryPointOutput) 142
Return
FunctionEnd

View File

@ -151,8 +151,11 @@ ERROR: node is still EOpNull!
0:41 1 (const int)
0:41 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -310,8 +313,11 @@ ERROR: node is still EOpNull!
0:41 1 (const int)
0:41 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)

View File

@ -6,7 +6,9 @@ gl_FragCoord origin is upper left
0:2 Function Parameters:
0:2 'input' (in 4-component vector of float)
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 Construct vec4 (temp 4-component vector of float)
@ -19,6 +21,7 @@ gl_FragCoord origin is upper left
0:3 1.198000
0:3 1.198000
0:3 1.198000
0:3 Branch: Return
0:? Linker Objects
@ -32,7 +35,9 @@ gl_FragCoord origin is upper left
0:2 Function Parameters:
0:2 'input' (in 4-component vector of float)
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 Construct vec4 (temp 4-component vector of float)
@ -45,41 +50,46 @@ gl_FragCoord origin is upper left
0:3 1.198000
0:3 1.198000
0:3 1.198000
0:3 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 26
// Id's are bound by 28
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 9
EntryPoint Fragment 4 "PixelShaderFunction" 9 11
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 9 "input"
Name 9 "@entryPointOutput"
Name 11 "input"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypePointer Input 7(fvec4)
9(input): 8(ptr) Variable Input
17: TypeInt 32 1
18: TypeVector 17(int) 4
22: 6(float) Constant 1067014160
23: 7(fvec4) ConstantComposite 22 22 22 22
8: TypePointer Output 7(fvec4)
9(@entryPointOutput): 8(ptr) Variable Output
10: TypePointer Input 7(fvec4)
11(input): 10(ptr) Variable Input
19: TypeInt 32 1
20: TypeVector 19(int) 4
24: 6(float) Constant 1067014160
25: 7(fvec4) ConstantComposite 24 24 24 24
4(PixelShaderFunction): 2 Function None 3
5: Label
10: 7(fvec4) Load 9(input)
11: 6(float) CompositeExtract 10 0
12: 6(float) CompositeExtract 10 1
13: 6(float) CompositeExtract 10 2
14: 6(float) CompositeExtract 10 3
15: 7(fvec4) CompositeConstruct 11 12 13 14
16: 7(fvec4) Load 9(input)
19: 18(ivec4) ConvertFToS 16
20: 7(fvec4) ConvertSToF 19
21: 7(fvec4) FAdd 15 20
24: 7(fvec4) FAdd 21 23
ReturnValue 24
12: 7(fvec4) Load 11(input)
13: 6(float) CompositeExtract 12 0
14: 6(float) CompositeExtract 12 1
15: 6(float) CompositeExtract 12 2
16: 6(float) CompositeExtract 12 3
17: 7(fvec4) CompositeConstruct 13 14 15 16
18: 7(fvec4) Load 11(input)
21: 20(ivec4) ConvertFToS 18
22: 7(fvec4) ConvertSToF 21
23: 7(fvec4) FAdd 17 22
26: 7(fvec4) FAdd 23 25
Store 9(@entryPointOutput) 26
Return
FunctionEnd

View File

@ -98,13 +98,16 @@ gl_FragCoord origin is upper left
0:14 Convert int to float (temp float)
0:14 'd' (temp int)
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 vector-scale (temp 4-component vector of float)
0:15 Convert int to float (temp float)
0:15 'e' (temp int)
0:15 'ret' (temp 4-component vector of float)
0:15 'f' (temp 4-component vector of float)
0:15 Branch: Return
0:? Linker Objects
@ -210,23 +213,26 @@ gl_FragCoord origin is upper left
0:14 Convert int to float (temp float)
0:14 'd' (temp int)
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 vector-scale (temp 4-component vector of float)
0:15 Convert int to float (temp float)
0:15 'e' (temp int)
0:15 'ret' (temp 4-component vector of float)
0:15 'f' (temp 4-component vector of float)
0:15 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 89
// Id's are bound by 91
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 22
EntryPoint Fragment 4 "PixelShaderFunction" 22 83
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 8 "a"
@ -237,6 +243,7 @@ gl_FragCoord origin is upper left
Name 22 "input"
Name 40 "e"
Name 57 "f"
Name 83 "@entryPointOutput"
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
@ -257,6 +264,8 @@ gl_FragCoord origin is upper left
64: 59(int) Constant 1
65: TypePointer Input 15(float)
68: TypeBool
82: TypePointer Output 16(fvec4)
83(@entryPointOutput): 82(ptr) Variable Output
4(PixelShaderFunction): 2 Function None 3
5: Label
8(a): 7(ptr) Variable Function
@ -346,11 +355,12 @@ gl_FragCoord origin is upper left
71: Label
81: 16(fvec4) Load 58
Store 57(f) 81
82: 6(int) Load 40(e)
83: 15(float) ConvertSToF 82
84: 16(fvec4) Load 18(ret)
85: 16(fvec4) VectorTimesScalar 84 83
86: 16(fvec4) Load 57(f)
87: 16(fvec4) FAdd 85 86
ReturnValue 87
84: 6(int) Load 40(e)
85: 15(float) ConvertSToF 84
86: 16(fvec4) Load 18(ret)
87: 16(fvec4) VectorTimesScalar 86 85
88: 16(fvec4) Load 57(f)
89: 16(fvec4) FAdd 87 88
Store 83(@entryPointOutput) 89
Return
FunctionEnd

View File

@ -34,8 +34,11 @@ gl_FragCoord origin is upper left
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 Branch: Return
0:? Linker Objects
@ -77,23 +80,27 @@ gl_FragCoord origin is upper left
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 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 32
// Id's are bound by 34
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 31
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 22 "PS_OUTPUT"
MemberName 22(PS_OUTPUT) 0 "color"
Name 24 "ps_output"
Name 31 "@entryPointOutput"
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
@ -118,11 +125,14 @@ gl_FragCoord origin is upper left
26: 13(float) Constant 1065353216
27: 21(fvec4) ConstantComposite 26 26 26 26
28: TypePointer Function 21(fvec4)
30: TypePointer Output 22(PS_OUTPUT)
31(@entryPointOutput): 30(ptr) Variable Output
4(main): 2 Function None 3
5: Label
24(ps_output): 23(ptr) Variable Function
29: 28(ptr) AccessChain 24(ps_output) 25
Store 29 27
30:22(PS_OUTPUT) Load 24(ps_output)
ReturnValue 30
32:22(PS_OUTPUT) Load 24(ps_output)
Store 31(@entryPointOutput) 32
Return
FunctionEnd

View File

@ -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 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 Branch: Return
0:? Linker Objects
@ -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 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 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 31
// Id's are bound by 33
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 23
EntryPoint Fragment 4 "PixelShaderFunction" 23 25
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 23 "input"
Name 23 "@entryPointOutput"
Name 25 "input"
2: TypeVoid
3: TypeFunction 2
10: TypeBool
11: 10(bool) ConstantFalse
20: TypeFloat 32
21: TypeVector 20(float) 4
22: TypePointer Input 21(fvec4)
23(input): 22(ptr) Variable Input
28: TypeVector 10(bool) 4
22: TypePointer Output 21(fvec4)
23(@entryPointOutput): 22(ptr) Variable Output
24: TypePointer Input 21(fvec4)
25(input): 24(ptr) Variable Input
30: TypeVector 10(bool) 4
4(PixelShaderFunction): 2 Function None 3
5: Label
Branch 6
@ -102,14 +111,15 @@ gl_FragCoord origin is upper left
LoopMerge 18 19 None
Branch 17
17: Label
24: 21(fvec4) Load 23(input)
ReturnValue 24
26: 21(fvec4) Load 25(input)
Store 23(@entryPointOutput) 26
Return
19: Label
26: 21(fvec4) Load 23(input)
27: 21(fvec4) Load 23(input)
29: 28(bvec4) FOrdEqual 26 27
30: 10(bool) All 29
BranchConditional 30 16 18
28: 21(fvec4) Load 25(input)
29: 21(fvec4) Load 25(input)
31: 30(bvec4) FOrdEqual 28 29
32: 10(bool) All 31
BranchConditional 32 16 18
18: Label
Return
FunctionEnd

View File

@ -0,0 +1,127 @@
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

View File

@ -31,9 +31,12 @@ gl_FragCoord origin is upper left
0:6 'input' (in 4-component vector of float)
0:6 Loop Body
0:? Sequence
0:6 Branch: Return with expression
0:6 Sequence
0:6 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:6 Negate value (temp 4-component vector of float)
0:6 'input' (in 4-component vector of float)
0:6 Branch: Return
0:7 Sequence
0:7 Pre-Decrement (temp 4-component vector of float)
0:7 'input' (in 4-component vector of float)
@ -44,9 +47,12 @@ gl_FragCoord origin is upper left
0:7 'input' (in 4-component vector of float)
0:7 Loop Body
0:? Sequence
0:7 Branch: Return with expression
0:7 Sequence
0:7 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:7 Negate value (temp 4-component vector of float)
0:7 'input' (in 4-component vector of float)
0:7 Branch: Return
0:7 Loop Terminal Expression
0:7 add second child into first child (temp 4-component vector of float)
0:7 'input' (in 4-component vector of float)
@ -145,9 +151,12 @@ gl_FragCoord origin is upper left
0:6 'input' (in 4-component vector of float)
0:6 Loop Body
0:? Sequence
0:6 Branch: Return with expression
0:6 Sequence
0:6 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:6 Negate value (temp 4-component vector of float)
0:6 'input' (in 4-component vector of float)
0:6 Branch: Return
0:7 Sequence
0:7 Pre-Decrement (temp 4-component vector of float)
0:7 'input' (in 4-component vector of float)
@ -158,9 +167,12 @@ gl_FragCoord origin is upper left
0:7 'input' (in 4-component vector of float)
0:7 Loop Body
0:? Sequence
0:7 Branch: Return with expression
0:7 Sequence
0:7 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:7 Negate value (temp 4-component vector of float)
0:7 'input' (in 4-component vector of float)
0:7 Branch: Return
0:7 Loop Terminal Expression
0:7 add second child into first child (temp 4-component vector of float)
0:7 'input' (in 4-component vector of float)
@ -225,17 +237,18 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 112
// Id's are bound by 114
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 13
EntryPoint Fragment 4 "PixelShaderFunction" 13 43
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 13 "input"
Name 89 "ii"
Name 109 "ii"
Name 43 "@entryPointOutput"
Name 91 "ii"
Name 111 "ii"
2: TypeVoid
3: TypeFunction 2
10: TypeFloat 32
@ -245,21 +258,23 @@ gl_FragCoord origin is upper left
15: 10(float) Constant 1065353216
29: TypeBool
30: TypeVector 29(bool) 4
60: 10(float) Constant 1073741824
68: TypeInt 32 0
69: 68(int) Constant 0
70: TypePointer Input 10(float)
87: TypeInt 32 1
88: TypePointer Function 87(int)
90: 87(int) Constant 4294967295
97: 87(int) Constant 3
100: 87(int) Constant 2
106: 87(int) Constant 1
108: TypePointer Function 10(float)
42: TypePointer Output 11(fvec4)
43(@entryPointOutput): 42(ptr) Variable Output
62: 10(float) Constant 1073741824
70: TypeInt 32 0
71: 70(int) Constant 0
72: TypePointer Input 10(float)
89: TypeInt 32 1
90: TypePointer Function 89(int)
92: 89(int) Constant 4294967295
99: 89(int) Constant 3
102: 89(int) Constant 2
108: 89(int) Constant 1
110: TypePointer Function 10(float)
4(PixelShaderFunction): 2 Function None 3
5: Label
89(ii): 88(ptr) Variable Function
109(ii): 108(ptr) Variable Function
91(ii): 90(ptr) Variable Function
111(ii): 110(ptr) Variable Function
Branch 6
6: Label
LoopMerge 8 9 None
@ -308,97 +323,99 @@ gl_FragCoord origin is upper left
41: 29(bool) Any 40
BranchConditional 41 34 35
34: Label
42: 11(fvec4) Load 13(input)
43: 11(fvec4) FNegate 42
ReturnValue 43
44: 11(fvec4) Load 13(input)
45: 11(fvec4) FNegate 44
Store 43(@entryPointOutput) 45
Return
36: Label
Branch 33
35: Label
45: 11(fvec4) Load 13(input)
46: 11(fvec4) CompositeConstruct 15 15 15 15
47: 11(fvec4) FSub 45 46
Store 13(input) 47
Branch 48
48: Label
LoopMerge 50 51 None
Branch 52
52: Label
53: 11(fvec4) Load 13(input)
54: 11(fvec4) Load 13(input)
55: 30(bvec4) FOrdNotEqual 53 54
56: 29(bool) Any 55
BranchConditional 56 49 50
49: Label
57: 11(fvec4) Load 13(input)
58: 11(fvec4) FNegate 57
ReturnValue 58
51: Label
61: 11(fvec4) Load 13(input)
62: 11(fvec4) CompositeConstruct 60 60 60 60
63: 11(fvec4) FAdd 61 62
Store 13(input) 63
Branch 48
47: 11(fvec4) Load 13(input)
48: 11(fvec4) CompositeConstruct 15 15 15 15
49: 11(fvec4) FSub 47 48
Store 13(input) 49
Branch 50
50: Label
Branch 64
64: Label
LoopMerge 66 67 None
Branch 65
65: Label
71: 70(ptr) AccessChain 13(input) 69
72: 10(float) Load 71
73: 29(bool) FOrdGreaterThan 72 60
SelectionMerge 75 None
BranchConditional 73 74 75
74: Label
LoopMerge 52 53 None
Branch 54
54: Label
55: 11(fvec4) Load 13(input)
56: 11(fvec4) Load 13(input)
57: 30(bvec4) FOrdNotEqual 55 56
58: 29(bool) Any 57
BranchConditional 58 51 52
51: Label
59: 11(fvec4) Load 13(input)
60: 11(fvec4) FNegate 59
Store 43(@entryPointOutput) 60
Return
53: Label
63: 11(fvec4) Load 13(input)
64: 11(fvec4) CompositeConstruct 62 62 62 62
65: 11(fvec4) FAdd 63 64
Store 13(input) 65
Branch 50
52: Label
Branch 66
75: Label
66: Label
LoopMerge 68 69 None
Branch 67
67: Label
Branch 64
66: Label
Branch 77
73: 72(ptr) AccessChain 13(input) 71
74: 10(float) Load 73
75: 29(bool) FOrdGreaterThan 74 62
SelectionMerge 77 None
BranchConditional 75 76 77
76: Label
Branch 68
77: Label
LoopMerge 79 80 None
Branch 78
78: Label
81: 70(ptr) AccessChain 13(input) 69
82: 10(float) Load 81
83: 29(bool) FOrdGreaterThan 82 60
SelectionMerge 85 None
BranchConditional 83 84 85
84: Label
Branch 80
85: Label
Branch 69
69: Label
Branch 66
68: Label
Branch 79
79: Label
LoopMerge 81 82 None
Branch 80
80: Label
Branch 77
79: Label
Store 89(ii) 90
Branch 91
91: Label
LoopMerge 93 94 None
Branch 95
95: Label
96: 87(int) Load 89(ii)
98: 29(bool) SLessThan 96 97
BranchConditional 98 92 93
92: Label
99: 87(int) Load 89(ii)
101: 29(bool) IEqual 99 100
SelectionMerge 103 None
BranchConditional 101 102 103
102: Label
Branch 94
103: Label
Branch 94
94: Label
105: 87(int) Load 89(ii)
107: 87(int) IAdd 105 106
Store 89(ii) 107
Branch 91
83: 72(ptr) AccessChain 13(input) 71
84: 10(float) Load 83
85: 29(bool) FOrdGreaterThan 84 62
SelectionMerge 87 None
BranchConditional 85 86 87
86: Label
Branch 82
87: Label
Branch 82
82: Label
Branch 79
81: Label
Store 91(ii) 92
Branch 93
93: Label
110: 10(float) Load 109(ii)
111: 10(float) FSub 110 15
Store 109(ii) 111
LoopMerge 95 96 None
Branch 97
97: Label
98: 89(int) Load 91(ii)
100: 29(bool) SLessThan 98 99
BranchConditional 100 94 95
94: Label
101: 89(int) Load 91(ii)
103: 29(bool) IEqual 101 102
SelectionMerge 105 None
BranchConditional 103 104 105
104: Label
Branch 96
105: Label
Branch 96
96: Label
107: 89(int) Load 91(ii)
109: 89(int) IAdd 107 108
Store 91(ii) 109
Branch 93
95: Label
112: 10(float) Load 111(ii)
113: 10(float) FSub 112 15
Store 111(ii) 113
Return
FunctionEnd

View File

@ -91,8 +91,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int)
0:40 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -202,8 +205,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int)
0:40 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -219,14 +225,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 110
// Id's are bound by 112
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 99
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval20"
@ -246,10 +252,11 @@ gl_FragCoord origin is upper left
MemberName 90(PS_OUTPUT) 0 "Color"
MemberName 90(PS_OUTPUT) 1 "Depth"
Name 92 "psout"
Name 102 "g_tTex1df4a"
Name 103 "g_tTex1df4"
Name 106 "g_tTex1di4a"
Name 109 "g_tTex1du4a"
Name 99 "@entryPointOutput"
Name 104 "g_tTex1df4a"
Name 105 "g_tTex1df4"
Name 108 "g_tTex1di4a"
Name 111 "g_tTex1du4a"
Decorate 12(g_tTex2df4a) DescriptorSet 0
Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0
@ -259,12 +266,12 @@ gl_FragCoord origin is upper left
Decorate 70(g_tTexcdi4a) DescriptorSet 0
Decorate 80(g_tTexcdu4a) DescriptorSet 0
MemberDecorate 90(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 102(g_tTex1df4a) DescriptorSet 0
Decorate 102(g_tTex1df4a) Binding 1
Decorate 103(g_tTex1df4) DescriptorSet 0
Decorate 103(g_tTex1df4) Binding 0
Decorate 106(g_tTex1di4a) DescriptorSet 0
Decorate 109(g_tTex1du4a) DescriptorSet 0
Decorate 104(g_tTex1df4a) DescriptorSet 0
Decorate 104(g_tTex1df4a) Binding 1
Decorate 105(g_tTex1df4) DescriptorSet 0
Decorate 105(g_tTex1df4) Binding 0
Decorate 108(g_tTex1di4a) DescriptorSet 0
Decorate 111(g_tTex1du4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -326,16 +333,18 @@ gl_FragCoord origin is upper left
93: 7(fvec4) ConstantComposite 87 87 87 87
95: 25(int) Constant 1
96: TypePointer Function 6(float)
100: TypeImage 6(float) 1D array sampled format:Unknown
101: TypePointer UniformConstant 100
102(g_tTex1df4a): 101(ptr) Variable UniformConstant
103(g_tTex1df4): 101(ptr) Variable UniformConstant
104: TypeImage 25(int) 1D array sampled format:Unknown
105: TypePointer UniformConstant 104
106(g_tTex1di4a): 105(ptr) Variable UniformConstant
107: TypeImage 42(int) 1D array sampled format:Unknown
108: TypePointer UniformConstant 107
109(g_tTex1du4a): 108(ptr) Variable UniformConstant
98: TypePointer Output 90(PS_OUTPUT)
99(@entryPointOutput): 98(ptr) Variable Output
102: TypeImage 6(float) 1D array sampled format:Unknown
103: TypePointer UniformConstant 102
104(g_tTex1df4a): 103(ptr) Variable UniformConstant
105(g_tTex1df4): 103(ptr) Variable UniformConstant
106: TypeImage 25(int) 1D array sampled format:Unknown
107: TypePointer UniformConstant 106
108(g_tTex1di4a): 107(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
5: Label
9(txval20): 8(ptr) Variable Function
@ -379,6 +388,7 @@ gl_FragCoord origin is upper left
Store 94 93
97: 96(ptr) AccessChain 92(psout) 95
Store 97 87
98:90(PS_OUTPUT) Load 92(psout)
ReturnValue 98
100:90(PS_OUTPUT) Load 92(psout)
Store 99(@entryPointOutput) 100
Return
FunctionEnd

View File

@ -85,8 +85,11 @@ gl_FragCoord origin is upper left
0:45 1 (const int)
0:45 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -194,8 +197,11 @@ gl_FragCoord origin is upper left
0:45 1 (const int)
0:45 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -215,13 +221,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 121
// Id's are bound by 123
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 100
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval20"
@ -241,14 +247,15 @@ gl_FragCoord origin is upper left
MemberName 90(PS_OUTPUT) 0 "Color"
MemberName 90(PS_OUTPUT) 1 "Depth"
Name 92 "psout"
Name 101 "g_sSamp2d"
Name 104 "g_tTex1df4a"
Name 105 "g_tTex1df4"
Name 108 "g_tTex1di4"
Name 111 "g_tTex1du4"
Name 114 "g_tTex3df4"
Name 117 "g_tTex3di4"
Name 120 "g_tTex3du4"
Name 100 "@entryPointOutput"
Name 103 "g_sSamp2d"
Name 106 "g_tTex1df4a"
Name 107 "g_tTex1df4"
Name 110 "g_tTex1di4"
Name 113 "g_tTex1du4"
Name 116 "g_tTex3df4"
Name 119 "g_tTex3di4"
Name 122 "g_tTex3du4"
Decorate 12(g_tTex2df4) DescriptorSet 0
Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0
@ -258,16 +265,16 @@ gl_FragCoord origin is upper left
Decorate 70(g_tTexcdi4) DescriptorSet 0
Decorate 80(g_tTexcdu4) DescriptorSet 0
MemberDecorate 90(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 101(g_sSamp2d) DescriptorSet 0
Decorate 104(g_tTex1df4a) DescriptorSet 0
Decorate 104(g_tTex1df4a) Binding 1
Decorate 105(g_tTex1df4) DescriptorSet 0
Decorate 105(g_tTex1df4) Binding 0
Decorate 108(g_tTex1di4) DescriptorSet 0
Decorate 111(g_tTex1du4) DescriptorSet 0
Decorate 114(g_tTex3df4) DescriptorSet 0
Decorate 117(g_tTex3di4) DescriptorSet 0
Decorate 120(g_tTex3du4) DescriptorSet 0
Decorate 103(g_sSamp2d) DescriptorSet 0
Decorate 106(g_tTex1df4a) DescriptorSet 0
Decorate 106(g_tTex1df4a) Binding 1
Decorate 107(g_tTex1df4) DescriptorSet 0
Decorate 107(g_tTex1df4) Binding 0
Decorate 110(g_tTex1di4) DescriptorSet 0
Decorate 113(g_tTex1du4) DescriptorSet 0
Decorate 116(g_tTex3df4) DescriptorSet 0
Decorate 119(g_tTex3di4) DescriptorSet 0
Decorate 122(g_tTex3du4) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -330,26 +337,28 @@ gl_FragCoord origin is upper left
94: 7(fvec4) ConstantComposite 93 93 93 93
96: 24(int) Constant 1
97: TypePointer Function 6(float)
101(g_sSamp2d): 15(ptr) Variable UniformConstant
102: TypeImage 6(float) 1D sampled format:Unknown
103: TypePointer UniformConstant 102
104(g_tTex1df4a): 103(ptr) Variable UniformConstant
105(g_tTex1df4): 103(ptr) Variable UniformConstant
106: TypeImage 24(int) 1D sampled format:Unknown
107: TypePointer UniformConstant 106
108(g_tTex1di4): 107(ptr) Variable UniformConstant
109: TypeImage 41(int) 1D sampled format:Unknown
110: TypePointer UniformConstant 109
111(g_tTex1du4): 110(ptr) Variable UniformConstant
112: TypeImage 6(float) 3D sampled format:Unknown
113: TypePointer UniformConstant 112
114(g_tTex3df4): 113(ptr) Variable UniformConstant
115: TypeImage 24(int) 3D sampled format:Unknown
116: TypePointer UniformConstant 115
117(g_tTex3di4): 116(ptr) Variable UniformConstant
118: TypeImage 41(int) 3D sampled format:Unknown
119: TypePointer UniformConstant 118
120(g_tTex3du4): 119(ptr) Variable UniformConstant
99: TypePointer Output 90(PS_OUTPUT)
100(@entryPointOutput): 99(ptr) Variable Output
103(g_sSamp2d): 15(ptr) Variable UniformConstant
104: TypeImage 6(float) 1D sampled format:Unknown
105: TypePointer UniformConstant 104
106(g_tTex1df4a): 105(ptr) Variable UniformConstant
107(g_tTex1df4): 105(ptr) Variable UniformConstant
108: TypeImage 24(int) 1D sampled format:Unknown
109: TypePointer UniformConstant 108
110(g_tTex1di4): 109(ptr) Variable UniformConstant
111: TypeImage 41(int) 1D sampled format:Unknown
112: TypePointer UniformConstant 111
113(g_tTex1du4): 112(ptr) Variable UniformConstant
114: TypeImage 6(float) 3D sampled format:Unknown
115: TypePointer UniformConstant 114
116(g_tTex3df4): 115(ptr) Variable UniformConstant
117: TypeImage 24(int) 3D sampled format:Unknown
118: TypePointer UniformConstant 117
119(g_tTex3di4): 118(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
5: Label
9(txval20): 8(ptr) Variable Function
@ -393,6 +402,7 @@ gl_FragCoord origin is upper left
Store 95 94
98: 97(ptr) AccessChain 92(psout) 96
Store 98 93
99:90(PS_OUTPUT) Load 92(psout)
ReturnValue 99
101:90(PS_OUTPUT) Load 92(psout)
Store 100(@entryPointOutput) 101
Return
FunctionEnd

View File

@ -77,8 +77,11 @@ Shader version: 450
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -178,8 +181,11 @@ Shader version: 450
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -199,13 +205,13 @@ Shader version: 450
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 118
// Id's are bound by 120
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main"
EntryPoint Vertex 4 "main" 97
Name 4 "main"
Name 9 "txval20"
Name 12 "g_tTex2df4"
@ -223,14 +229,15 @@ Shader version: 450
Name 90 "VS_OUTPUT"
MemberName 90(VS_OUTPUT) 0 "Pos"
Name 92 "vsout"
Name 98 "g_sSamp2d"
Name 101 "g_tTex1df4a"
Name 102 "g_tTex1df4"
Name 105 "g_tTex1di4"
Name 108 "g_tTex1du4"
Name 111 "g_tTex3df4"
Name 114 "g_tTex3di4"
Name 117 "g_tTex3du4"
Name 97 "@entryPointOutput"
Name 100 "g_sSamp2d"
Name 103 "g_tTex1df4a"
Name 104 "g_tTex1df4"
Name 107 "g_tTex1di4"
Name 110 "g_tTex1du4"
Name 113 "g_tTex3df4"
Name 116 "g_tTex3di4"
Name 119 "g_tTex3du4"
Decorate 12(g_tTex2df4) DescriptorSet 0
Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0
@ -240,16 +247,16 @@ Shader version: 450
Decorate 70(g_tTexcdi4) DescriptorSet 0
Decorate 80(g_tTexcdu4) DescriptorSet 0
MemberDecorate 90(VS_OUTPUT) 0 BuiltIn FragCoord
Decorate 98(g_sSamp2d) DescriptorSet 0
Decorate 101(g_tTex1df4a) DescriptorSet 0
Decorate 101(g_tTex1df4a) Binding 1
Decorate 102(g_tTex1df4) DescriptorSet 0
Decorate 102(g_tTex1df4) Binding 0
Decorate 105(g_tTex1di4) DescriptorSet 0
Decorate 108(g_tTex1du4) DescriptorSet 0
Decorate 111(g_tTex3df4) DescriptorSet 0
Decorate 114(g_tTex3di4) DescriptorSet 0
Decorate 117(g_tTex3du4) DescriptorSet 0
Decorate 100(g_sSamp2d) DescriptorSet 0
Decorate 103(g_tTex1df4a) DescriptorSet 0
Decorate 103(g_tTex1df4a) Binding 1
Decorate 104(g_tTex1df4) DescriptorSet 0
Decorate 104(g_tTex1df4) Binding 0
Decorate 107(g_tTex1di4) DescriptorSet 0
Decorate 110(g_tTex1du4) DescriptorSet 0
Decorate 113(g_tTex3df4) DescriptorSet 0
Decorate 116(g_tTex3di4) DescriptorSet 0
Decorate 119(g_tTex3du4) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -310,26 +317,28 @@ Shader version: 450
91: TypePointer Function 90(VS_OUTPUT)
93: 6(float) Constant 0
94: 7(fvec4) ConstantComposite 93 93 93 93
98(g_sSamp2d): 15(ptr) Variable UniformConstant
99: TypeImage 6(float) 1D sampled format:Unknown
100: TypePointer UniformConstant 99
101(g_tTex1df4a): 100(ptr) Variable UniformConstant
102(g_tTex1df4): 100(ptr) Variable UniformConstant
103: TypeImage 24(int) 1D sampled format:Unknown
104: TypePointer UniformConstant 103
105(g_tTex1di4): 104(ptr) Variable UniformConstant
106: TypeImage 41(int) 1D sampled format:Unknown
107: TypePointer UniformConstant 106
108(g_tTex1du4): 107(ptr) Variable UniformConstant
109: TypeImage 6(float) 3D sampled format:Unknown
110: TypePointer UniformConstant 109
111(g_tTex3df4): 110(ptr) Variable UniformConstant
112: TypeImage 24(int) 3D sampled format:Unknown
113: TypePointer UniformConstant 112
114(g_tTex3di4): 113(ptr) Variable UniformConstant
115: TypeImage 41(int) 3D sampled format:Unknown
116: TypePointer UniformConstant 115
117(g_tTex3du4): 116(ptr) Variable UniformConstant
96: TypePointer Output 90(VS_OUTPUT)
97(@entryPointOutput): 96(ptr) Variable Output
100(g_sSamp2d): 15(ptr) Variable UniformConstant
101: TypeImage 6(float) 1D sampled format:Unknown
102: TypePointer UniformConstant 101
103(g_tTex1df4a): 102(ptr) Variable UniformConstant
104(g_tTex1df4): 102(ptr) Variable UniformConstant
105: TypeImage 24(int) 1D sampled format:Unknown
106: TypePointer UniformConstant 105
107(g_tTex1di4): 106(ptr) Variable UniformConstant
108: TypeImage 41(int) 1D sampled format:Unknown
109: TypePointer UniformConstant 108
110(g_tTex1du4): 109(ptr) Variable UniformConstant
111: TypeImage 6(float) 3D sampled format:Unknown
112: TypePointer UniformConstant 111
113(g_tTex3df4): 112(ptr) Variable UniformConstant
114: TypeImage 24(int) 3D sampled format:Unknown
115: TypePointer UniformConstant 114
116(g_tTex3di4): 115(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
5: Label
9(txval20): 8(ptr) Variable Function
@ -371,6 +380,7 @@ Shader version: 450
Store 77(txval42) 89
95: 8(ptr) AccessChain 92(vsout) 25
Store 95 94
96:90(VS_OUTPUT) Load 92(vsout)
ReturnValue 96
98:90(VS_OUTPUT) Load 92(vsout)
Store 97(@entryPointOutput) 98
Return
FunctionEnd

View File

@ -61,8 +61,11 @@ gl_FragCoord origin is upper left
0:41 1 (const int)
0:41 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -145,8 +148,11 @@ gl_FragCoord origin is upper left
0:41 1 (const int)
0:41 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -165,13 +171,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 100
// Id's are bound by 102
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 71
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval20"
@ -185,34 +191,35 @@ gl_FragCoord origin is upper left
MemberName 62(PS_OUTPUT) 0 "Color"
MemberName 62(PS_OUTPUT) 1 "Depth"
Name 64 "psout"
Name 74 "g_tTex1df4a"
Name 75 "g_tTex1df4"
Name 78 "g_tTex1di4"
Name 81 "g_tTex1du4"
Name 84 "g_tTex3df4"
Name 87 "g_tTex3di4"
Name 90 "g_tTex3du4"
Name 93 "g_tTexcdf4"
Name 96 "g_tTexcdi4"
Name 99 "g_tTexcdu4"
Name 71 "@entryPointOutput"
Name 76 "g_tTex1df4a"
Name 77 "g_tTex1df4"
Name 80 "g_tTex1di4"
Name 83 "g_tTex1du4"
Name 86 "g_tTex3df4"
Name 89 "g_tTex3di4"
Name 92 "g_tTex3du4"
Name 95 "g_tTexcdf4"
Name 98 "g_tTexcdi4"
Name 101 "g_tTexcdu4"
Decorate 12(g_tTex2df4) DescriptorSet 0
Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0
Decorate 35(g_tTex2di4) DescriptorSet 0
Decorate 51(g_tTex2du4) DescriptorSet 0
MemberDecorate 62(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 74(g_tTex1df4a) DescriptorSet 0
Decorate 74(g_tTex1df4a) Binding 1
Decorate 75(g_tTex1df4) DescriptorSet 0
Decorate 75(g_tTex1df4) Binding 0
Decorate 78(g_tTex1di4) DescriptorSet 0
Decorate 81(g_tTex1du4) DescriptorSet 0
Decorate 84(g_tTex3df4) DescriptorSet 0
Decorate 87(g_tTex3di4) DescriptorSet 0
Decorate 90(g_tTex3du4) DescriptorSet 0
Decorate 93(g_tTexcdf4) DescriptorSet 0
Decorate 96(g_tTexcdi4) DescriptorSet 0
Decorate 99(g_tTexcdu4) DescriptorSet 0
Decorate 76(g_tTex1df4a) DescriptorSet 0
Decorate 76(g_tTex1df4a) Binding 1
Decorate 77(g_tTex1df4) DescriptorSet 0
Decorate 77(g_tTex1df4) Binding 0
Decorate 80(g_tTex1di4) DescriptorSet 0
Decorate 83(g_tTex1du4) DescriptorSet 0
Decorate 86(g_tTex3df4) DescriptorSet 0
Decorate 89(g_tTex3di4) DescriptorSet 0
Decorate 92(g_tTex3du4) DescriptorSet 0
Decorate 95(g_tTexcdf4) DescriptorSet 0
Decorate 98(g_tTexcdi4) DescriptorSet 0
Decorate 101(g_tTexcdu4) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -261,34 +268,36 @@ gl_FragCoord origin is upper left
65: 6(float) Constant 1065353216
66: 7(fvec4) ConstantComposite 65 65 65 65
68: TypePointer Function 6(float)
72: TypeImage 6(float) 1D sampled format:Unknown
73: TypePointer UniformConstant 72
74(g_tTex1df4a): 73(ptr) Variable UniformConstant
75(g_tTex1df4): 73(ptr) Variable UniformConstant
76: TypeImage 24(int) 1D sampled format:Unknown
77: TypePointer UniformConstant 76
78(g_tTex1di4): 77(ptr) Variable UniformConstant
79: TypeImage 45(int) 1D sampled format:Unknown
80: TypePointer UniformConstant 79
81(g_tTex1du4): 80(ptr) Variable UniformConstant
82: TypeImage 6(float) 3D sampled format:Unknown
83: TypePointer UniformConstant 82
84(g_tTex3df4): 83(ptr) Variable UniformConstant
85: TypeImage 24(int) 3D sampled format:Unknown
86: TypePointer UniformConstant 85
87(g_tTex3di4): 86(ptr) Variable UniformConstant
88: TypeImage 45(int) 3D sampled format:Unknown
89: TypePointer UniformConstant 88
90(g_tTex3du4): 89(ptr) Variable UniformConstant
91: TypeImage 6(float) Cube sampled format:Unknown
92: TypePointer UniformConstant 91
93(g_tTexcdf4): 92(ptr) Variable UniformConstant
94: TypeImage 24(int) Cube sampled format:Unknown
95: TypePointer UniformConstant 94
96(g_tTexcdi4): 95(ptr) Variable UniformConstant
97: TypeImage 45(int) Cube sampled format:Unknown
98: TypePointer UniformConstant 97
99(g_tTexcdu4): 98(ptr) Variable UniformConstant
70: TypePointer Output 62(PS_OUTPUT)
71(@entryPointOutput): 70(ptr) Variable Output
74: TypeImage 6(float) 1D sampled format:Unknown
75: TypePointer UniformConstant 74
76(g_tTex1df4a): 75(ptr) Variable UniformConstant
77(g_tTex1df4): 75(ptr) Variable UniformConstant
78: TypeImage 24(int) 1D sampled format:Unknown
79: TypePointer UniformConstant 78
80(g_tTex1di4): 79(ptr) Variable UniformConstant
81: TypeImage 45(int) 1D sampled format:Unknown
82: TypePointer UniformConstant 81
83(g_tTex1du4): 82(ptr) Variable UniformConstant
84: TypeImage 6(float) 3D sampled format:Unknown
85: TypePointer UniformConstant 84
86(g_tTex3df4): 85(ptr) Variable UniformConstant
87: TypeImage 24(int) 3D sampled format:Unknown
88: TypePointer UniformConstant 87
89(g_tTex3di4): 88(ptr) Variable UniformConstant
90: TypeImage 45(int) 3D sampled format:Unknown
91: TypePointer UniformConstant 90
92(g_tTex3du4): 91(ptr) Variable UniformConstant
93: TypeImage 6(float) Cube sampled format:Unknown
94: TypePointer UniformConstant 93
95(g_tTexcdf4): 94(ptr) Variable UniformConstant
96: TypeImage 24(int) Cube sampled format:Unknown
97: TypePointer UniformConstant 96
98(g_tTexcdi4): 97(ptr) Variable UniformConstant
99: TypeImage 45(int) Cube sampled format:Unknown
100: TypePointer UniformConstant 99
101(g_tTexcdu4): 100(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
9(txval20): 8(ptr) Variable Function
@ -314,6 +323,7 @@ gl_FragCoord origin is upper left
Store 67 66
69: 68(ptr) AccessChain 64(psout) 26
Store 69 65
70:62(PS_OUTPUT) Load 64(psout)
ReturnValue 70
72:62(PS_OUTPUT) Load 64(psout)
Store 71(@entryPointOutput) 72
Return
FunctionEnd

View File

@ -64,8 +64,11 @@ gl_FragCoord origin is upper left
0:33 1 (const int)
0:33 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -145,8 +148,11 @@ gl_FragCoord origin is upper left
0:33 1 (const int)
0:33 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -159,13 +165,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 83
// Id's are bound by 85
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 72
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval20"
@ -179,22 +185,23 @@ gl_FragCoord origin is upper left
MemberName 63(PS_OUTPUT) 0 "Color"
MemberName 63(PS_OUTPUT) 1 "Depth"
Name 65 "psout"
Name 75 "g_tTex1df4a"
Name 76 "g_tTex1df4"
Name 79 "g_tTex1di4"
Name 82 "g_tTex1du4"
Name 72 "@entryPointOutput"
Name 77 "g_tTex1df4a"
Name 78 "g_tTex1df4"
Name 81 "g_tTex1di4"
Name 84 "g_tTex1du4"
Decorate 12(g_tTex2df4) DescriptorSet 0
Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0
Decorate 36(g_tTex2di4) DescriptorSet 0
Decorate 51(g_tTex2du4) DescriptorSet 0
MemberDecorate 63(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 75(g_tTex1df4a) DescriptorSet 0
Decorate 75(g_tTex1df4a) Binding 1
Decorate 76(g_tTex1df4) DescriptorSet 0
Decorate 76(g_tTex1df4) Binding 0
Decorate 79(g_tTex1di4) DescriptorSet 0
Decorate 82(g_tTex1du4) DescriptorSet 0
Decorate 77(g_tTex1df4a) DescriptorSet 0
Decorate 77(g_tTex1df4a) Binding 1
Decorate 78(g_tTex1df4) DescriptorSet 0
Decorate 78(g_tTex1df4) Binding 0
Decorate 81(g_tTex1di4) DescriptorSet 0
Decorate 84(g_tTex1du4) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -244,16 +251,18 @@ gl_FragCoord origin is upper left
66: 6(float) Constant 1065353216
67: 7(fvec4) ConstantComposite 66 66 66 66
69: TypePointer Function 6(float)
73: TypeImage 6(float) 1D array sampled format:Unknown
74: TypePointer UniformConstant 73
75(g_tTex1df4a): 74(ptr) Variable UniformConstant
76(g_tTex1df4): 74(ptr) Variable UniformConstant
77: TypeImage 25(int) 1D array sampled format:Unknown
78: TypePointer UniformConstant 77
79(g_tTex1di4): 78(ptr) Variable UniformConstant
80: TypeImage 45(int) 1D array sampled format:Unknown
81: TypePointer UniformConstant 80
82(g_tTex1du4): 81(ptr) Variable UniformConstant
71: TypePointer Output 63(PS_OUTPUT)
72(@entryPointOutput): 71(ptr) Variable Output
75: TypeImage 6(float) 1D array sampled format:Unknown
76: TypePointer UniformConstant 75
77(g_tTex1df4a): 76(ptr) Variable UniformConstant
78(g_tTex1df4): 76(ptr) Variable UniformConstant
79: TypeImage 25(int) 1D array sampled format:Unknown
80: TypePointer UniformConstant 79
81(g_tTex1di4): 80(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
5: Label
9(txval20): 8(ptr) Variable Function
@ -279,6 +288,7 @@ gl_FragCoord origin is upper left
Store 68 67
70: 69(ptr) AccessChain 65(psout) 27
Store 70 66
71:63(PS_OUTPUT) Load 65(psout)
ReturnValue 71
73:63(PS_OUTPUT) Load 65(psout)
Store 72(@entryPointOutput) 73
Return
FunctionEnd

View File

@ -262,8 +262,11 @@ gl_FragCoord origin is upper left
0:68 1 (const int)
0:68 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -548,8 +551,11 @@ gl_FragCoord origin is upper left
0:68 1 (const int)
0:68 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -569,14 +575,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 220
// Id's are bound by 222
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 204
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval00"
@ -616,12 +622,13 @@ gl_FragCoord origin is upper left
MemberName 195(PS_OUTPUT) 0 "Color"
MemberName 195(PS_OUTPUT) 1 "Depth"
Name 197 "psout"
Name 205 "g_sSamp2d"
Name 208 "g_tTex1df4a"
Name 211 "g_tTex1di4a"
Name 214 "g_tTex1du4a"
Name 216 "c1"
Name 219 "c2"
Name 204 "@entryPointOutput"
Name 207 "g_sSamp2d"
Name 210 "g_tTex1df4a"
Name 213 "g_tTex1di4a"
Name 216 "g_tTex1du4a"
Name 218 "c1"
Name 221 "c2"
Decorate 12(g_tTex2df4a) DescriptorSet 0
Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0
@ -631,11 +638,11 @@ gl_FragCoord origin is upper left
Decorate 124(g_tTexcdi4a) DescriptorSet 0
Decorate 134(g_tTexcdu4a) DescriptorSet 0
MemberDecorate 195(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 205(g_sSamp2d) DescriptorSet 0
Decorate 208(g_tTex1df4a) DescriptorSet 0
Decorate 208(g_tTex1df4a) Binding 0
Decorate 211(g_tTex1di4a) DescriptorSet 0
Decorate 214(g_tTex1du4a) DescriptorSet 0
Decorate 207(g_sSamp2d) DescriptorSet 0
Decorate 210(g_tTex1df4a) DescriptorSet 0
Decorate 210(g_tTex1df4a) Binding 0
Decorate 213(g_tTex1di4a) DescriptorSet 0
Decorate 216(g_tTex1du4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -688,21 +695,23 @@ gl_FragCoord origin is upper left
198: 6(float) Constant 1065353216
199: 7(fvec4) ConstantComposite 198 198 198 198
201: TypePointer Function 6(float)
205(g_sSamp2d): 15(ptr) Variable UniformConstant
206: TypeImage 6(float) 1D array sampled format:Unknown
207: TypePointer UniformConstant 206
208(g_tTex1df4a): 207(ptr) Variable UniformConstant
209: TypeImage 24(int) 1D array sampled format:Unknown
210: TypePointer UniformConstant 209
211(g_tTex1di4a): 210(ptr) Variable UniformConstant
212: TypeImage 39(int) 1D array sampled format:Unknown
213: TypePointer UniformConstant 212
214(g_tTex1du4a): 213(ptr) Variable UniformConstant
215: TypePointer UniformConstant 6(float)
216(c1): 215(ptr) Variable UniformConstant
217: TypeVector 6(float) 2
218: TypePointer UniformConstant 217(fvec2)
219(c2): 218(ptr) Variable UniformConstant
203: TypePointer Output 195(PS_OUTPUT)
204(@entryPointOutput): 203(ptr) Variable Output
207(g_sSamp2d): 15(ptr) Variable UniformConstant
208: TypeImage 6(float) 1D array sampled format:Unknown
209: TypePointer UniformConstant 208
210(g_tTex1df4a): 209(ptr) Variable UniformConstant
211: TypeImage 24(int) 1D array sampled format:Unknown
212: TypePointer UniformConstant 211
213(g_tTex1di4a): 212(ptr) Variable UniformConstant
214: TypeImage 39(int) 1D array sampled format:Unknown
215: TypePointer UniformConstant 214
216(g_tTex1du4a): 215(ptr) Variable UniformConstant
217: TypePointer UniformConstant 6(float)
218(c1): 217(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
5: Label
9(txval00): 8(ptr) Variable Function
@ -878,6 +887,7 @@ gl_FragCoord origin is upper left
Store 200 199
202: 201(ptr) AccessChain 197(psout) 57
Store 202 198
203:195(PS_OUTPUT) Load 197(psout)
ReturnValue 203
205:195(PS_OUTPUT) Load 197(psout)
Store 204(@entryPointOutput) 205
Return
FunctionEnd

View File

@ -262,8 +262,11 @@ gl_FragCoord origin is upper left
0:74 1 (const int)
0:74 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -552,8 +555,11 @@ gl_FragCoord origin is upper left
0:74 1 (const int)
0:74 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -577,13 +583,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 230
// Id's are bound by 232
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 205
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval00"
@ -623,16 +629,17 @@ gl_FragCoord origin is upper left
MemberName 196(PS_OUTPUT) 0 "Color"
MemberName 196(PS_OUTPUT) 1 "Depth"
Name 198 "psout"
Name 206 "g_sSamp2d"
Name 209 "g_tTex1df4a"
Name 210 "g_tTex1df4"
Name 213 "g_tTex1di4"
Name 216 "g_tTex1du4"
Name 219 "g_tTex3df4"
Name 222 "g_tTex3di4"
Name 225 "g_tTex3du4"
Name 227 "c1"
Name 229 "c4"
Name 205 "@entryPointOutput"
Name 208 "g_sSamp2d"
Name 211 "g_tTex1df4a"
Name 212 "g_tTex1df4"
Name 215 "g_tTex1di4"
Name 218 "g_tTex1du4"
Name 221 "g_tTex3df4"
Name 224 "g_tTex3di4"
Name 227 "g_tTex3du4"
Name 229 "c1"
Name 231 "c4"
Decorate 12(g_tTex2df4) DescriptorSet 0
Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0
@ -642,16 +649,16 @@ gl_FragCoord origin is upper left
Decorate 125(g_tTexcdi4) DescriptorSet 0
Decorate 135(g_tTexcdu4) DescriptorSet 0
MemberDecorate 196(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 206(g_sSamp2d) DescriptorSet 0
Decorate 209(g_tTex1df4a) DescriptorSet 0
Decorate 209(g_tTex1df4a) Binding 1
Decorate 210(g_tTex1df4) DescriptorSet 0
Decorate 210(g_tTex1df4) Binding 0
Decorate 213(g_tTex1di4) DescriptorSet 0
Decorate 216(g_tTex1du4) DescriptorSet 0
Decorate 219(g_tTex3df4) DescriptorSet 0
Decorate 222(g_tTex3di4) DescriptorSet 0
Decorate 225(g_tTex3du4) DescriptorSet 0
Decorate 208(g_sSamp2d) DescriptorSet 0
Decorate 211(g_tTex1df4a) DescriptorSet 0
Decorate 211(g_tTex1df4a) Binding 1
Decorate 212(g_tTex1df4) DescriptorSet 0
Decorate 212(g_tTex1df4) Binding 0
Decorate 215(g_tTex1di4) DescriptorSet 0
Decorate 218(g_tTex1du4) DescriptorSet 0
Decorate 221(g_tTex3df4) DescriptorSet 0
Decorate 224(g_tTex3di4) DescriptorSet 0
Decorate 227(g_tTex3du4) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -705,30 +712,32 @@ gl_FragCoord origin is upper left
199: 6(float) Constant 1065353216
200: 7(fvec4) ConstantComposite 199 199 199 199
202: TypePointer Function 6(float)
206(g_sSamp2d): 15(ptr) Variable UniformConstant
207: TypeImage 6(float) 1D sampled format:Unknown
208: TypePointer UniformConstant 207
209(g_tTex1df4a): 208(ptr) Variable UniformConstant
210(g_tTex1df4): 208(ptr) Variable UniformConstant
211: TypeImage 24(int) 1D sampled format:Unknown
212: TypePointer UniformConstant 211
213(g_tTex1di4): 212(ptr) Variable UniformConstant
214: TypeImage 39(int) 1D sampled format:Unknown
215: TypePointer UniformConstant 214
216(g_tTex1du4): 215(ptr) Variable UniformConstant
217: TypeImage 6(float) 3D sampled format:Unknown
218: TypePointer UniformConstant 217
219(g_tTex3df4): 218(ptr) Variable UniformConstant
220: TypeImage 24(int) 3D sampled format:Unknown
221: TypePointer UniformConstant 220
222(g_tTex3di4): 221(ptr) Variable UniformConstant
223: TypeImage 39(int) 3D sampled format:Unknown
224: TypePointer UniformConstant 223
225(g_tTex3du4): 224(ptr) Variable UniformConstant
226: TypePointer UniformConstant 6(float)
227(c1): 226(ptr) Variable UniformConstant
228: TypePointer UniformConstant 7(fvec4)
229(c4): 228(ptr) Variable UniformConstant
204: TypePointer Output 196(PS_OUTPUT)
205(@entryPointOutput): 204(ptr) Variable Output
208(g_sSamp2d): 15(ptr) Variable UniformConstant
209: TypeImage 6(float) 1D sampled format:Unknown
210: TypePointer UniformConstant 209
211(g_tTex1df4a): 210(ptr) Variable UniformConstant
212(g_tTex1df4): 210(ptr) Variable UniformConstant
213: TypeImage 24(int) 1D sampled format:Unknown
214: TypePointer UniformConstant 213
215(g_tTex1di4): 214(ptr) Variable UniformConstant
216: TypeImage 39(int) 1D sampled format:Unknown
217: TypePointer UniformConstant 216
218(g_tTex1du4): 217(ptr) Variable UniformConstant
219: TypeImage 6(float) 3D sampled format:Unknown
220: TypePointer UniformConstant 219
221(g_tTex3df4): 220(ptr) Variable UniformConstant
222: TypeImage 24(int) 3D sampled format:Unknown
223: TypePointer UniformConstant 222
224(g_tTex3di4): 223(ptr) Variable UniformConstant
225: TypeImage 39(int) 3D sampled format:Unknown
226: TypePointer UniformConstant 225
227(g_tTex3du4): 226(ptr) Variable UniformConstant
228: TypePointer UniformConstant 6(float)
229(c1): 228(ptr) Variable UniformConstant
230: TypePointer UniformConstant 7(fvec4)
231(c4): 230(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
9(txval00): 8(ptr) Variable Function
@ -904,6 +913,7 @@ gl_FragCoord origin is upper left
Store 201 200
203: 202(ptr) AccessChain 198(psout) 57
Store 203 199
204:196(PS_OUTPUT) Load 198(psout)
ReturnValue 204
206:196(PS_OUTPUT) Load 198(psout)
Store 205(@entryPointOutput) 206
Return
FunctionEnd

View File

@ -334,8 +334,11 @@ gl_FragCoord origin is upper left
0:113 1 (const int)
0:113 Constant:
0:113 1.000000
0:115 Branch: Return with expression
0:115 Sequence
0:115 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:115 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:115 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -700,8 +703,11 @@ gl_FragCoord origin is upper left
0:113 1 (const int)
0:113 Constant:
0:113 1.000000
0:115 Branch: Return with expression
0:115 Sequence
0:115 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:115 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:115 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -729,14 +735,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 311
// Id's are bound by 313
Capability Shader
Capability ImageGatherExtended
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 267
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval001"
@ -773,42 +779,43 @@ gl_FragCoord origin is upper left
MemberName 258(PS_OUTPUT) 0 "Color"
MemberName 258(PS_OUTPUT) 1 "Depth"
Name 260 "psout"
Name 268 "g_sSamp2d"
Name 271 "g_tTex1df4a"
Name 272 "g_tTex1df4"
Name 275 "g_tTex1di4"
Name 278 "g_tTex1du4"
Name 281 "g_tTex3df4"
Name 284 "g_tTex3di4"
Name 287 "g_tTex3du4"
Name 290 "g_tTexcdf4"
Name 293 "g_tTexcdi4"
Name 296 "g_tTexcdu4"
Name 298 "c1"
Name 301 "c3"
Name 303 "c4"
Name 305 "o1"
Name 308 "o3"
Name 310 "o4"
Name 267 "@entryPointOutput"
Name 270 "g_sSamp2d"
Name 273 "g_tTex1df4a"
Name 274 "g_tTex1df4"
Name 277 "g_tTex1di4"
Name 280 "g_tTex1du4"
Name 283 "g_tTex3df4"
Name 286 "g_tTex3di4"
Name 289 "g_tTex3du4"
Name 292 "g_tTexcdf4"
Name 295 "g_tTexcdi4"
Name 298 "g_tTexcdu4"
Name 300 "c1"
Name 303 "c3"
Name 305 "c4"
Name 307 "o1"
Name 310 "o3"
Name 312 "o4"
Decorate 12(g_tTex2df4) DescriptorSet 0
Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0
Decorate 36(g_tTex2di4) DescriptorSet 0
Decorate 50(g_tTex2du4) DescriptorSet 0
MemberDecorate 258(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 268(g_sSamp2d) DescriptorSet 0
Decorate 271(g_tTex1df4a) DescriptorSet 0
Decorate 271(g_tTex1df4a) Binding 1
Decorate 272(g_tTex1df4) DescriptorSet 0
Decorate 272(g_tTex1df4) Binding 0
Decorate 275(g_tTex1di4) DescriptorSet 0
Decorate 278(g_tTex1du4) DescriptorSet 0
Decorate 281(g_tTex3df4) DescriptorSet 0
Decorate 284(g_tTex3di4) DescriptorSet 0
Decorate 287(g_tTex3du4) DescriptorSet 0
Decorate 290(g_tTexcdf4) DescriptorSet 0
Decorate 293(g_tTexcdi4) DescriptorSet 0
Decorate 296(g_tTexcdu4) DescriptorSet 0
Decorate 270(g_sSamp2d) DescriptorSet 0
Decorate 273(g_tTex1df4a) DescriptorSet 0
Decorate 273(g_tTex1df4a) Binding 1
Decorate 274(g_tTex1df4) DescriptorSet 0
Decorate 274(g_tTex1df4) Binding 0
Decorate 277(g_tTex1di4) DescriptorSet 0
Decorate 280(g_tTex1du4) DescriptorSet 0
Decorate 283(g_tTex3df4) DescriptorSet 0
Decorate 286(g_tTex3di4) DescriptorSet 0
Decorate 289(g_tTex3du4) DescriptorSet 0
Decorate 292(g_tTexcdf4) DescriptorSet 0
Decorate 295(g_tTexcdi4) DescriptorSet 0
Decorate 298(g_tTexcdu4) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -852,49 +859,51 @@ gl_FragCoord origin is upper left
261: 6(float) Constant 1065353216
262: 7(fvec4) ConstantComposite 261 261 261 261
264: TypePointer Function 6(float)
268(g_sSamp2d): 15(ptr) Variable UniformConstant
269: TypeImage 6(float) 1D sampled format:Unknown
270: TypePointer UniformConstant 269
271(g_tTex1df4a): 270(ptr) Variable UniformConstant
272(g_tTex1df4): 270(ptr) Variable UniformConstant
273: TypeImage 24(int) 1D sampled format:Unknown
274: TypePointer UniformConstant 273
275(g_tTex1di4): 274(ptr) Variable UniformConstant
276: TypeImage 44(int) 1D sampled format:Unknown
277: TypePointer UniformConstant 276
278(g_tTex1du4): 277(ptr) Variable UniformConstant
279: TypeImage 6(float) 3D sampled format:Unknown
280: TypePointer UniformConstant 279
281(g_tTex3df4): 280(ptr) Variable UniformConstant
282: TypeImage 24(int) 3D sampled format:Unknown
283: TypePointer UniformConstant 282
284(g_tTex3di4): 283(ptr) Variable UniformConstant
285: TypeImage 44(int) 3D sampled format:Unknown
286: TypePointer UniformConstant 285
287(g_tTex3du4): 286(ptr) Variable UniformConstant
288: TypeImage 6(float) Cube sampled format:Unknown
289: TypePointer UniformConstant 288
290(g_tTexcdf4): 289(ptr) Variable UniformConstant
291: TypeImage 24(int) Cube sampled format:Unknown
292: TypePointer UniformConstant 291
293(g_tTexcdi4): 292(ptr) Variable UniformConstant
294: TypeImage 44(int) Cube sampled format:Unknown
295: TypePointer UniformConstant 294
296(g_tTexcdu4): 295(ptr) Variable UniformConstant
297: TypePointer UniformConstant 6(float)
298(c1): 297(ptr) Variable UniformConstant
299: TypeVector 6(float) 3
300: TypePointer UniformConstant 299(fvec3)
301(c3): 300(ptr) Variable UniformConstant
302: TypePointer UniformConstant 7(fvec4)
303(c4): 302(ptr) Variable UniformConstant
304: TypePointer UniformConstant 24(int)
305(o1): 304(ptr) Variable UniformConstant
306: TypeVector 24(int) 3
307: TypePointer UniformConstant 306(ivec3)
308(o3): 307(ptr) Variable UniformConstant
309: TypePointer UniformConstant 31(ivec4)
310(o4): 309(ptr) Variable UniformConstant
266: TypePointer Output 258(PS_OUTPUT)
267(@entryPointOutput): 266(ptr) Variable Output
270(g_sSamp2d): 15(ptr) Variable UniformConstant
271: TypeImage 6(float) 1D sampled format:Unknown
272: TypePointer UniformConstant 271
273(g_tTex1df4a): 272(ptr) Variable UniformConstant
274(g_tTex1df4): 272(ptr) Variable UniformConstant
275: TypeImage 24(int) 1D sampled format:Unknown
276: TypePointer UniformConstant 275
277(g_tTex1di4): 276(ptr) Variable UniformConstant
278: TypeImage 44(int) 1D sampled format:Unknown
279: TypePointer UniformConstant 278
280(g_tTex1du4): 279(ptr) Variable UniformConstant
281: TypeImage 6(float) 3D sampled format:Unknown
282: TypePointer UniformConstant 281
283(g_tTex3df4): 282(ptr) Variable UniformConstant
284: TypeImage 24(int) 3D sampled format:Unknown
285: TypePointer UniformConstant 284
286(g_tTex3di4): 285(ptr) Variable UniformConstant
287: TypeImage 44(int) 3D sampled format:Unknown
288: TypePointer UniformConstant 287
289(g_tTex3du4): 288(ptr) Variable UniformConstant
290: TypeImage 6(float) Cube sampled format:Unknown
291: TypePointer UniformConstant 290
292(g_tTexcdf4): 291(ptr) Variable UniformConstant
293: TypeImage 24(int) Cube sampled format:Unknown
294: TypePointer UniformConstant 293
295(g_tTexcdi4): 294(ptr) Variable UniformConstant
296: TypeImage 44(int) Cube sampled format:Unknown
297: TypePointer UniformConstant 296
298(g_tTexcdu4): 297(ptr) Variable UniformConstant
299: TypePointer UniformConstant 6(float)
300(c1): 299(ptr) Variable UniformConstant
301: TypeVector 6(float) 3
302: TypePointer UniformConstant 301(fvec3)
303(c3): 302(ptr) Variable UniformConstant
304: TypePointer UniformConstant 7(fvec4)
305(c4): 304(ptr) Variable UniformConstant
306: TypePointer UniformConstant 24(int)
307(o1): 306(ptr) Variable UniformConstant
308: TypeVector 24(int) 3
309: TypePointer UniformConstant 308(ivec3)
310(o3): 309(ptr) Variable UniformConstant
311: TypePointer UniformConstant 31(ivec4)
312(o4): 311(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
9(txval001): 8(ptr) Variable Function
@ -1142,6 +1151,7 @@ gl_FragCoord origin is upper left
Store 263 262
265: 264(ptr) AccessChain 260(psout) 99
Store 265 261
266:258(PS_OUTPUT) Load 260(psout)
ReturnValue 266
268:258(PS_OUTPUT) Load 260(psout)
Store 267(@entryPointOutput) 268
Return
FunctionEnd

View File

@ -334,8 +334,11 @@ gl_FragCoord origin is upper left
0:107 1 (const int)
0:107 Constant:
0:107 1.000000
0:109 Branch: Return with expression
0:109 Sequence
0:109 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:109 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:109 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -696,8 +699,11 @@ gl_FragCoord origin is upper left
0:107 1 (const int)
0:107 Constant:
0:107 1.000000
0:109 Branch: Return with expression
0:109 Sequence
0:109 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:109 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:109 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -721,7 +727,7 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 301
// Id's are bound by 303
Capability Shader
Capability ImageGatherExtended
@ -729,7 +735,7 @@ gl_FragCoord origin is upper left
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 267
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval001"
@ -766,33 +772,34 @@ gl_FragCoord origin is upper left
MemberName 258(PS_OUTPUT) 0 "Color"
MemberName 258(PS_OUTPUT) 1 "Depth"
Name 260 "psout"
Name 268 "g_sSamp2d"
Name 271 "g_tTex1df4a"
Name 274 "g_tTex1di4a"
Name 277 "g_tTex1du4a"
Name 280 "g_tTexcdf4a"
Name 283 "g_tTexcdi4a"
Name 286 "g_tTexcdu4a"
Name 288 "c1"
Name 291 "c2"
Name 293 "c4"
Name 295 "o1"
Name 298 "o3"
Name 300 "o4"
Name 267 "@entryPointOutput"
Name 270 "g_sSamp2d"
Name 273 "g_tTex1df4a"
Name 276 "g_tTex1di4a"
Name 279 "g_tTex1du4a"
Name 282 "g_tTexcdf4a"
Name 285 "g_tTexcdi4a"
Name 288 "g_tTexcdu4a"
Name 290 "c1"
Name 293 "c2"
Name 295 "c4"
Name 297 "o1"
Name 300 "o3"
Name 302 "o4"
Decorate 12(g_tTex2df4a) DescriptorSet 0
Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0
Decorate 36(g_tTex2di4a) DescriptorSet 0
Decorate 50(g_tTex2du4a) DescriptorSet 0
MemberDecorate 258(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 268(g_sSamp2d) DescriptorSet 0
Decorate 271(g_tTex1df4a) DescriptorSet 0
Decorate 271(g_tTex1df4a) Binding 0
Decorate 274(g_tTex1di4a) DescriptorSet 0
Decorate 277(g_tTex1du4a) DescriptorSet 0
Decorate 280(g_tTexcdf4a) DescriptorSet 0
Decorate 283(g_tTexcdi4a) DescriptorSet 0
Decorate 286(g_tTexcdu4a) DescriptorSet 0
Decorate 270(g_sSamp2d) DescriptorSet 0
Decorate 273(g_tTex1df4a) DescriptorSet 0
Decorate 273(g_tTex1df4a) Binding 0
Decorate 276(g_tTex1di4a) DescriptorSet 0
Decorate 279(g_tTex1du4a) DescriptorSet 0
Decorate 282(g_tTexcdf4a) DescriptorSet 0
Decorate 285(g_tTexcdi4a) DescriptorSet 0
Decorate 288(g_tTexcdu4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -836,39 +843,41 @@ gl_FragCoord origin is upper left
261: 6(float) Constant 1065353216
262: 7(fvec4) ConstantComposite 261 261 261 261
264: TypePointer Function 6(float)
268(g_sSamp2d): 15(ptr) Variable UniformConstant
269: TypeImage 6(float) 1D array sampled format:Unknown
270: TypePointer UniformConstant 269
271(g_tTex1df4a): 270(ptr) Variable UniformConstant
272: TypeImage 24(int) 1D array sampled format:Unknown
273: TypePointer UniformConstant 272
274(g_tTex1di4a): 273(ptr) Variable UniformConstant
275: TypeImage 44(int) 1D array sampled format:Unknown
276: TypePointer UniformConstant 275
277(g_tTex1du4a): 276(ptr) Variable UniformConstant
278: TypeImage 6(float) Cube array sampled format:Unknown
279: TypePointer UniformConstant 278
280(g_tTexcdf4a): 279(ptr) Variable UniformConstant
281: TypeImage 24(int) Cube array sampled format:Unknown
282: TypePointer UniformConstant 281
283(g_tTexcdi4a): 282(ptr) Variable UniformConstant
284: TypeImage 44(int) Cube array sampled format:Unknown
285: TypePointer UniformConstant 284
286(g_tTexcdu4a): 285(ptr) Variable UniformConstant
287: TypePointer UniformConstant 6(float)
288(c1): 287(ptr) Variable UniformConstant
289: TypeVector 6(float) 2
290: TypePointer UniformConstant 289(fvec2)
291(c2): 290(ptr) Variable UniformConstant
292: TypePointer UniformConstant 7(fvec4)
293(c4): 292(ptr) Variable UniformConstant
294: TypePointer UniformConstant 24(int)
295(o1): 294(ptr) Variable UniformConstant
296: TypeVector 24(int) 3
297: TypePointer UniformConstant 296(ivec3)
298(o3): 297(ptr) Variable UniformConstant
299: TypePointer UniformConstant 31(ivec4)
300(o4): 299(ptr) Variable UniformConstant
266: TypePointer Output 258(PS_OUTPUT)
267(@entryPointOutput): 266(ptr) Variable Output
270(g_sSamp2d): 15(ptr) Variable UniformConstant
271: TypeImage 6(float) 1D array sampled format:Unknown
272: TypePointer UniformConstant 271
273(g_tTex1df4a): 272(ptr) Variable UniformConstant
274: TypeImage 24(int) 1D array sampled format:Unknown
275: TypePointer UniformConstant 274
276(g_tTex1di4a): 275(ptr) Variable UniformConstant
277: TypeImage 44(int) 1D array sampled format:Unknown
278: TypePointer UniformConstant 277
279(g_tTex1du4a): 278(ptr) Variable UniformConstant
280: TypeImage 6(float) Cube array sampled format:Unknown
281: TypePointer UniformConstant 280
282(g_tTexcdf4a): 281(ptr) Variable UniformConstant
283: TypeImage 24(int) Cube array sampled format:Unknown
284: TypePointer UniformConstant 283
285(g_tTexcdi4a): 284(ptr) Variable UniformConstant
286: TypeImage 44(int) Cube array sampled format:Unknown
287: TypePointer UniformConstant 286
288(g_tTexcdu4a): 287(ptr) Variable UniformConstant
289: TypePointer UniformConstant 6(float)
290(c1): 289(ptr) Variable UniformConstant
291: TypeVector 6(float) 2
292: TypePointer UniformConstant 291(fvec2)
293(c2): 292(ptr) Variable UniformConstant
294: TypePointer UniformConstant 7(fvec4)
295(c4): 294(ptr) Variable UniformConstant
296: TypePointer UniformConstant 24(int)
297(o1): 296(ptr) Variable UniformConstant
298: TypeVector 24(int) 3
299: TypePointer UniformConstant 298(ivec3)
300(o3): 299(ptr) Variable UniformConstant
301: TypePointer UniformConstant 31(ivec4)
302(o4): 301(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
9(txval001): 8(ptr) Variable Function
@ -1116,6 +1125,7 @@ gl_FragCoord origin is upper left
Store 263 262
265: 264(ptr) AccessChain 260(psout) 99
Store 265 261
266:258(PS_OUTPUT) Load 260(psout)
ReturnValue 266
268:258(PS_OUTPUT) Load 260(psout)
Store 267(@entryPointOutput) 268
Return
FunctionEnd

View File

@ -1060,8 +1060,11 @@ gl_FragCoord origin is upper left
0:277 1 (const int)
0:277 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -2157,8 +2160,11 @@ gl_FragCoord origin is upper left
0:277 1 (const int)
0:277 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -2191,7 +2197,7 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 538
// Id's are bound by 540
Capability Shader
Capability Sampled1D
@ -2200,7 +2206,7 @@ gl_FragCoord origin is upper left
Capability ImageQuery
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 534
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 8 "sizeQueryTemp"
@ -2288,7 +2294,8 @@ gl_FragCoord origin is upper left
MemberName 522(PS_OUTPUT) 0 "Color"
MemberName 522(PS_OUTPUT) 1 "Depth"
Name 524 "psout"
Name 537 "g_sSamp"
Name 534 "@entryPointOutput"
Name 539 "g_sSamp"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 29(g_tTex1di4) DescriptorSet 0
@ -2318,8 +2325,8 @@ gl_FragCoord origin is upper left
Decorate 496(g_tTex2dmsi4a) DescriptorSet 0
Decorate 510(g_tTex2dmsu4a) DescriptorSet 0
MemberDecorate 522(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 537(g_sSamp) DescriptorSet 0
Decorate 537(g_sSamp) Binding 0
Decorate 539(g_sSamp) DescriptorSet 0
Decorate 539(g_sSamp) Binding 0
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 0
@ -2426,9 +2433,11 @@ gl_FragCoord origin is upper left
528: TypePointer Function 521(fvec4)
530: 14(int) Constant 1
531: TypePointer Function 9(float)
535: TypeSampler
536: TypePointer UniformConstant 535
537(g_sSamp): 536(ptr) Variable UniformConstant
533: TypePointer Output 522(PS_OUTPUT)
534(@entryPointOutput): 533(ptr) Variable Output
537: TypeSampler
538: TypePointer UniformConstant 537
539(g_sSamp): 538(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
8(sizeQueryTemp): 7(ptr) Variable Function
@ -3042,6 +3051,7 @@ gl_FragCoord origin is upper left
Store 529 527
532: 531(ptr) AccessChain 524(psout) 530
Store 532 526
533:522(PS_OUTPUT) Load 524(psout)
ReturnValue 533
535:522(PS_OUTPUT) Load 524(psout)
Store 534(@entryPointOutput) 535
Return
FunctionEnd

View File

@ -36,8 +36,11 @@ Shader version: 450
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -83,22 +86,25 @@ Shader version: 450
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 40
// Id's are bound by 42
Capability Shader
Capability Sampled1D
Capability ImageQuery
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main"
EntryPoint Vertex 4 "main" 36
Name 4 "main"
Name 8 "sizeQueryTemp"
Name 12 "g_tTex1df4"
@ -108,12 +114,13 @@ Shader version: 450
Name 27 "VS_OUTPUT"
MemberName 27(VS_OUTPUT) 0 "Pos"
Name 29 "vsout"
Name 39 "g_sSamp"
Name 36 "@entryPointOutput"
Name 41 "g_sSamp"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
MemberDecorate 27(VS_OUTPUT) 0 BuiltIn FragCoord
Decorate 39(g_sSamp) DescriptorSet 0
Decorate 39(g_sSamp) Binding 0
Decorate 41(g_sSamp) DescriptorSet 0
Decorate 41(g_sSamp) Binding 0
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 0
@ -131,9 +138,11 @@ Shader version: 450
31: 9(float) Constant 0
32: 26(fvec4) ConstantComposite 31 31 31 31
33: TypePointer Function 26(fvec4)
37: TypeSampler
38: TypePointer UniformConstant 37
39(g_sSamp): 38(ptr) Variable UniformConstant
35: TypePointer Output 27(VS_OUTPUT)
36(@entryPointOutput): 35(ptr) Variable Output
39: TypeSampler
40: TypePointer UniformConstant 39
41(g_sSamp): 40(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
8(sizeQueryTemp): 7(ptr) Variable Function
@ -156,6 +165,7 @@ Shader version: 450
Store 23(NumberOfLevelsU) 25
34: 33(ptr) AccessChain 29(vsout) 30
Store 34 32
35:27(VS_OUTPUT) Load 29(vsout)
ReturnValue 35
37:27(VS_OUTPUT) Load 29(vsout)
Store 36(@entryPointOutput) 37
Return
FunctionEnd

View File

@ -43,8 +43,11 @@ ERROR: node is still EOpNull!
0:20 1 (const int)
0:20 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex2dmsf4' (uniform texture2DMS)
@ -93,8 +96,11 @@ ERROR: node is still EOpNull!
0:20 1 (const int)
0:20 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex2dmsf4' (uniform texture2DMS)

View File

@ -12,20 +12,29 @@ gl_FragCoord origin is upper left
0:3 'input' (in 4-component vector of float)
0:3 'input' (in 4-component vector of float)
0:3 true case
0:4 Branch: Return with expression
0:4 Sequence
0:4 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:4 'input' (in 4-component vector of float)
0:4 Branch: Return
0:6 Test condition and select (temp void)
0:6 Condition
0:6 Compare Equal (temp bool)
0:6 'input' (in 4-component vector of float)
0:6 'input' (in 4-component vector of float)
0:6 true case
0:7 Branch: Return with expression
0:7 Sequence
0:7 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:7 'input' (in 4-component vector of float)
0:7 Branch: Return
0:6 false case
0:9 Branch: Return with expression
0:9 Sequence
0:9 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:9 Negate value (temp 4-component vector of float)
0:9 'input' (in 4-component vector of float)
0:9 Branch: Return
0:11 Test condition and select (temp void)
0:11 Condition
0:11 Compare Equal (temp bool)
@ -45,8 +54,11 @@ gl_FragCoord origin is upper left
0:19 'input' (in 4-component vector of float)
0:19 true case
0:? Sequence
0:20 Branch: Return with expression
0:20 Sequence
0:20 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:20 'input' (in 4-component vector of float)
0:20 Branch: Return
0:23 Test condition and select (temp void)
0:23 Condition
0:23 Compare Equal (temp bool)
@ -54,13 +66,19 @@ gl_FragCoord origin is upper left
0:23 'input' (in 4-component vector of float)
0:23 true case
0:? Sequence
0:24 Branch: Return with expression
0:24 Sequence
0:24 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:24 'input' (in 4-component vector of float)
0:24 Branch: Return
0:23 false case
0:? Sequence
0:26 Branch: Return with expression
0:26 Sequence
0:26 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:26 Negate value (temp 4-component vector of float)
0:26 'input' (in 4-component vector of float)
0:26 Branch: Return
0:30 Test condition and select (temp void)
0:30 Condition
0:30 move second child to first child (temp float)
@ -93,20 +111,29 @@ gl_FragCoord origin is upper left
0:3 'input' (in 4-component vector of float)
0:3 'input' (in 4-component vector of float)
0:3 true case
0:4 Branch: Return with expression
0:4 Sequence
0:4 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:4 'input' (in 4-component vector of float)
0:4 Branch: Return
0:6 Test condition and select (temp void)
0:6 Condition
0:6 Compare Equal (temp bool)
0:6 'input' (in 4-component vector of float)
0:6 'input' (in 4-component vector of float)
0:6 true case
0:7 Branch: Return with expression
0:7 Sequence
0:7 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:7 'input' (in 4-component vector of float)
0:7 Branch: Return
0:6 false case
0:9 Branch: Return with expression
0:9 Sequence
0:9 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:9 Negate value (temp 4-component vector of float)
0:9 'input' (in 4-component vector of float)
0:9 Branch: Return
0:11 Test condition and select (temp void)
0:11 Condition
0:11 Compare Equal (temp bool)
@ -126,8 +153,11 @@ gl_FragCoord origin is upper left
0:19 'input' (in 4-component vector of float)
0:19 true case
0:? Sequence
0:20 Branch: Return with expression
0:20 Sequence
0:20 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:20 'input' (in 4-component vector of float)
0:20 Branch: Return
0:23 Test condition and select (temp void)
0:23 Condition
0:23 Compare Equal (temp bool)
@ -135,13 +165,19 @@ gl_FragCoord origin is upper left
0:23 'input' (in 4-component vector of float)
0:23 true case
0:? Sequence
0:24 Branch: Return with expression
0:24 Sequence
0:24 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:24 'input' (in 4-component vector of float)
0:24 Branch: Return
0:23 false case
0:? Sequence
0:26 Branch: Return with expression
0:26 Sequence
0:26 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:26 Negate value (temp 4-component vector of float)
0:26 'input' (in 4-component vector of float)
0:26 Branch: Return
0:30 Test condition and select (temp void)
0:30 Condition
0:30 move second child to first child (temp float)
@ -159,17 +195,18 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 82
// Id's are bound by 84
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 9
EntryPoint Fragment 4 "PixelShaderFunction" 9 19
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 9 "input"
Name 65 "ii"
Name 78 "ii"
Name 19 "@entryPointOutput"
Name 67 "ii"
Name 80 "ii"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -178,18 +215,20 @@ gl_FragCoord origin is upper left
9(input): 8(ptr) Variable Input
12: TypeBool
13: TypeVector 12(bool) 4
64: TypePointer Function 6(float)
66: TypeInt 32 0
67: 66(int) Constant 2
68: TypePointer Input 6(float)
74: 6(float) Constant 1065353216
76: TypeInt 32 1
77: TypePointer Function 76(int)
80: 76(int) Constant 1
18: TypePointer Output 7(fvec4)
19(@entryPointOutput): 18(ptr) Variable Output
66: TypePointer Function 6(float)
68: TypeInt 32 0
69: 68(int) Constant 2
70: TypePointer Input 6(float)
76: 6(float) Constant 1065353216
78: TypeInt 32 1
79: TypePointer Function 78(int)
82: 78(int) Constant 1
4(PixelShaderFunction): 2 Function None 3
5: Label
65(ii): 64(ptr) Variable Function
78(ii): 77(ptr) Variable Function
67(ii): 66(ptr) Variable Function
80(ii): 79(ptr) Variable Function
10: 7(fvec4) Load 9(input)
11: 7(fvec4) Load 9(input)
14: 13(bvec4) FOrdEqual 10 11
@ -197,78 +236,84 @@ gl_FragCoord origin is upper left
SelectionMerge 17 None
BranchConditional 15 16 17
16: Label
18: 7(fvec4) Load 9(input)
ReturnValue 18
17: Label
20: 7(fvec4) Load 9(input)
21: 7(fvec4) Load 9(input)
22: 13(bvec4) FOrdEqual 20 21
23: 12(bool) All 22
SelectionMerge 25 None
BranchConditional 23 24 28
24: Label
26: 7(fvec4) Load 9(input)
ReturnValue 26
28: Label
29: 7(fvec4) Load 9(input)
30: 7(fvec4) FNegate 29
ReturnValue 30
25: Label
32: 7(fvec4) Load 9(input)
33: 7(fvec4) Load 9(input)
34: 13(bvec4) FOrdEqual 32 33
35: 12(bool) All 34
SelectionMerge 37 None
BranchConditional 35 36 37
36: Label
Branch 37
37: Label
38: 7(fvec4) Load 9(input)
39: 7(fvec4) Load 9(input)
40: 13(bvec4) FOrdEqual 38 39
41: 12(bool) All 40
SelectionMerge 43 None
BranchConditional 41 42 43
42: Label
Branch 43
43: Label
44: 7(fvec4) Load 9(input)
45: 7(fvec4) Load 9(input)
46: 13(bvec4) FOrdEqual 44 45
47: 12(bool) All 46
SelectionMerge 49 None
BranchConditional 47 48 49
48: Label
50: 7(fvec4) Load 9(input)
ReturnValue 50
49: Label
Store 19(@entryPointOutput) 20
Return
17: Label
22: 7(fvec4) Load 9(input)
23: 7(fvec4) Load 9(input)
24: 13(bvec4) FOrdEqual 22 23
25: 12(bool) All 24
SelectionMerge 27 None
BranchConditional 25 26 30
26: Label
28: 7(fvec4) Load 9(input)
Store 19(@entryPointOutput) 28
Return
30: Label
31: 7(fvec4) Load 9(input)
32: 7(fvec4) FNegate 31
Store 19(@entryPointOutput) 32
Return
27: Label
34: 7(fvec4) Load 9(input)
35: 7(fvec4) Load 9(input)
36: 13(bvec4) FOrdEqual 34 35
37: 12(bool) All 36
SelectionMerge 39 None
BranchConditional 37 38 39
38: Label
Branch 39
39: Label
40: 7(fvec4) Load 9(input)
41: 7(fvec4) Load 9(input)
42: 13(bvec4) FOrdEqual 40 41
43: 12(bool) All 42
SelectionMerge 45 None
BranchConditional 43 44 45
44: Label
Branch 45
45: Label
46: 7(fvec4) Load 9(input)
47: 7(fvec4) Load 9(input)
48: 13(bvec4) FOrdEqual 46 47
49: 12(bool) All 48
SelectionMerge 51 None
BranchConditional 49 50 51
50: Label
52: 7(fvec4) Load 9(input)
53: 7(fvec4) Load 9(input)
54: 13(bvec4) FOrdEqual 52 53
55: 12(bool) All 54
SelectionMerge 57 None
BranchConditional 55 56 60
56: Label
58: 7(fvec4) Load 9(input)
ReturnValue 58
60: Label
61: 7(fvec4) Load 9(input)
62: 7(fvec4) FNegate 61
ReturnValue 62
57: Label
69: 68(ptr) AccessChain 9(input) 67
70: 6(float) Load 69
Store 65(ii) 70
SelectionMerge 72 None
BranchConditional 70 71 72
71: Label
73: 6(float) Load 65(ii)
75: 6(float) FAdd 73 74
Store 65(ii) 75
Branch 72
72: Label
79: 76(int) Load 78(ii)
81: 76(int) IAdd 79 80
Store 78(ii) 81
Store 19(@entryPointOutput) 52
Return
51: Label
54: 7(fvec4) Load 9(input)
55: 7(fvec4) Load 9(input)
56: 13(bvec4) FOrdEqual 54 55
57: 12(bool) All 56
SelectionMerge 59 None
BranchConditional 57 58 62
58: Label
60: 7(fvec4) Load 9(input)
Store 19(@entryPointOutput) 60
Return
62: Label
63: 7(fvec4) Load 9(input)
64: 7(fvec4) FNegate 63
Store 19(@entryPointOutput) 64
Return
59: Label
71: 70(ptr) AccessChain 9(input) 69
72: 6(float) Load 71
Store 67(ii) 72
SelectionMerge 74 None
BranchConditional 72 73 74
73: Label
75: 6(float) Load 67(ii)
77: 6(float) FAdd 75 76
Store 67(ii) 77
Branch 74
74: Label
81: 78(int) Load 80(ii)
83: 78(int) IAdd 81 82
Store 80(ii) 83
Return
FunctionEnd

View File

@ -124,10 +124,13 @@ gl_FragCoord origin is upper left
0:33 move second child to first child (temp float)
0:33 'a9' (temp 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 'input' (in 4-component vector of float)
0:35 'a1' (global 4-component vector of float)
0:35 Branch: Return
0:? Linker Objects
0:? 'a1' (global 4-component vector of float)
0:? 'b1' (global 4-component vector of float)
@ -277,10 +280,13 @@ gl_FragCoord origin is upper left
0:33 move second child to first child (temp float)
0:33 'a9' (temp 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 'input' (in 4-component vector of float)
0:35 'a1' (global 4-component vector of float)
0:35 Branch: Return
0:? Linker Objects
0:? 'a1' (global 4-component vector of float)
0:? 'b1' (global 4-component vector of float)
@ -303,12 +309,12 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 95
// Id's are bound by 97
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "ShaderFunction" 88
EntryPoint Fragment 4 "ShaderFunction" 88 90
ExecutionMode 4 OriginUpperLeft
Name 4 "ShaderFunction"
Name 9 "a1"
@ -347,9 +353,10 @@ gl_FragCoord origin is upper left
Name 82 "a8"
Name 83 "b2"
Name 85 "a9"
Name 88 "input"
Name 93 "c4"
Name 94 "b5"
Name 88 "@entryPointOutput"
Name 90 "input"
Name 95 "c4"
Name 96 "b5"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -418,10 +425,12 @@ gl_FragCoord origin is upper left
73: 32(int) Constant 12
81: TypePointer Function 6(float)
83(b2): 22(ptr) Variable Private
87: TypePointer Input 7(fvec4)
88(input): 87(ptr) Variable Input
93(c4): 22(ptr) Variable Private
94(b5): 22(ptr) Variable Private
87: TypePointer Output 7(fvec4)
88(@entryPointOutput): 87(ptr) Variable Output
89: TypePointer Input 7(fvec4)
90(input): 89(ptr) Variable Input
95(c4): 22(ptr) Variable Private
96(b5): 22(ptr) Variable Private
4(ShaderFunction): 2 Function None 3
5: Label
62(a2): 61(ptr) Variable Function
@ -457,8 +466,9 @@ gl_FragCoord origin is upper left
Store 82(a8) 84
86: 6(float) Load 29(a5)
Store 85(a9) 86
89: 7(fvec4) Load 88(input)
90: 7(fvec4) Load 9(a1)
91: 7(fvec4) FMul 89 90
ReturnValue 91
91: 7(fvec4) Load 90(input)
92: 7(fvec4) Load 9(a1)
93: 7(fvec4) FMul 91 92
Store 88(@entryPointOutput) 93
Return
FunctionEnd

View File

@ -43,8 +43,11 @@ gl_FragCoord origin is upper left
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 Branch: Return
0:? Linker Objects
@ -95,18 +98,21 @@ gl_FragCoord origin is upper left
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 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 44
// Id's are bound by 46
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 43
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 6 "Test1("
@ -123,6 +129,7 @@ gl_FragCoord origin is upper left
Name 34 "PS_OUTPUT"
MemberName 34(PS_OUTPUT) 0 "color"
Name 36 "ps_output"
Name 43 "@entryPointOutput"
2: TypeVoid
3: TypeFunction 2
8: TypeFloat 32
@ -152,14 +159,17 @@ gl_FragCoord origin is upper left
38: 37(int) Constant 0
39: 33(fvec4) ConstantComposite 13 13 13 13
40: TypePointer Function 33(fvec4)
42: TypePointer Output 34(PS_OUTPUT)
43(@entryPointOutput): 42(ptr) Variable Output
4(main): 2 Function None 3
5: Label
36(ps_output): 35(ptr) Variable Function
32: 2 FunctionCall 6(Test1()
41: 40(ptr) AccessChain 36(ps_output) 38
Store 41 39
42:34(PS_OUTPUT) Load 36(ps_output)
ReturnValue 42
44:34(PS_OUTPUT) Load 36(ps_output)
Store 43(@entryPointOutput) 44
Return
FunctionEnd
6(Test1(): 2 Function None 3
7: Label

View File

@ -55,8 +55,11 @@ gl_FragCoord origin is upper left
0:22 'inpos' (noperspective in 4-component vector of float FragCoord)
0:22 Constant:
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 Branch: Return
0:? Linker Objects
@ -119,18 +122,21 @@ gl_FragCoord origin is upper left
0:22 'inpos' (noperspective in 4-component vector of float FragCoord)
0:22 Constant:
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 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 54
// Id's are bound by 56
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 45
EntryPoint Fragment 4 "main" 45 53
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 12 "MyFunc(f1;f1;f1;"
@ -148,6 +154,7 @@ gl_FragCoord origin is upper left
MemberName 31(PS_OUTPUT) 1 "Depth"
Name 33 "psout"
Name 45 "inpos"
Name 53 "@entryPointOutput"
MemberDecorate 31(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 45(inpos) NoPerspective
Decorate 45(inpos) BuiltIn FragCoord
@ -172,6 +179,8 @@ gl_FragCoord origin is upper left
46: TypeInt 32 0
47: 46(int) Constant 3
48: TypePointer Input 6(float)
52: TypePointer Output 31(PS_OUTPUT)
53(@entryPointOutput): 52(ptr) Variable Output
4(main): 2 Function None 3
5: Label
17(x): 7(ptr) Variable Function
@ -202,8 +211,9 @@ gl_FragCoord origin is upper left
50: 6(float) Load 49
51: 7(ptr) AccessChain 33(psout) 43
Store 51 50
52:31(PS_OUTPUT) Load 33(psout)
ReturnValue 52
54:31(PS_OUTPUT) Load 33(psout)
Store 53(@entryPointOutput) 54
Return
FunctionEnd
12(MyFunc(f1;f1;f1;): 2 Function None 8
9(x): 7(ptr) FunctionParameter

View File

@ -11,9 +11,12 @@ local_size = (1, 1, 1)
0:7 GroupMemoryBarrierWithGroupSync (global void)
0:8 WorkgroupMemoryBarrier (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 0.000000
0:11 Branch: Return
0:? Linker Objects
@ -32,21 +35,25 @@ local_size = (1, 1, 1)
0:7 GroupMemoryBarrierWithGroupSync (global void)
0:8 WorkgroupMemoryBarrier (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 0.000000
0:11 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 15
// Id's are bound by 17
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "ComputeShaderFunction"
EntryPoint GLCompute 4 "ComputeShaderFunction" 14
ExecutionMode 4 LocalSize 1 1 1
Name 4 "ComputeShaderFunction"
Name 14 "@entryPointOutput"
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 0
@ -56,7 +63,9 @@ local_size = (1, 1, 1)
10: 6(int) Constant 2
11: 6(int) Constant 256
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
5: Label
MemoryBarrier 7 8
@ -65,5 +74,6 @@ local_size = (1, 1, 1)
ControlBarrier 7 7 9
MemoryBarrier 10 11
ControlBarrier 10 10 11
ReturnValue 13
Store 14(@entryPointOutput) 15
Return
FunctionEnd

View File

@ -299,12 +299,15 @@ local_size = (1, 1, 1)
0:125 AtomicXor (temp 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: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:? 1.000000
0:? 2.000000
0:? 3.000000
0:? 4.000000
0:128 Branch: Return
0:? Linker Objects
0:? 'gs_ua' (global uint)
0:? 'gs_ub' (global uint)
@ -623,12 +626,15 @@ local_size = (1, 1, 1)
0:125 AtomicXor (temp 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: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:? 1.000000
0:? 2.000000
0:? 3.000000
0:? 4.000000
0:128 Branch: Return
0:? Linker Objects
0:? 'gs_ua' (global uint)
0:? 'gs_ub' (global uint)
@ -645,12 +651,12 @@ local_size = (1, 1, 1)
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 217
// Id's are bound by 219
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "ComputeShaderFunction" 175
EntryPoint GLCompute 4 "ComputeShaderFunction" 175 215
ExecutionMode 4 LocalSize 1 1 1
Name 4 "ComputeShaderFunction"
Name 16 "ComputeShaderFunctionS(f1;f1;f1;u1;u1;"
@ -692,6 +698,7 @@ local_size = (1, 1, 1)
Name 181 "gs_ub4"
Name 185 "out_u4"
Name 193 "gs_uc4"
Name 215 "@entryPointOutput"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -740,8 +747,10 @@ local_size = (1, 1, 1)
181(gs_ub4): 179(ptr) Variable Private
184: TypePointer Function 178(ivec4)
193(gs_uc4): 179(ptr) Variable Private
214: 6(float) Constant 1082130432
215: 173(fvec4) ConstantComposite 128 129 169 214
214: TypePointer Output 173(fvec4)
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
5: Label
185(out_u4): 184(ptr) Variable Function
@ -784,7 +793,8 @@ local_size = (1, 1, 1)
212: 178(ivec4) Load 181(gs_ub4)
213: 178(ivec4) AtomicXor 180(gs_ua4) 55 56 212
Store 185(out_u4) 213
ReturnValue 215
Store 215(@entryPointOutput) 217
Return
FunctionEnd
16(ComputeShaderFunctionS(f1;f1;f1;u1;u1;): 6(float) Function None 10
11(inF0): 7(ptr) FunctionParameter

View File

@ -27,9 +27,12 @@ gl_FragCoord origin is upper left
0:7 Construct uvec2 (temp 2-component vector of uint)
0:7 'inU1a' (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 0.000000
0:9 Branch: Return
0:? Linker Objects
@ -64,20 +67,23 @@ gl_FragCoord origin is upper left
0:7 Construct uvec2 (temp 2-component vector of uint)
0:7 'inU1a' (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 0.000000
0:9 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 30
// Id's are bound by 32
Capability Shader
Capability Float64
1: ExtInstImport "GLSL.std.450"
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
Name 4 "PixelShaderFunction"
Name 8 "r00"
@ -87,6 +93,7 @@ gl_FragCoord origin is upper left
Name 17 "r01"
Name 20 "inU1a"
Name 22 "inU1b"
Name 29 "@entryPointOutput"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 64
@ -101,7 +108,9 @@ gl_FragCoord origin is upper left
22(inU1b): 19(ptr) Variable Input
24: TypeVector 18(int) 2
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
5: Label
8(r00): 7(ptr) Variable Function
@ -116,5 +125,6 @@ gl_FragCoord origin is upper left
25: 24(ivec2) CompositeConstruct 21 23
26: 6(float) Bitcast 25
Store 17(r01) 26
ReturnValue 28
Store 29(@entryPointOutput) 30
Return
FunctionEnd

View File

@ -56,12 +56,15 @@ ERROR: node is still EOpNull!
0:30 ERROR: Bad unary op
(global 4-component vector of uint)
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:? 1.000000
0:? 2.000000
0:? 3.000000
0:? 4.000000
0:32 Branch: Return
0:? Linker Objects
@ -118,12 +121,15 @@ ERROR: node is still EOpNull!
0:30 ERROR: Bad unary op
(global 4-component vector of uint)
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:? 1.000000
0:? 2.000000
0:? 3.000000
0:? 4.000000
0:32 Branch: Return
0:? Linker Objects
SPIR-V is not generated for failed compile or link

File diff suppressed because it is too large Load Diff

View File

@ -52,12 +52,15 @@ local_size = (1, 1, 1)
0:158 'inF2' (in 4-component vector of float)
0:158 'inI0' (in 4-component vector of int)
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:? 1.000000
0:? 2.000000
0:? 3.000000
0:? 4.000000
0:199 Branch: Return
0:? Linker Objects
@ -117,22 +120,25 @@ local_size = (1, 1, 1)
0:158 'inF2' (in 4-component vector of float)
0:158 'inI0' (in 4-component vector of int)
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:? 1.000000
0:? 2.000000
0:? 3.000000
0:? 4.000000
0:199 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 63
// Id's are bound by 65
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "ComputeShaderFunction"
EntryPoint GLCompute 4 "ComputeShaderFunction" 61
ExecutionMode 4 LocalSize 1 1 1
Name 4 "ComputeShaderFunction"
Name 15 "ComputeShaderFunctionS(f1;f1;f1;i1;"
@ -155,6 +161,7 @@ local_size = (1, 1, 1)
Name 40 "inF1"
Name 41 "inF2"
Name 42 "inI0"
Name 61 "@entryPointOutput"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -179,11 +186,14 @@ local_size = (1, 1, 1)
55: 6(float) Constant 1077936128
56: 34(fvec3) ConstantComposite 50 51 55
59: TypeVector 6(float) 4
60: 6(float) Constant 1082130432
61: 59(fvec4) ConstantComposite 50 51 55 60
60: TypePointer Output 59(fvec4)
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
5: Label
ReturnValue 61
Store 61(@entryPointOutput) 63
Return
FunctionEnd
15(ComputeShaderFunctionS(f1;f1;f1;i1;): 6(float) Function None 10
11(inF0): 7(ptr) FunctionParameter

View File

@ -267,12 +267,15 @@ ERROR: node is still EOpNull!
0:89 'inF0' (in 4-component vector of float)
0:90 Constant:
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:? 1.000000
0:? 2.000000
0:? 3.000000
0:? 4.000000
0:92 Branch: Return
0:122 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:115 Function Parameters:
0:115 'inF0' (in 2X2 matrix of float)
@ -615,12 +618,15 @@ ERROR: node is still EOpNull!
0:89 'inF0' (in 4-component vector of float)
0:90 Constant:
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:? 1.000000
0:? 2.000000
0:? 3.000000
0:? 4.000000
0:92 Branch: Return
0:122 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:115 Function Parameters:
0:115 'inF0' (in 2X2 matrix of float)

View File

@ -51,12 +51,15 @@ Shader version: 450
0:176 'inF2' (in 4-component vector of float)
0:176 'inI0' (in 4-component vector of int)
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:? 1.000000
0:? 2.000000
0:? 3.000000
0:? 4.000000
0:217 Branch: Return
0:233 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:226 Function Parameters:
0:226 'inF0' (in 2X2 matrix of float)
@ -180,12 +183,15 @@ Shader version: 450
0:176 'inF2' (in 4-component vector of float)
0:176 'inI0' (in 4-component vector of int)
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:? 1.000000
0:? 2.000000
0:? 3.000000
0:? 4.000000
0:217 Branch: Return
0:233 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:226 Function Parameters:
0:226 'inF0' (in 2X2 matrix of float)
@ -255,12 +261,12 @@ Shader version: 450
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 119
// Id's are bound by 121
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "VertexShaderFunction"
EntryPoint Vertex 4 "VertexShaderFunction" 85
Name 4 "VertexShaderFunction"
Name 15 "VertexShaderFunctionS(f1;f1;f1;i1;"
Name 11 "inF0"
@ -294,18 +300,19 @@ Shader version: 450
Name 65 "inF0"
Name 66 "inF1"
Name 67 "inF2"
Name 101 "gs_ua"
Name 102 "gs_ub"
Name 103 "gs_uc"
Name 106 "gs_ua2"
Name 107 "gs_ub2"
Name 108 "gs_uc2"
Name 111 "gs_ua3"
Name 112 "gs_ub3"
Name 113 "gs_uc3"
Name 116 "gs_ua4"
Name 117 "gs_ub4"
Name 118 "gs_uc4"
Name 85 "@entryPointOutput"
Name 103 "gs_ua"
Name 104 "gs_ub"
Name 105 "gs_uc"
Name 108 "gs_ua2"
Name 109 "gs_ub2"
Name 110 "gs_uc2"
Name 113 "gs_ua3"
Name 114 "gs_ub3"
Name 115 "gs_uc3"
Name 118 "gs_ua4"
Name 119 "gs_ub4"
Name 120 "gs_uc4"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -339,37 +346,40 @@ Shader version: 450
77: 23(fvec2) ConstantComposite 75 76
80: 6(float) Constant 1077936128
81: 34(fvec3) ConstantComposite 75 76 80
84: 6(float) Constant 1082130432
85: 61(fvec4) ConstantComposite 75 76 80 84
87: 23(fvec2) ConstantComposite 76 76
88: 45 ConstantComposite 87 87
91: 34(fvec3) ConstantComposite 80 80 80
92: 53 ConstantComposite 91 91 91
95: 61(fvec4) ConstantComposite 84 84 84 84
96: 62 ConstantComposite 95 95 95 95
99: TypeInt 32 0
100: TypePointer Private 99(int)
101(gs_ua): 100(ptr) Variable Private
102(gs_ub): 100(ptr) Variable Private
103(gs_uc): 100(ptr) Variable Private
104: TypeVector 99(int) 2
105: TypePointer Private 104(ivec2)
106(gs_ua2): 105(ptr) Variable Private
107(gs_ub2): 105(ptr) Variable Private
108(gs_uc2): 105(ptr) Variable Private
109: TypeVector 99(int) 3
110: TypePointer Private 109(ivec3)
111(gs_ua3): 110(ptr) Variable Private
112(gs_ub3): 110(ptr) Variable Private
113(gs_uc3): 110(ptr) Variable Private
114: TypeVector 99(int) 4
115: TypePointer Private 114(ivec4)
116(gs_ua4): 115(ptr) Variable Private
117(gs_ub4): 115(ptr) Variable Private
118(gs_uc4): 115(ptr) Variable Private
84: TypePointer Output 61(fvec4)
85(@entryPointOutput): 84(ptr) Variable Output
86: 6(float) Constant 1082130432
87: 61(fvec4) ConstantComposite 75 76 80 86
89: 23(fvec2) ConstantComposite 76 76
90: 45 ConstantComposite 89 89
93: 34(fvec3) ConstantComposite 80 80 80
94: 53 ConstantComposite 93 93 93
97: 61(fvec4) ConstantComposite 86 86 86 86
98: 62 ConstantComposite 97 97 97 97
101: TypeInt 32 0
102: TypePointer Private 101(int)
103(gs_ua): 102(ptr) Variable Private
104(gs_ub): 102(ptr) Variable Private
105(gs_uc): 102(ptr) Variable Private
106: TypeVector 101(int) 2
107: TypePointer Private 106(ivec2)
108(gs_ua2): 107(ptr) Variable Private
109(gs_ub2): 107(ptr) Variable Private
110(gs_uc2): 107(ptr) Variable Private
111: TypeVector 101(int) 3
112: TypePointer Private 111(ivec3)
113(gs_ua3): 112(ptr) Variable Private
114(gs_ub3): 112(ptr) Variable Private
115(gs_uc3): 112(ptr) Variable Private
116: TypeVector 101(int) 4
117: TypePointer Private 116(ivec4)
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
5: Label
ReturnValue 85
Store 85(@entryPointOutput) 87
Return
FunctionEnd
15(VertexShaderFunctionS(f1;f1;f1;i1;): 6(float) Function None 10
11(inF0): 7(ptr) FunctionParameter
@ -408,19 +418,19 @@ Shader version: 450
49(inF1): 46(ptr) FunctionParameter
50(inF2): 46(ptr) FunctionParameter
52: Label
ReturnValue 88
ReturnValue 90
FunctionEnd
59(VertexShaderFunction3x3(mf33;mf33;mf33;): 53 Function None 55
56(inF0): 54(ptr) FunctionParameter
57(inF1): 54(ptr) FunctionParameter
58(inF2): 54(ptr) FunctionParameter
60: Label
ReturnValue 92
ReturnValue 94
FunctionEnd
68(VertexShaderFunction4x4(mf44;mf44;mf44;): 62 Function None 64
65(inF0): 63(ptr) FunctionParameter
66(inF1): 63(ptr) FunctionParameter
67(inF2): 63(ptr) FunctionParameter
69: Label
ReturnValue 96
ReturnValue 98
FunctionEnd

View File

@ -88,8 +88,11 @@ gl_FragCoord origin is upper left
0:52 1 (const int)
0:52 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex2dmsf4' (uniform texture2DMS)
@ -200,8 +203,11 @@ gl_FragCoord origin is upper left
0:52 1 (const int)
0:52 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex2dmsf4' (uniform texture2DMS)
@ -221,14 +227,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 103
// Id's are bound by 105
Capability Shader
Capability ImageGatherExtended
Capability ImageMSArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 92
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "g_tTex2dmsf4"
@ -244,12 +250,13 @@ gl_FragCoord origin is upper left
MemberName 80(PS_OUTPUT) 0 "Color"
MemberName 80(PS_OUTPUT) 1 "Depth"
Name 82 "psout"
Name 95 "g_sSamp"
Name 97 "c1"
Name 99 "c4"
Name 100 "o1"
Name 101 "o3"
Name 102 "o4"
Name 92 "@entryPointOutput"
Name 97 "g_sSamp"
Name 99 "c1"
Name 101 "c4"
Name 102 "o1"
Name 103 "o3"
Name 104 "o4"
Decorate 9(g_tTex2dmsf4) DescriptorSet 0
Decorate 21(g_tTex2dmsi4) DescriptorSet 0
Decorate 29(g_tTex2dmsu4) DescriptorSet 0
@ -257,8 +264,8 @@ gl_FragCoord origin is upper left
Decorate 58(g_tTex2dmsi4a) DescriptorSet 0
Decorate 64(g_tTex2dmsu4a) DescriptorSet 0
MemberDecorate 80(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 95(g_sSamp) DescriptorSet 0
Decorate 95(g_sSamp) Binding 0
Decorate 97(g_sSamp) DescriptorSet 0
Decorate 97(g_sSamp) Binding 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -301,16 +308,18 @@ gl_FragCoord origin is upper left
86: TypePointer Function 17(fvec4)
88: 11(int) Constant 1
89: TypePointer Function 6(float)
93: TypeSampler
94: TypePointer UniformConstant 93
95(g_sSamp): 94(ptr) Variable UniformConstant
96: TypePointer UniformConstant 11(int)
97(c1): 96(ptr) Variable UniformConstant
98: TypePointer UniformConstant 24(ivec4)
99(c4): 98(ptr) Variable UniformConstant
100(o1): 96(ptr) Variable UniformConstant
101(o3): 52(ptr) Variable UniformConstant
102(o4): 98(ptr) Variable UniformConstant
91: TypePointer Output 80(PS_OUTPUT)
92(@entryPointOutput): 91(ptr) Variable Output
95: TypeSampler
96: TypePointer UniformConstant 95
97(g_sSamp): 96(ptr) Variable UniformConstant
98: TypePointer UniformConstant 11(int)
99(c1): 98(ptr) Variable UniformConstant
100: TypePointer UniformConstant 24(ivec4)
101(c4): 100(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
5: Label
82(psout): 81(ptr) Variable Function
@ -360,6 +369,7 @@ gl_FragCoord origin is upper left
Store 87 85
90: 89(ptr) AccessChain 82(psout) 88
Store 90 84
91:80(PS_OUTPUT) Load 82(psout)
ReturnValue 91
93:80(PS_OUTPUT) Load 82(psout)
Store 92(@entryPointOutput) 93
Return
FunctionEnd

View File

@ -106,8 +106,11 @@ gl_FragCoord origin is upper left
0:68 1 (const int)
0:68 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -251,8 +254,11 @@ gl_FragCoord origin is upper left
0:68 1 (const int)
0:68 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -287,14 +293,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 143
// Id's are bound by 145
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 87
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "g_tTex1df4a"
@ -309,28 +315,29 @@ gl_FragCoord origin is upper left
MemberName 75(PS_OUTPUT) 0 "Color"
MemberName 75(PS_OUTPUT) 1 "Depth"
Name 77 "psout"
Name 90 "g_sSamp"
Name 93 "g_tTex1df4"
Name 96 "g_tTex1di4"
Name 99 "g_tTex1du4"
Name 102 "g_tTex2df4"
Name 105 "g_tTex2di4"
Name 108 "g_tTex2du4"
Name 111 "g_tTex3df4"
Name 114 "g_tTex3di4"
Name 117 "g_tTex3du4"
Name 120 "g_tTexcdf4"
Name 123 "g_tTexcdi4"
Name 126 "g_tTexcdu4"
Name 129 "g_tTexcdf4a"
Name 132 "g_tTexcdi4a"
Name 135 "g_tTexcdu4a"
Name 136 "c1"
Name 138 "c2"
Name 139 "o1"
Name 140 "o2"
Name 141 "o3"
Name 142 "o4"
Name 87 "@entryPointOutput"
Name 92 "g_sSamp"
Name 95 "g_tTex1df4"
Name 98 "g_tTex1di4"
Name 101 "g_tTex1du4"
Name 104 "g_tTex2df4"
Name 107 "g_tTex2di4"
Name 110 "g_tTex2du4"
Name 113 "g_tTex3df4"
Name 116 "g_tTex3di4"
Name 119 "g_tTex3du4"
Name 122 "g_tTexcdf4"
Name 125 "g_tTexcdi4"
Name 128 "g_tTexcdu4"
Name 131 "g_tTexcdf4a"
Name 134 "g_tTexcdi4a"
Name 137 "g_tTexcdu4a"
Name 138 "c1"
Name 140 "c2"
Name 141 "o1"
Name 142 "o2"
Name 143 "o3"
Name 144 "o4"
Decorate 9(g_tTex1df4a) DescriptorSet 0
Decorate 27(g_tTex1di4a) DescriptorSet 0
Decorate 37(g_tTex1du4a) DescriptorSet 0
@ -338,24 +345,24 @@ gl_FragCoord origin is upper left
Decorate 59(g_tTex2di4a) DescriptorSet 0
Decorate 68(g_tTex2du4a) DescriptorSet 0
MemberDecorate 75(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 90(g_sSamp) DescriptorSet 0
Decorate 90(g_sSamp) Binding 0
Decorate 93(g_tTex1df4) DescriptorSet 0
Decorate 93(g_tTex1df4) Binding 0
Decorate 96(g_tTex1di4) DescriptorSet 0
Decorate 99(g_tTex1du4) DescriptorSet 0
Decorate 102(g_tTex2df4) DescriptorSet 0
Decorate 105(g_tTex2di4) DescriptorSet 0
Decorate 108(g_tTex2du4) DescriptorSet 0
Decorate 111(g_tTex3df4) DescriptorSet 0
Decorate 114(g_tTex3di4) DescriptorSet 0
Decorate 117(g_tTex3du4) DescriptorSet 0
Decorate 120(g_tTexcdf4) DescriptorSet 0
Decorate 123(g_tTexcdi4) DescriptorSet 0
Decorate 126(g_tTexcdu4) DescriptorSet 0
Decorate 129(g_tTexcdf4a) DescriptorSet 0
Decorate 132(g_tTexcdi4a) DescriptorSet 0
Decorate 135(g_tTexcdu4a) DescriptorSet 0
Decorate 92(g_sSamp) DescriptorSet 0
Decorate 92(g_sSamp) Binding 0
Decorate 95(g_tTex1df4) DescriptorSet 0
Decorate 95(g_tTex1df4) Binding 0
Decorate 98(g_tTex1di4) DescriptorSet 0
Decorate 101(g_tTex1du4) DescriptorSet 0
Decorate 104(g_tTex2df4) DescriptorSet 0
Decorate 107(g_tTex2di4) DescriptorSet 0
Decorate 110(g_tTex2du4) DescriptorSet 0
Decorate 113(g_tTex3df4) DescriptorSet 0
Decorate 116(g_tTex3di4) DescriptorSet 0
Decorate 119(g_tTex3du4) DescriptorSet 0
Decorate 122(g_tTexcdf4) DescriptorSet 0
Decorate 125(g_tTexcdi4) DescriptorSet 0
Decorate 128(g_tTexcdu4) DescriptorSet 0
Decorate 131(g_tTexcdf4a) DescriptorSet 0
Decorate 134(g_tTexcdi4a) DescriptorSet 0
Decorate 137(g_tTexcdu4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -399,61 +406,63 @@ gl_FragCoord origin is upper left
81: TypePointer Function 23(fvec4)
83: 11(int) Constant 1
84: TypePointer Function 6(float)
88: TypeSampler
89: TypePointer UniformConstant 88
90(g_sSamp): 89(ptr) Variable UniformConstant
91: TypeImage 6(float) 1D sampled format:Unknown
92: TypePointer UniformConstant 91
93(g_tTex1df4): 92(ptr) Variable UniformConstant
94: TypeImage 11(int) 1D sampled format:Unknown
95: TypePointer UniformConstant 94
96(g_tTex1di4): 95(ptr) Variable UniformConstant
97: TypeImage 18(int) 1D sampled format:Unknown
98: TypePointer UniformConstant 97
99(g_tTex1du4): 98(ptr) Variable UniformConstant
100: TypeImage 6(float) 2D sampled format:Unknown
101: TypePointer UniformConstant 100
102(g_tTex2df4): 101(ptr) Variable UniformConstant
103: TypeImage 11(int) 2D sampled format:Unknown
104: TypePointer UniformConstant 103
105(g_tTex2di4): 104(ptr) Variable UniformConstant
106: TypeImage 18(int) 2D sampled format:Unknown
107: TypePointer UniformConstant 106
108(g_tTex2du4): 107(ptr) Variable UniformConstant
109: TypeImage 6(float) 3D sampled format:Unknown
110: TypePointer UniformConstant 109
111(g_tTex3df4): 110(ptr) Variable UniformConstant
112: TypeImage 11(int) 3D sampled format:Unknown
113: TypePointer UniformConstant 112
114(g_tTex3di4): 113(ptr) Variable UniformConstant
115: TypeImage 18(int) 3D sampled format:Unknown
116: TypePointer UniformConstant 115
117(g_tTex3du4): 116(ptr) Variable UniformConstant
118: TypeImage 6(float) Cube sampled format:Unknown
119: TypePointer UniformConstant 118
120(g_tTexcdf4): 119(ptr) Variable UniformConstant
121: TypeImage 11(int) Cube sampled format:Unknown
122: TypePointer UniformConstant 121
123(g_tTexcdi4): 122(ptr) Variable UniformConstant
124: TypeImage 18(int) Cube sampled format:Unknown
125: TypePointer UniformConstant 124
126(g_tTexcdu4): 125(ptr) Variable UniformConstant
127: TypeImage 6(float) Cube array sampled format:Unknown
128: TypePointer UniformConstant 127
129(g_tTexcdf4a): 128(ptr) Variable UniformConstant
130: TypeImage 11(int) Cube array sampled format:Unknown
131: TypePointer UniformConstant 130
132(g_tTexcdi4a): 131(ptr) Variable UniformConstant
133: TypeImage 18(int) Cube array sampled format:Unknown
134: TypePointer UniformConstant 133
135(g_tTexcdu4a): 134(ptr) Variable UniformConstant
136(c1): 20(ptr) Variable UniformConstant
137: TypePointer UniformConstant 15(ivec2)
138(c2): 137(ptr) Variable UniformConstant
139(o1): 20(ptr) Variable UniformConstant
140(o2): 137(ptr) Variable UniformConstant
141(o3): 13(ptr) Variable UniformConstant
142(o4): 49(ptr) Variable UniformConstant
86: TypePointer Output 75(PS_OUTPUT)
87(@entryPointOutput): 86(ptr) Variable Output
90: TypeSampler
91: TypePointer UniformConstant 90
92(g_sSamp): 91(ptr) Variable UniformConstant
93: TypeImage 6(float) 1D sampled format:Unknown
94: TypePointer UniformConstant 93
95(g_tTex1df4): 94(ptr) Variable UniformConstant
96: TypeImage 11(int) 1D sampled format:Unknown
97: TypePointer UniformConstant 96
98(g_tTex1di4): 97(ptr) Variable UniformConstant
99: TypeImage 18(int) 1D sampled format:Unknown
100: TypePointer UniformConstant 99
101(g_tTex1du4): 100(ptr) Variable UniformConstant
102: TypeImage 6(float) 2D sampled format:Unknown
103: TypePointer UniformConstant 102
104(g_tTex2df4): 103(ptr) Variable UniformConstant
105: TypeImage 11(int) 2D sampled format:Unknown
106: TypePointer UniformConstant 105
107(g_tTex2di4): 106(ptr) Variable UniformConstant
108: TypeImage 18(int) 2D sampled format:Unknown
109: TypePointer UniformConstant 108
110(g_tTex2du4): 109(ptr) Variable UniformConstant
111: TypeImage 6(float) 3D sampled format:Unknown
112: TypePointer UniformConstant 111
113(g_tTex3df4): 112(ptr) Variable UniformConstant
114: TypeImage 11(int) 3D sampled format:Unknown
115: TypePointer UniformConstant 114
116(g_tTex3di4): 115(ptr) Variable UniformConstant
117: TypeImage 18(int) 3D sampled format:Unknown
118: TypePointer UniformConstant 117
119(g_tTex3du4): 118(ptr) Variable UniformConstant
120: TypeImage 6(float) Cube sampled format:Unknown
121: TypePointer UniformConstant 120
122(g_tTexcdf4): 121(ptr) Variable UniformConstant
123: TypeImage 11(int) Cube sampled format:Unknown
124: TypePointer UniformConstant 123
125(g_tTexcdi4): 124(ptr) Variable UniformConstant
126: TypeImage 18(int) Cube sampled format:Unknown
127: TypePointer UniformConstant 126
128(g_tTexcdu4): 127(ptr) Variable UniformConstant
129: TypeImage 6(float) Cube array sampled format:Unknown
130: TypePointer UniformConstant 129
131(g_tTexcdf4a): 130(ptr) Variable UniformConstant
132: TypeImage 11(int) Cube array sampled format:Unknown
133: TypePointer UniformConstant 132
134(g_tTexcdi4a): 133(ptr) Variable UniformConstant
135: TypeImage 18(int) Cube array sampled format:Unknown
136: TypePointer UniformConstant 135
137(g_tTexcdu4a): 136(ptr) Variable UniformConstant
138(c1): 20(ptr) Variable UniformConstant
139: TypePointer UniformConstant 15(ivec2)
140(c2): 139(ptr) Variable UniformConstant
141(o1): 20(ptr) Variable UniformConstant
142(o2): 139(ptr) Variable UniformConstant
143(o3): 13(ptr) Variable UniformConstant
144(o4): 49(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
77(psout): 76(ptr) Variable Function
@ -497,6 +506,7 @@ gl_FragCoord origin is upper left
Store 82 80
85: 84(ptr) AccessChain 77(psout) 83
Store 85 79
86:75(PS_OUTPUT) Load 77(psout)
ReturnValue 86
88:75(PS_OUTPUT) Load 77(psout)
Store 87(@entryPointOutput) 88
Return
FunctionEnd

View File

@ -139,8 +139,11 @@ gl_FragCoord origin is upper left
0:73 1 (const int)
0:73 Constant:
0:73 1.000000
0:75 Branch: Return with expression
0:75 Sequence
0:75 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:75 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:75 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -317,8 +320,11 @@ gl_FragCoord origin is upper left
0:73 1 (const int)
0:73 Constant:
0:73 1.000000
0:75 Branch: Return with expression
0:75 Sequence
0:75 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:75 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:75 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -353,14 +359,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 163
// Id's are bound by 165
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 118
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "g_tTex1df4"
@ -379,24 +385,25 @@ gl_FragCoord origin is upper left
MemberName 106(PS_OUTPUT) 0 "Color"
MemberName 106(PS_OUTPUT) 1 "Depth"
Name 108 "psout"
Name 121 "g_sSamp"
Name 124 "g_tTexcdf4"
Name 127 "g_tTexcdi4"
Name 130 "g_tTexcdu4"
Name 133 "g_tTex1df4a"
Name 136 "g_tTex1di4a"
Name 139 "g_tTex1du4a"
Name 142 "g_tTex2df4a"
Name 145 "g_tTex2di4a"
Name 148 "g_tTex2du4a"
Name 151 "g_tTexcdf4a"
Name 154 "g_tTexcdi4a"
Name 157 "g_tTexcdu4a"
Name 158 "c1"
Name 159 "o1"
Name 160 "o2"
Name 161 "o3"
Name 162 "o4"
Name 118 "@entryPointOutput"
Name 123 "g_sSamp"
Name 126 "g_tTexcdf4"
Name 129 "g_tTexcdi4"
Name 132 "g_tTexcdu4"
Name 135 "g_tTex1df4a"
Name 138 "g_tTex1di4a"
Name 141 "g_tTex1du4a"
Name 144 "g_tTex2df4a"
Name 147 "g_tTex2di4a"
Name 150 "g_tTex2du4a"
Name 153 "g_tTexcdf4a"
Name 156 "g_tTexcdi4a"
Name 159 "g_tTexcdu4a"
Name 160 "c1"
Name 161 "o1"
Name 162 "o2"
Name 163 "o3"
Name 164 "o4"
Decorate 9(g_tTex1df4) DescriptorSet 0
Decorate 9(g_tTex1df4) Binding 0
Decorate 27(g_tTex1di4) DescriptorSet 0
@ -408,20 +415,20 @@ gl_FragCoord origin is upper left
Decorate 90(g_tTex3di4) DescriptorSet 0
Decorate 99(g_tTex3du4) DescriptorSet 0
MemberDecorate 106(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 121(g_sSamp) DescriptorSet 0
Decorate 121(g_sSamp) Binding 0
Decorate 124(g_tTexcdf4) DescriptorSet 0
Decorate 127(g_tTexcdi4) DescriptorSet 0
Decorate 130(g_tTexcdu4) DescriptorSet 0
Decorate 133(g_tTex1df4a) DescriptorSet 0
Decorate 136(g_tTex1di4a) DescriptorSet 0
Decorate 139(g_tTex1du4a) DescriptorSet 0
Decorate 142(g_tTex2df4a) DescriptorSet 0
Decorate 145(g_tTex2di4a) DescriptorSet 0
Decorate 148(g_tTex2du4a) DescriptorSet 0
Decorate 151(g_tTexcdf4a) DescriptorSet 0
Decorate 154(g_tTexcdi4a) DescriptorSet 0
Decorate 157(g_tTexcdu4a) DescriptorSet 0
Decorate 123(g_sSamp) DescriptorSet 0
Decorate 123(g_sSamp) Binding 0
Decorate 126(g_tTexcdf4) DescriptorSet 0
Decorate 129(g_tTexcdi4) DescriptorSet 0
Decorate 132(g_tTexcdu4) DescriptorSet 0
Decorate 135(g_tTex1df4a) DescriptorSet 0
Decorate 138(g_tTex1di4a) DescriptorSet 0
Decorate 141(g_tTex1du4a) DescriptorSet 0
Decorate 144(g_tTex2df4a) DescriptorSet 0
Decorate 147(g_tTex2di4a) DescriptorSet 0
Decorate 150(g_tTex2du4a) DescriptorSet 0
Decorate 153(g_tTexcdf4a) DescriptorSet 0
Decorate 156(g_tTexcdi4a) DescriptorSet 0
Decorate 159(g_tTexcdu4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -478,50 +485,52 @@ gl_FragCoord origin is upper left
112: TypePointer Function 23(fvec4)
114: 11(int) Constant 1
115: TypePointer Function 6(float)
119: TypeSampler
120: TypePointer UniformConstant 119
121(g_sSamp): 120(ptr) Variable UniformConstant
122: TypeImage 6(float) Cube sampled format:Unknown
123: TypePointer UniformConstant 122
124(g_tTexcdf4): 123(ptr) Variable UniformConstant
125: TypeImage 11(int) Cube sampled format:Unknown
126: TypePointer UniformConstant 125
127(g_tTexcdi4): 126(ptr) Variable UniformConstant
128: TypeImage 15(int) Cube sampled format:Unknown
129: TypePointer UniformConstant 128
130(g_tTexcdu4): 129(ptr) Variable UniformConstant
131: TypeImage 6(float) 1D array sampled format:Unknown
132: TypePointer UniformConstant 131
133(g_tTex1df4a): 132(ptr) Variable UniformConstant
134: TypeImage 11(int) 1D array sampled format:Unknown
135: TypePointer UniformConstant 134
136(g_tTex1di4a): 135(ptr) Variable UniformConstant
137: TypeImage 15(int) 1D array sampled format:Unknown
138: TypePointer UniformConstant 137
139(g_tTex1du4a): 138(ptr) Variable UniformConstant
140: TypeImage 6(float) 2D array sampled format:Unknown
141: TypePointer UniformConstant 140
142(g_tTex2df4a): 141(ptr) Variable UniformConstant
143: TypeImage 11(int) 2D array sampled format:Unknown
144: TypePointer UniformConstant 143
145(g_tTex2di4a): 144(ptr) Variable UniformConstant
146: TypeImage 15(int) 2D array sampled format:Unknown
147: TypePointer UniformConstant 146
148(g_tTex2du4a): 147(ptr) Variable UniformConstant
149: TypeImage 6(float) Cube array sampled format:Unknown
150: TypePointer UniformConstant 149
151(g_tTexcdf4a): 150(ptr) Variable UniformConstant
152: TypeImage 11(int) Cube array sampled format:Unknown
153: TypePointer UniformConstant 152
154(g_tTexcdi4a): 153(ptr) Variable UniformConstant
155: TypeImage 15(int) Cube array sampled format:Unknown
156: TypePointer UniformConstant 155
157(g_tTexcdu4a): 156(ptr) Variable UniformConstant
158(c1): 17(ptr) Variable UniformConstant
159(o1): 17(ptr) Variable UniformConstant
160(o2): 13(ptr) Variable UniformConstant
161(o3): 50(ptr) Variable UniformConstant
162(o4): 80(ptr) Variable UniformConstant
117: TypePointer Output 106(PS_OUTPUT)
118(@entryPointOutput): 117(ptr) Variable Output
121: TypeSampler
122: TypePointer UniformConstant 121
123(g_sSamp): 122(ptr) Variable UniformConstant
124: TypeImage 6(float) Cube sampled format:Unknown
125: TypePointer UniformConstant 124
126(g_tTexcdf4): 125(ptr) Variable UniformConstant
127: TypeImage 11(int) Cube sampled format:Unknown
128: TypePointer UniformConstant 127
129(g_tTexcdi4): 128(ptr) Variable UniformConstant
130: TypeImage 15(int) Cube sampled format:Unknown
131: TypePointer UniformConstant 130
132(g_tTexcdu4): 131(ptr) Variable UniformConstant
133: TypeImage 6(float) 1D array sampled format:Unknown
134: TypePointer UniformConstant 133
135(g_tTex1df4a): 134(ptr) Variable UniformConstant
136: TypeImage 11(int) 1D array sampled format:Unknown
137: TypePointer UniformConstant 136
138(g_tTex1di4a): 137(ptr) Variable UniformConstant
139: TypeImage 15(int) 1D array sampled format:Unknown
140: TypePointer UniformConstant 139
141(g_tTex1du4a): 140(ptr) Variable UniformConstant
142: TypeImage 6(float) 2D array sampled format:Unknown
143: TypePointer UniformConstant 142
144(g_tTex2df4a): 143(ptr) Variable UniformConstant
145: TypeImage 11(int) 2D array sampled format:Unknown
146: TypePointer UniformConstant 145
147(g_tTex2di4a): 146(ptr) Variable UniformConstant
148: TypeImage 15(int) 2D array sampled format:Unknown
149: TypePointer UniformConstant 148
150(g_tTex2du4a): 149(ptr) Variable UniformConstant
151: TypeImage 6(float) Cube array sampled format:Unknown
152: TypePointer UniformConstant 151
153(g_tTexcdf4a): 152(ptr) Variable UniformConstant
154: TypeImage 11(int) Cube array sampled format:Unknown
155: TypePointer UniformConstant 154
156(g_tTexcdi4a): 155(ptr) Variable UniformConstant
157: TypeImage 15(int) Cube array sampled format:Unknown
158: TypePointer UniformConstant 157
159(g_tTexcdu4a): 158(ptr) Variable UniformConstant
160(c1): 17(ptr) Variable UniformConstant
161(o1): 17(ptr) Variable UniformConstant
162(o2): 13(ptr) Variable UniformConstant
163(o3): 50(ptr) Variable UniformConstant
164(o4): 80(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
108(psout): 107(ptr) Variable Function
@ -583,6 +592,7 @@ gl_FragCoord origin is upper left
Store 113 111
116: 115(ptr) AccessChain 108(psout) 114
Store 116 110
117:106(PS_OUTPUT) Load 108(psout)
ReturnValue 117
119:106(PS_OUTPUT) Load 108(psout)
Store 118(@entryPointOutput) 119
Return
FunctionEnd

View File

@ -131,8 +131,11 @@ Shader version: 450
0:? 0.000000
0:? 0.000000
0:? 0.000000
0:69 Branch: Return with expression
0:69 Sequence
0:69 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:69 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos})
0:69 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -301,8 +304,11 @@ Shader version: 450
0:? 0.000000
0:? 0.000000
0:? 0.000000
0:69 Branch: Return with expression
0:69 Sequence
0:69 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:69 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos})
0:69 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -337,14 +343,14 @@ Shader version: 450
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 160
// Id's are bound by 162
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main"
EntryPoint Vertex 4 "main" 115
Name 4 "main"
Name 9 "g_tTex1df4"
Name 14 "c2"
@ -361,24 +367,25 @@ Shader version: 450
Name 106 "VS_OUTPUT"
MemberName 106(VS_OUTPUT) 0 "Pos"
Name 108 "vsout"
Name 118 "g_sSamp"
Name 121 "g_tTexcdf4"
Name 124 "g_tTexcdi4"
Name 127 "g_tTexcdu4"
Name 130 "g_tTex1df4a"
Name 133 "g_tTex1di4a"
Name 136 "g_tTex1du4a"
Name 139 "g_tTex2df4a"
Name 142 "g_tTex2di4a"
Name 145 "g_tTex2du4a"
Name 148 "g_tTexcdf4a"
Name 151 "g_tTexcdi4a"
Name 154 "g_tTexcdu4a"
Name 155 "c1"
Name 156 "o1"
Name 157 "o2"
Name 158 "o3"
Name 159 "o4"
Name 115 "@entryPointOutput"
Name 120 "g_sSamp"
Name 123 "g_tTexcdf4"
Name 126 "g_tTexcdi4"
Name 129 "g_tTexcdu4"
Name 132 "g_tTex1df4a"
Name 135 "g_tTex1di4a"
Name 138 "g_tTex1du4a"
Name 141 "g_tTex2df4a"
Name 144 "g_tTex2di4a"
Name 147 "g_tTex2du4a"
Name 150 "g_tTexcdf4a"
Name 153 "g_tTexcdi4a"
Name 156 "g_tTexcdu4a"
Name 157 "c1"
Name 158 "o1"
Name 159 "o2"
Name 160 "o3"
Name 161 "o4"
Decorate 9(g_tTex1df4) DescriptorSet 0
Decorate 9(g_tTex1df4) Binding 0
Decorate 27(g_tTex1di4) DescriptorSet 0
@ -390,20 +397,20 @@ Shader version: 450
Decorate 90(g_tTex3di4) DescriptorSet 0
Decorate 99(g_tTex3du4) DescriptorSet 0
MemberDecorate 106(VS_OUTPUT) 0 BuiltIn FragCoord
Decorate 118(g_sSamp) DescriptorSet 0
Decorate 118(g_sSamp) Binding 0
Decorate 121(g_tTexcdf4) DescriptorSet 0
Decorate 124(g_tTexcdi4) DescriptorSet 0
Decorate 127(g_tTexcdu4) DescriptorSet 0
Decorate 130(g_tTex1df4a) DescriptorSet 0
Decorate 133(g_tTex1di4a) DescriptorSet 0
Decorate 136(g_tTex1du4a) DescriptorSet 0
Decorate 139(g_tTex2df4a) DescriptorSet 0
Decorate 142(g_tTex2di4a) DescriptorSet 0
Decorate 145(g_tTex2du4a) DescriptorSet 0
Decorate 148(g_tTexcdf4a) DescriptorSet 0
Decorate 151(g_tTexcdi4a) DescriptorSet 0
Decorate 154(g_tTexcdu4a) DescriptorSet 0
Decorate 120(g_sSamp) DescriptorSet 0
Decorate 120(g_sSamp) Binding 0
Decorate 123(g_tTexcdf4) DescriptorSet 0
Decorate 126(g_tTexcdi4) DescriptorSet 0
Decorate 129(g_tTexcdu4) DescriptorSet 0
Decorate 132(g_tTex1df4a) DescriptorSet 0
Decorate 135(g_tTex1di4a) DescriptorSet 0
Decorate 138(g_tTex1du4a) DescriptorSet 0
Decorate 141(g_tTex2df4a) DescriptorSet 0
Decorate 144(g_tTex2di4a) DescriptorSet 0
Decorate 147(g_tTex2du4a) DescriptorSet 0
Decorate 150(g_tTexcdf4a) DescriptorSet 0
Decorate 153(g_tTexcdi4a) DescriptorSet 0
Decorate 156(g_tTexcdu4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -458,50 +465,52 @@ Shader version: 450
110: 6(float) Constant 0
111: 23(fvec4) ConstantComposite 110 110 110 110
112: TypePointer Function 23(fvec4)
116: TypeSampler
117: TypePointer UniformConstant 116
118(g_sSamp): 117(ptr) Variable UniformConstant
119: TypeImage 6(float) Cube sampled format:Unknown
120: TypePointer UniformConstant 119
121(g_tTexcdf4): 120(ptr) Variable UniformConstant
122: TypeImage 11(int) Cube sampled format:Unknown
123: TypePointer UniformConstant 122
124(g_tTexcdi4): 123(ptr) Variable UniformConstant
125: TypeImage 15(int) Cube sampled format:Unknown
126: TypePointer UniformConstant 125
127(g_tTexcdu4): 126(ptr) Variable UniformConstant
128: TypeImage 6(float) 1D array sampled format:Unknown
129: TypePointer UniformConstant 128
130(g_tTex1df4a): 129(ptr) Variable UniformConstant
131: TypeImage 11(int) 1D array sampled format:Unknown
132: TypePointer UniformConstant 131
133(g_tTex1di4a): 132(ptr) Variable UniformConstant
134: TypeImage 15(int) 1D array sampled format:Unknown
135: TypePointer UniformConstant 134
136(g_tTex1du4a): 135(ptr) Variable UniformConstant
137: TypeImage 6(float) 2D array sampled format:Unknown
138: TypePointer UniformConstant 137
139(g_tTex2df4a): 138(ptr) Variable UniformConstant
140: TypeImage 11(int) 2D array sampled format:Unknown
141: TypePointer UniformConstant 140
142(g_tTex2di4a): 141(ptr) Variable UniformConstant
143: TypeImage 15(int) 2D array sampled format:Unknown
144: TypePointer UniformConstant 143
145(g_tTex2du4a): 144(ptr) Variable UniformConstant
146: TypeImage 6(float) Cube array sampled format:Unknown
147: TypePointer UniformConstant 146
148(g_tTexcdf4a): 147(ptr) Variable UniformConstant
149: TypeImage 11(int) Cube array sampled format:Unknown
150: TypePointer UniformConstant 149
151(g_tTexcdi4a): 150(ptr) Variable UniformConstant
152: TypeImage 15(int) Cube array sampled format:Unknown
153: TypePointer UniformConstant 152
154(g_tTexcdu4a): 153(ptr) Variable UniformConstant
155(c1): 17(ptr) Variable UniformConstant
156(o1): 17(ptr) Variable UniformConstant
157(o2): 13(ptr) Variable UniformConstant
158(o3): 50(ptr) Variable UniformConstant
159(o4): 80(ptr) Variable UniformConstant
114: TypePointer Output 106(VS_OUTPUT)
115(@entryPointOutput): 114(ptr) Variable Output
118: TypeSampler
119: TypePointer UniformConstant 118
120(g_sSamp): 119(ptr) Variable UniformConstant
121: TypeImage 6(float) Cube sampled format:Unknown
122: TypePointer UniformConstant 121
123(g_tTexcdf4): 122(ptr) Variable UniformConstant
124: TypeImage 11(int) Cube sampled format:Unknown
125: TypePointer UniformConstant 124
126(g_tTexcdi4): 125(ptr) Variable UniformConstant
127: TypeImage 15(int) Cube sampled format:Unknown
128: TypePointer UniformConstant 127
129(g_tTexcdu4): 128(ptr) Variable UniformConstant
130: TypeImage 6(float) 1D array sampled format:Unknown
131: TypePointer UniformConstant 130
132(g_tTex1df4a): 131(ptr) Variable UniformConstant
133: TypeImage 11(int) 1D array sampled format:Unknown
134: TypePointer UniformConstant 133
135(g_tTex1di4a): 134(ptr) Variable UniformConstant
136: TypeImage 15(int) 1D array sampled format:Unknown
137: TypePointer UniformConstant 136
138(g_tTex1du4a): 137(ptr) Variable UniformConstant
139: TypeImage 6(float) 2D array sampled format:Unknown
140: TypePointer UniformConstant 139
141(g_tTex2df4a): 140(ptr) Variable UniformConstant
142: TypeImage 11(int) 2D array sampled format:Unknown
143: TypePointer UniformConstant 142
144(g_tTex2di4a): 143(ptr) Variable UniformConstant
145: TypeImage 15(int) 2D array sampled format:Unknown
146: TypePointer UniformConstant 145
147(g_tTex2du4a): 146(ptr) Variable UniformConstant
148: TypeImage 6(float) Cube array sampled format:Unknown
149: TypePointer UniformConstant 148
150(g_tTexcdf4a): 149(ptr) Variable UniformConstant
151: TypeImage 11(int) Cube array sampled format:Unknown
152: TypePointer UniformConstant 151
153(g_tTexcdi4a): 152(ptr) Variable UniformConstant
154: TypeImage 15(int) Cube array sampled format:Unknown
155: TypePointer UniformConstant 154
156(g_tTexcdu4a): 155(ptr) Variable UniformConstant
157(c1): 17(ptr) Variable UniformConstant
158(o1): 17(ptr) Variable UniformConstant
159(o2): 13(ptr) Variable UniformConstant
160(o3): 50(ptr) Variable UniformConstant
161(o4): 80(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
108(vsout): 107(ptr) Variable Function
@ -561,6 +570,7 @@ Shader version: 450
105: 43(ivec4) ImageFetch 100 102 Lod 104
113: 112(ptr) AccessChain 108(vsout) 109
Store 113 111
114:106(VS_OUTPUT) Load 108(vsout)
ReturnValue 114
116:106(VS_OUTPUT) Load 108(vsout)
Store 115(@entryPointOutput) 116
Return
FunctionEnd

View File

@ -40,8 +40,11 @@ gl_FragCoord origin is upper left
0:35 1 (const int)
0:35 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_tTexbf4_test' (layout(binding=0 ) uniform samplerBuffer)
0:? 'g_tTexbf4' (uniform samplerBuffer)
@ -101,8 +104,11 @@ gl_FragCoord origin is upper left
0:35 1 (const int)
0:35 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_tTexbf4_test' (layout(binding=0 ) uniform samplerBuffer)
0:? 'g_tTexbf4' (uniform samplerBuffer)
@ -119,13 +125,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 69
// Id's are bound by 71
Capability Shader
Capability SampledBuffer
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 55
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "r00"
@ -139,20 +145,21 @@ gl_FragCoord origin is upper left
MemberName 44(PS_OUTPUT) 0 "Color"
MemberName 44(PS_OUTPUT) 1 "Depth"
Name 46 "psout"
Name 56 "g_tTexbf4_test"
Name 59 "c2"
Name 62 "c3"
Name 64 "c4"
Name 65 "o1"
Name 66 "o2"
Name 67 "o3"
Name 68 "o4"
Name 55 "@entryPointOutput"
Name 58 "g_tTexbf4_test"
Name 61 "c2"
Name 64 "c3"
Name 66 "c4"
Name 67 "o1"
Name 68 "o2"
Name 69 "o3"
Name 70 "o4"
Decorate 13(g_tTexbf4) DescriptorSet 0
Decorate 27(g_tTexbi4) DescriptorSet 0
Decorate 39(g_tTexbu4) DescriptorSet 0
MemberDecorate 44(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 56(g_tTexbf4_test) DescriptorSet 0
Decorate 56(g_tTexbf4_test) Binding 0
Decorate 58(g_tTexbf4_test) DescriptorSet 0
Decorate 58(g_tTexbf4_test) Binding 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -185,19 +192,21 @@ gl_FragCoord origin is upper left
49: 7(fvec4) ConstantComposite 48 48 48 48
51: 15(int) Constant 1
52: TypePointer Function 6(float)
56(g_tTexbf4_test): 12(ptr) Variable UniformConstant
57: TypeVector 15(int) 2
58: TypePointer UniformConstant 57(ivec2)
59(c2): 58(ptr) Variable UniformConstant
60: TypeVector 15(int) 3
61: TypePointer UniformConstant 60(ivec3)
62(c3): 61(ptr) Variable UniformConstant
63: TypePointer UniformConstant 21(ivec4)
64(c4): 63(ptr) Variable UniformConstant
65(o1): 16(ptr) Variable UniformConstant
66(o2): 58(ptr) Variable UniformConstant
67(o3): 61(ptr) Variable UniformConstant
68(o4): 63(ptr) Variable UniformConstant
54: TypePointer Output 44(PS_OUTPUT)
55(@entryPointOutput): 54(ptr) Variable Output
58(g_tTexbf4_test): 12(ptr) Variable UniformConstant
59: TypeVector 15(int) 2
60: TypePointer UniformConstant 59(ivec2)
61(c2): 60(ptr) Variable UniformConstant
62: TypeVector 15(int) 3
63: TypePointer UniformConstant 62(ivec3)
64(c3): 63(ptr) Variable UniformConstant
65: TypePointer UniformConstant 21(ivec4)
66(c4): 65(ptr) Variable UniformConstant
67(o1): 16(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
5: Label
9(r00): 8(ptr) Variable Function
@ -223,6 +232,7 @@ gl_FragCoord origin is upper left
Store 50 49
53: 52(ptr) AccessChain 46(psout) 51
Store 53 48
54:44(PS_OUTPUT) Load 46(psout)
ReturnValue 54
56:44(PS_OUTPUT) Load 46(psout)
Store 55(@entryPointOutput) 56
Return
FunctionEnd

View File

@ -148,8 +148,11 @@ gl_FragCoord origin is upper left
0:73 1 (const int)
0:73 Constant:
0:73 1.000000
0:75 Branch: Return with expression
0:75 Sequence
0:75 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:75 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:75 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -335,8 +338,11 @@ gl_FragCoord origin is upper left
0:73 1 (const int)
0:73 Constant:
0:73 1.000000
0:75 Branch: Return with expression
0:75 Sequence
0:75 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:75 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:75 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -371,7 +377,7 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 172
// Id's are bound by 174
Capability Shader
Capability ImageGatherExtended
@ -379,7 +385,7 @@ gl_FragCoord origin is upper left
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 130
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "g_tTex1df4"
@ -401,21 +407,22 @@ gl_FragCoord origin is upper left
MemberName 118(PS_OUTPUT) 0 "Color"
MemberName 118(PS_OUTPUT) 1 "Depth"
Name 120 "psout"
Name 133 "g_sSamp"
Name 136 "g_tTexcdf4"
Name 139 "g_tTexcdi4"
Name 142 "g_tTexcdu4"
Name 145 "g_tTex1df4a"
Name 148 "g_tTex1di4a"
Name 151 "g_tTex1du4a"
Name 154 "g_tTex2df4a"
Name 157 "g_tTex2di4a"
Name 160 "g_tTex2du4a"
Name 163 "g_tTexcdf4a"
Name 166 "g_tTexcdi4a"
Name 169 "g_tTexcdu4a"
Name 170 "c1"
Name 171 "o4"
Name 130 "@entryPointOutput"
Name 135 "g_sSamp"
Name 138 "g_tTexcdf4"
Name 141 "g_tTexcdi4"
Name 144 "g_tTexcdu4"
Name 147 "g_tTex1df4a"
Name 150 "g_tTex1di4a"
Name 153 "g_tTex1du4a"
Name 156 "g_tTex2df4a"
Name 159 "g_tTex2di4a"
Name 162 "g_tTex2du4a"
Name 165 "g_tTexcdf4a"
Name 168 "g_tTexcdi4a"
Name 171 "g_tTexcdu4a"
Name 172 "c1"
Name 173 "o4"
Decorate 9(g_tTex1df4) DescriptorSet 0
Decorate 9(g_tTex1df4) Binding 0
Decorate 29(g_tTex1di4) DescriptorSet 0
@ -427,20 +434,20 @@ gl_FragCoord origin is upper left
Decorate 100(g_tTex3di4) DescriptorSet 0
Decorate 110(g_tTex3du4) DescriptorSet 0
MemberDecorate 118(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 133(g_sSamp) DescriptorSet 0
Decorate 133(g_sSamp) Binding 0
Decorate 136(g_tTexcdf4) DescriptorSet 0
Decorate 139(g_tTexcdi4) DescriptorSet 0
Decorate 142(g_tTexcdu4) DescriptorSet 0
Decorate 145(g_tTex1df4a) DescriptorSet 0
Decorate 148(g_tTex1di4a) DescriptorSet 0
Decorate 151(g_tTex1du4a) DescriptorSet 0
Decorate 154(g_tTex2df4a) DescriptorSet 0
Decorate 157(g_tTex2di4a) DescriptorSet 0
Decorate 160(g_tTex2du4a) DescriptorSet 0
Decorate 163(g_tTexcdf4a) DescriptorSet 0
Decorate 166(g_tTexcdi4a) DescriptorSet 0
Decorate 169(g_tTexcdu4a) DescriptorSet 0
Decorate 135(g_sSamp) DescriptorSet 0
Decorate 135(g_sSamp) Binding 0
Decorate 138(g_tTexcdf4) DescriptorSet 0
Decorate 141(g_tTexcdi4) DescriptorSet 0
Decorate 144(g_tTexcdu4) DescriptorSet 0
Decorate 147(g_tTex1df4a) DescriptorSet 0
Decorate 150(g_tTex1di4a) DescriptorSet 0
Decorate 153(g_tTex1du4a) DescriptorSet 0
Decorate 156(g_tTex2df4a) DescriptorSet 0
Decorate 159(g_tTex2di4a) DescriptorSet 0
Decorate 162(g_tTex2du4a) DescriptorSet 0
Decorate 165(g_tTexcdf4a) DescriptorSet 0
Decorate 168(g_tTexcdi4a) DescriptorSet 0
Decorate 171(g_tTexcdu4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -500,47 +507,49 @@ gl_FragCoord origin is upper left
124: TypePointer Function 25(fvec4)
126: 11(int) Constant 1
127: TypePointer Function 6(float)
131: TypeSampler
132: TypePointer UniformConstant 131
133(g_sSamp): 132(ptr) Variable UniformConstant
134: TypeImage 6(float) Cube sampled format:Unknown
135: TypePointer UniformConstant 134
136(g_tTexcdf4): 135(ptr) Variable UniformConstant
137: TypeImage 11(int) Cube sampled format:Unknown
138: TypePointer UniformConstant 137
139(g_tTexcdi4): 138(ptr) Variable UniformConstant
140: TypeImage 15(int) Cube sampled format:Unknown
141: TypePointer UniformConstant 140
142(g_tTexcdu4): 141(ptr) Variable UniformConstant
143: TypeImage 6(float) 1D array sampled format:Unknown
144: TypePointer UniformConstant 143
145(g_tTex1df4a): 144(ptr) Variable UniformConstant
146: TypeImage 11(int) 1D array sampled format:Unknown
147: TypePointer UniformConstant 146
148(g_tTex1di4a): 147(ptr) Variable UniformConstant
149: TypeImage 15(int) 1D array sampled format:Unknown
150: TypePointer UniformConstant 149
151(g_tTex1du4a): 150(ptr) Variable UniformConstant
152: TypeImage 6(float) 2D array sampled format:Unknown
153: TypePointer UniformConstant 152
154(g_tTex2df4a): 153(ptr) Variable UniformConstant
155: TypeImage 11(int) 2D array sampled format:Unknown
156: TypePointer UniformConstant 155
157(g_tTex2di4a): 156(ptr) Variable UniformConstant
158: TypeImage 15(int) 2D array sampled format:Unknown
159: TypePointer UniformConstant 158
160(g_tTex2du4a): 159(ptr) Variable UniformConstant
161: TypeImage 6(float) Cube array sampled format:Unknown
162: TypePointer UniformConstant 161
163(g_tTexcdf4a): 162(ptr) Variable UniformConstant
164: TypeImage 11(int) Cube array sampled format:Unknown
165: TypePointer UniformConstant 164
166(g_tTexcdi4a): 165(ptr) Variable UniformConstant
167: TypeImage 15(int) Cube array sampled format:Unknown
168: TypePointer UniformConstant 167
169(g_tTexcdu4a): 168(ptr) Variable UniformConstant
170(c1): 17(ptr) Variable UniformConstant
171(o4): 88(ptr) Variable UniformConstant
129: TypePointer Output 118(PS_OUTPUT)
130(@entryPointOutput): 129(ptr) Variable Output
133: TypeSampler
134: TypePointer UniformConstant 133
135(g_sSamp): 134(ptr) Variable UniformConstant
136: TypeImage 6(float) Cube sampled format:Unknown
137: TypePointer UniformConstant 136
138(g_tTexcdf4): 137(ptr) Variable UniformConstant
139: TypeImage 11(int) Cube sampled format:Unknown
140: TypePointer UniformConstant 139
141(g_tTexcdi4): 140(ptr) Variable UniformConstant
142: TypeImage 15(int) Cube sampled format:Unknown
143: TypePointer UniformConstant 142
144(g_tTexcdu4): 143(ptr) Variable UniformConstant
145: TypeImage 6(float) 1D array sampled format:Unknown
146: TypePointer UniformConstant 145
147(g_tTex1df4a): 146(ptr) Variable UniformConstant
148: TypeImage 11(int) 1D array sampled format:Unknown
149: TypePointer UniformConstant 148
150(g_tTex1di4a): 149(ptr) Variable UniformConstant
151: TypeImage 15(int) 1D array sampled format:Unknown
152: TypePointer UniformConstant 151
153(g_tTex1du4a): 152(ptr) Variable UniformConstant
154: TypeImage 6(float) 2D array sampled format:Unknown
155: TypePointer UniformConstant 154
156(g_tTex2df4a): 155(ptr) Variable UniformConstant
157: TypeImage 11(int) 2D array sampled format:Unknown
158: TypePointer UniformConstant 157
159(g_tTex2di4a): 158(ptr) Variable UniformConstant
160: TypeImage 15(int) 2D array sampled format:Unknown
161: TypePointer UniformConstant 160
162(g_tTex2du4a): 161(ptr) Variable UniformConstant
163: TypeImage 6(float) Cube array sampled format:Unknown
164: TypePointer UniformConstant 163
165(g_tTexcdf4a): 164(ptr) Variable UniformConstant
166: TypeImage 11(int) Cube array sampled format:Unknown
167: TypePointer UniformConstant 166
168(g_tTexcdi4a): 167(ptr) Variable UniformConstant
169: TypeImage 15(int) Cube array sampled format:Unknown
170: TypePointer UniformConstant 169
171(g_tTexcdu4a): 170(ptr) Variable UniformConstant
172(c1): 17(ptr) Variable UniformConstant
173(o4): 88(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
120(psout): 119(ptr) Variable Function
@ -611,6 +620,7 @@ gl_FragCoord origin is upper left
Store 125 123
128: 127(ptr) AccessChain 120(psout) 126
Store 128 122
129:118(PS_OUTPUT) Load 120(psout)
ReturnValue 129
131:118(PS_OUTPUT) Load 120(psout)
Store 130(@entryPointOutput) 131
Return
FunctionEnd

View File

@ -112,8 +112,11 @@ gl_FragCoord origin is upper left
0:66 1 (const int)
0:66 Constant:
0:66 1.000000
0:68 Branch: Return with expression
0:68 Sequence
0:68 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:68 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:68 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -263,8 +266,11 @@ gl_FragCoord origin is upper left
0:66 1 (const int)
0:66 Constant:
0:66 1.000000
0:68 Branch: Return with expression
0:68 Sequence
0:68 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:68 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:68 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -299,7 +305,7 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 149
// Id's are bound by 151
Capability Shader
Capability ImageGatherExtended
@ -307,7 +313,7 @@ gl_FragCoord origin is upper left
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 96
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "g_tTex1df4a"
@ -324,26 +330,27 @@ gl_FragCoord origin is upper left
MemberName 84(PS_OUTPUT) 0 "Color"
MemberName 84(PS_OUTPUT) 1 "Depth"
Name 86 "psout"
Name 99 "g_sSamp"
Name 102 "g_tTex1df4"
Name 105 "g_tTex1di4"
Name 108 "g_tTex1du4"
Name 111 "g_tTex2df4"
Name 114 "g_tTex2di4"
Name 117 "g_tTex2du4"
Name 120 "g_tTex3df4"
Name 123 "g_tTex3di4"
Name 126 "g_tTex3du4"
Name 129 "g_tTexcdf4"
Name 132 "g_tTexcdi4"
Name 135 "g_tTexcdu4"
Name 138 "g_tTexcdf4a"
Name 141 "g_tTexcdi4a"
Name 144 "g_tTexcdu4a"
Name 145 "c1"
Name 146 "c2"
Name 147 "o3"
Name 148 "o4"
Name 96 "@entryPointOutput"
Name 101 "g_sSamp"
Name 104 "g_tTex1df4"
Name 107 "g_tTex1di4"
Name 110 "g_tTex1du4"
Name 113 "g_tTex2df4"
Name 116 "g_tTex2di4"
Name 119 "g_tTex2du4"
Name 122 "g_tTex3df4"
Name 125 "g_tTex3di4"
Name 128 "g_tTex3du4"
Name 131 "g_tTexcdf4"
Name 134 "g_tTexcdi4"
Name 137 "g_tTexcdu4"
Name 140 "g_tTexcdf4a"
Name 143 "g_tTexcdi4a"
Name 146 "g_tTexcdu4a"
Name 147 "c1"
Name 148 "c2"
Name 149 "o3"
Name 150 "o4"
Decorate 9(g_tTex1df4a) DescriptorSet 0
Decorate 29(g_tTex1di4a) DescriptorSet 0
Decorate 40(g_tTex1du4a) DescriptorSet 0
@ -351,24 +358,24 @@ gl_FragCoord origin is upper left
Decorate 66(g_tTex2di4a) DescriptorSet 0
Decorate 76(g_tTex2du4a) DescriptorSet 0
MemberDecorate 84(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 99(g_sSamp) DescriptorSet 0
Decorate 99(g_sSamp) Binding 0
Decorate 102(g_tTex1df4) DescriptorSet 0
Decorate 102(g_tTex1df4) Binding 0
Decorate 105(g_tTex1di4) DescriptorSet 0
Decorate 108(g_tTex1du4) DescriptorSet 0
Decorate 111(g_tTex2df4) DescriptorSet 0
Decorate 114(g_tTex2di4) DescriptorSet 0
Decorate 117(g_tTex2du4) DescriptorSet 0
Decorate 120(g_tTex3df4) DescriptorSet 0
Decorate 123(g_tTex3di4) DescriptorSet 0
Decorate 126(g_tTex3du4) DescriptorSet 0
Decorate 129(g_tTexcdf4) DescriptorSet 0
Decorate 132(g_tTexcdi4) DescriptorSet 0
Decorate 135(g_tTexcdu4) DescriptorSet 0
Decorate 138(g_tTexcdf4a) DescriptorSet 0
Decorate 141(g_tTexcdi4a) DescriptorSet 0
Decorate 144(g_tTexcdu4a) DescriptorSet 0
Decorate 101(g_sSamp) DescriptorSet 0
Decorate 101(g_sSamp) Binding 0
Decorate 104(g_tTex1df4) DescriptorSet 0
Decorate 104(g_tTex1df4) Binding 0
Decorate 107(g_tTex1di4) DescriptorSet 0
Decorate 110(g_tTex1du4) DescriptorSet 0
Decorate 113(g_tTex2df4) DescriptorSet 0
Decorate 116(g_tTex2di4) DescriptorSet 0
Decorate 119(g_tTex2du4) DescriptorSet 0
Decorate 122(g_tTex3df4) DescriptorSet 0
Decorate 125(g_tTex3di4) DescriptorSet 0
Decorate 128(g_tTex3du4) DescriptorSet 0
Decorate 131(g_tTexcdf4) DescriptorSet 0
Decorate 134(g_tTexcdi4) DescriptorSet 0
Decorate 137(g_tTexcdu4) DescriptorSet 0
Decorate 140(g_tTexcdf4a) DescriptorSet 0
Decorate 143(g_tTexcdi4a) DescriptorSet 0
Decorate 146(g_tTexcdu4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -415,58 +422,60 @@ gl_FragCoord origin is upper left
90: TypePointer Function 25(fvec4)
92: 11(int) Constant 1
93: TypePointer Function 6(float)
97: TypeSampler
98: TypePointer UniformConstant 97
99(g_sSamp): 98(ptr) Variable UniformConstant
100: TypeImage 6(float) 1D sampled format:Unknown
101: TypePointer UniformConstant 100
102(g_tTex1df4): 101(ptr) Variable UniformConstant
103: TypeImage 11(int) 1D sampled format:Unknown
104: TypePointer UniformConstant 103
105(g_tTex1di4): 104(ptr) Variable UniformConstant
106: TypeImage 18(int) 1D sampled format:Unknown
107: TypePointer UniformConstant 106
108(g_tTex1du4): 107(ptr) Variable UniformConstant
109: TypeImage 6(float) 2D sampled format:Unknown
110: TypePointer UniformConstant 109
111(g_tTex2df4): 110(ptr) Variable UniformConstant
112: TypeImage 11(int) 2D sampled format:Unknown
113: TypePointer UniformConstant 112
114(g_tTex2di4): 113(ptr) Variable UniformConstant
115: TypeImage 18(int) 2D sampled format:Unknown
116: TypePointer UniformConstant 115
117(g_tTex2du4): 116(ptr) Variable UniformConstant
118: TypeImage 6(float) 3D sampled format:Unknown
119: TypePointer UniformConstant 118
120(g_tTex3df4): 119(ptr) Variable UniformConstant
121: TypeImage 11(int) 3D sampled format:Unknown
122: TypePointer UniformConstant 121
123(g_tTex3di4): 122(ptr) Variable UniformConstant
124: TypeImage 18(int) 3D sampled format:Unknown
125: TypePointer UniformConstant 124
126(g_tTex3du4): 125(ptr) Variable UniformConstant
127: TypeImage 6(float) Cube sampled format:Unknown
128: TypePointer UniformConstant 127
129(g_tTexcdf4): 128(ptr) Variable UniformConstant
130: TypeImage 11(int) Cube sampled format:Unknown
131: TypePointer UniformConstant 130
132(g_tTexcdi4): 131(ptr) Variable UniformConstant
133: TypeImage 18(int) Cube sampled format:Unknown
134: TypePointer UniformConstant 133
135(g_tTexcdu4): 134(ptr) Variable UniformConstant
136: TypeImage 6(float) Cube array sampled format:Unknown
137: TypePointer UniformConstant 136
138(g_tTexcdf4a): 137(ptr) Variable UniformConstant
139: TypeImage 11(int) Cube array sampled format:Unknown
140: TypePointer UniformConstant 139
141(g_tTexcdi4a): 140(ptr) Variable UniformConstant
142: TypeImage 18(int) Cube array sampled format:Unknown
143: TypePointer UniformConstant 142
144(g_tTexcdu4a): 143(ptr) Variable UniformConstant
145(c1): 20(ptr) Variable UniformConstant
146(c2): 60(ptr) Variable UniformConstant
147(o3): 13(ptr) Variable UniformConstant
148(o4): 53(ptr) Variable UniformConstant
95: TypePointer Output 84(PS_OUTPUT)
96(@entryPointOutput): 95(ptr) Variable Output
99: TypeSampler
100: TypePointer UniformConstant 99
101(g_sSamp): 100(ptr) Variable UniformConstant
102: TypeImage 6(float) 1D sampled format:Unknown
103: TypePointer UniformConstant 102
104(g_tTex1df4): 103(ptr) Variable UniformConstant
105: TypeImage 11(int) 1D sampled format:Unknown
106: TypePointer UniformConstant 105
107(g_tTex1di4): 106(ptr) Variable UniformConstant
108: TypeImage 18(int) 1D sampled format:Unknown
109: TypePointer UniformConstant 108
110(g_tTex1du4): 109(ptr) Variable UniformConstant
111: TypeImage 6(float) 2D sampled format:Unknown
112: TypePointer UniformConstant 111
113(g_tTex2df4): 112(ptr) Variable UniformConstant
114: TypeImage 11(int) 2D sampled format:Unknown
115: TypePointer UniformConstant 114
116(g_tTex2di4): 115(ptr) Variable UniformConstant
117: TypeImage 18(int) 2D sampled format:Unknown
118: TypePointer UniformConstant 117
119(g_tTex2du4): 118(ptr) Variable UniformConstant
120: TypeImage 6(float) 3D sampled format:Unknown
121: TypePointer UniformConstant 120
122(g_tTex3df4): 121(ptr) Variable UniformConstant
123: TypeImage 11(int) 3D sampled format:Unknown
124: TypePointer UniformConstant 123
125(g_tTex3di4): 124(ptr) Variable UniformConstant
126: TypeImage 18(int) 3D sampled format:Unknown
127: TypePointer UniformConstant 126
128(g_tTex3du4): 127(ptr) Variable UniformConstant
129: TypeImage 6(float) Cube sampled format:Unknown
130: TypePointer UniformConstant 129
131(g_tTexcdf4): 130(ptr) Variable UniformConstant
132: TypeImage 11(int) Cube sampled format:Unknown
133: TypePointer UniformConstant 132
134(g_tTexcdi4): 133(ptr) Variable UniformConstant
135: TypeImage 18(int) Cube sampled format:Unknown
136: TypePointer UniformConstant 135
137(g_tTexcdu4): 136(ptr) Variable UniformConstant
138: TypeImage 6(float) Cube array sampled format:Unknown
139: TypePointer UniformConstant 138
140(g_tTexcdf4a): 139(ptr) Variable UniformConstant
141: TypeImage 11(int) Cube array sampled format:Unknown
142: TypePointer UniformConstant 141
143(g_tTexcdi4a): 142(ptr) Variable UniformConstant
144: TypeImage 18(int) Cube array sampled format:Unknown
145: TypePointer UniformConstant 144
146(g_tTexcdu4a): 145(ptr) Variable UniformConstant
147(c1): 20(ptr) Variable UniformConstant
148(c2): 60(ptr) Variable UniformConstant
149(o3): 13(ptr) Variable UniformConstant
150(o4): 53(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
86(psout): 85(ptr) Variable Function
@ -516,6 +525,7 @@ gl_FragCoord origin is upper left
Store 91 89
94: 93(ptr) AccessChain 86(psout) 92
Store 94 88
95:84(PS_OUTPUT) Load 86(psout)
ReturnValue 95
97:84(PS_OUTPUT) Load 86(psout)
Store 96(@entryPointOutput) 97
Return
FunctionEnd

View File

@ -7,10 +7,13 @@ gl_FragCoord origin is upper left
0:2 'input1' (in 4-component vector of float)
0:2 'input2' (in 4-component vector of float)
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 'input1' (in 4-component vector of float)
0:3 'input2' (in 4-component vector of float)
0:3 Branch: Return
0:? Linker Objects
@ -25,35 +28,42 @@ gl_FragCoord origin is upper left
0:2 'input1' (in 4-component vector of float)
0:2 'input2' (in 4-component vector of float)
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 'input1' (in 4-component vector of float)
0:3 'input2' (in 4-component vector of float)
0:3 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 15
// Id's are bound by 17
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 9 11
EntryPoint Fragment 4 "PixelShaderFunction" 9 11 13
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 9 "input1"
Name 11 "input2"
Name 9 "@entryPointOutput"
Name 11 "input1"
Name 13 "input2"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypePointer Input 7(fvec4)
9(input1): 8(ptr) Variable Input
11(input2): 8(ptr) Variable Input
8: TypePointer Output 7(fvec4)
9(@entryPointOutput): 8(ptr) Variable Output
10: TypePointer Input 7(fvec4)
11(input1): 10(ptr) Variable Input
13(input2): 10(ptr) Variable Input
4(PixelShaderFunction): 2 Function None 3
5: Label
10: 7(fvec4) Load 9(input1)
12: 7(fvec4) Load 11(input2)
13: 7(fvec4) ExtInst 1(GLSL.std.450) 40(FMax) 10 12
ReturnValue 13
12: 7(fvec4) Load 11(input1)
14: 7(fvec4) Load 13(input2)
15: 7(fvec4) ExtInst 1(GLSL.std.450) 40(FMax) 12 14
Store 9(@entryPointOutput) 15
Return
FunctionEnd

View File

@ -58,8 +58,11 @@ gl_FragCoord origin is upper left
0:18 Construct vec4 (temp 4-component vector of float)
0:18 Convert int to float (temp float)
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 Branch: Return
0:? Linker Objects
@ -125,18 +128,21 @@ gl_FragCoord origin is upper left
0:18 Construct vec4 (temp 4-component vector of float)
0:18 Convert int to float (temp float)
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 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 41
// Id's are bound by 43
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 40
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 8 "r00"
@ -151,6 +157,7 @@ gl_FragCoord origin is upper left
Name 30 "PS_OUTPUT"
MemberName 30(PS_OUTPUT) 0 "color"
Name 32 "ps_output"
Name 40 "@entryPointOutput"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -172,6 +179,8 @@ gl_FragCoord origin is upper left
31: TypePointer Function 30(PS_OUTPUT)
33: 19(int) Constant 0
37: TypePointer Function 29(fvec4)
39: TypePointer Output 30(PS_OUTPUT)
40(@entryPointOutput): 39(ptr) Variable Output
4(main): 2 Function None 3
5: Label
8(r00): 7(ptr) Variable Function
@ -198,6 +207,7 @@ gl_FragCoord origin is upper left
36: 29(fvec4) CompositeConstruct 35 35 35 35
38: 37(ptr) AccessChain 32(ps_output) 33
Store 38 36
39:30(PS_OUTPUT) Load 32(ps_output)
ReturnValue 39
41:30(PS_OUTPUT) Load 32(ps_output)
Store 40(@entryPointOutput) 41
Return
FunctionEnd

View File

@ -348,8 +348,11 @@ gl_FragCoord origin is upper left
0:139 Construct bool (in 1-component vector of bool)
0:139 Construct bvec3 (temp 3-component vector of 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 Branch: Return
0:? Linker Objects
@ -705,19 +708,22 @@ gl_FragCoord origin is upper left
0:139 Construct bool (in 1-component vector of bool)
0:139 Construct bvec3 (temp 3-component vector of 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 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 507
// Id's are bound by 509
Capability Shader
Capability Float64
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 504
EntryPoint Fragment 4 "PixelShaderFunction" 504 506
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 13 "foo1(d1;b1;"
@ -901,7 +907,8 @@ gl_FragCoord origin is upper left
Name 491 "param"
Name 494 "param"
Name 500 "param"
Name 504 "input"
Name 504 "@entryPointOutput"
Name 506 "input"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 64
@ -953,8 +960,10 @@ gl_FragCoord origin is upper left
488: TypeVector 22(int) 4
497: TypeVector 8(bool) 3
502: TypeVector 29(float) 4
503: TypePointer Input 502(fvec4)
504(input): 503(ptr) Variable Input
503: TypePointer Output 502(fvec4)
504(@entryPointOutput): 503(ptr) Variable Output
505: TypePointer Input 502(fvec4)
506(input): 505(ptr) Variable Input
4(PixelShaderFunction): 2 Function None 3
5: Label
149(d): 7(ptr) Variable Function
@ -1401,8 +1410,9 @@ gl_FragCoord origin is upper left
499: 8(bool) CompositeExtract 498 0
Store 500(param) 499
501: 2 FunctionCall 147(foo15(vb1;) 500(param)
505: 502(fvec4) Load 504(input)
ReturnValue 505
507: 502(fvec4) Load 506(input)
Store 504(@entryPointOutput) 507
Return
FunctionEnd
13(foo1(d1;b1;): 2 Function None 10
11(a): 7(ptr) FunctionParameter

View File

@ -31,8 +31,11 @@ gl_FragCoord origin is upper left
0:127 1 (const int)
0:127 Constant:
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 Branch: Return
0:? Linker Objects
@ -71,18 +74,21 @@ gl_FragCoord origin is upper left
0:127 1 (const int)
0:127 Constant:
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 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 28
// Id's are bound by 30
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 27
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 8 "thisLineIs"
@ -90,6 +96,7 @@ gl_FragCoord origin is upper left
MemberName 12(PS_OUTPUT) 0 "Color"
MemberName 12(PS_OUTPUT) 1 "Depth"
Name 14 "psout"
Name 27 "@entryPointOutput"
MemberDecorate 12(PS_OUTPUT) 1 BuiltIn FragDepth
2: TypeVoid
3: TypeFunction 2
@ -106,6 +113,8 @@ gl_FragCoord origin is upper left
21: TypePointer Function 11(fvec4)
23: 6(int) Constant 1
24: TypePointer Function 10(float)
26: TypePointer Output 12(PS_OUTPUT)
27(@entryPointOutput): 26(ptr) Variable Output
4(main): 2 Function None 3
5: Label
8(thisLineIs): 7(ptr) Variable Function
@ -118,6 +127,7 @@ gl_FragCoord origin is upper left
Store 22 20
25: 24(ptr) AccessChain 14(psout) 23
Store 25 19
26:12(PS_OUTPUT) Load 14(psout)
ReturnValue 26
28:12(PS_OUTPUT) Load 14(psout)
Store 27(@entryPointOutput) 28
Return
FunctionEnd

View File

@ -9,7 +9,9 @@ gl_FragCoord origin is upper left
0:7 'a3' (in 4-component vector of float)
0:7 'a4' (in 4-component vector of float)
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)
@ -42,6 +44,7 @@ gl_FragCoord origin is upper left
0:8 'a3' (in 4-component vector of float)
0:8 Constant:
0:8 3 (const int)
0:8 Branch: Return
0:? Linker Objects
@ -58,7 +61,9 @@ gl_FragCoord origin is upper left
0:7 'a3' (in 4-component vector of float)
0:7 'a4' (in 4-component vector of float)
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)
@ -91,55 +96,60 @@ gl_FragCoord origin is upper left
0:8 'a3' (in 4-component vector of float)
0:8 Constant:
0:8 3 (const int)
0:8 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 37
// Id's are bound by 39
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 9 11 13 17
EntryPoint Fragment 4 "PixelShaderFunction" 9 11 13 15 19
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 9 "a1"
Name 11 "a2"
Name 13 "a3"
Name 17 "a4"
Name 9 "@entryPointOutput"
Name 11 "a1"
Name 13 "a2"
Name 15 "a3"
Name 19 "a4"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypePointer Input 7(fvec4)
9(a1): 8(ptr) Variable Input
11(a2): 8(ptr) Variable Input
13(a3): 8(ptr) Variable Input
17(a4): 8(ptr) Variable Input
20: TypeVector 6(float) 3
26: TypeInt 32 0
27: 26(int) Constant 3
28: TypePointer Input 6(float)
8: TypePointer Output 7(fvec4)
9(@entryPointOutput): 8(ptr) Variable Output
10: TypePointer Input 7(fvec4)
11(a1): 10(ptr) Variable Input
13(a2): 10(ptr) Variable Input
15(a3): 10(ptr) Variable Input
19(a4): 10(ptr) Variable Input
22: TypeVector 6(float) 3
28: TypeInt 32 0
29: 28(int) Constant 3
30: TypePointer Input 6(float)
4(PixelShaderFunction): 2 Function None 3
5: Label
10: 7(fvec4) Load 9(a1)
12: 7(fvec4) Load 11(a2)
14: 7(fvec4) Load 13(a3)
15: 7(fvec4) FMul 12 14
16: 7(fvec4) FAdd 10 15
18: 7(fvec4) Load 17(a4)
19: 7(fvec4) FAdd 16 18
21: 7(fvec4) Load 9(a1)
22: 20(fvec3) VectorShuffle 21 21 0 1 2
23: 7(fvec4) Load 11(a2)
24: 20(fvec3) VectorShuffle 23 23 0 1 2
25: 20(fvec3) FMul 22 24
29: 28(ptr) AccessChain 13(a3) 27
30: 6(float) Load 29
31: 6(float) CompositeExtract 25 0
32: 6(float) CompositeExtract 25 1
33: 6(float) CompositeExtract 25 2
34: 7(fvec4) CompositeConstruct 31 32 33 30
35: 7(fvec4) FAdd 19 34
ReturnValue 35
12: 7(fvec4) Load 11(a1)
14: 7(fvec4) Load 13(a2)
16: 7(fvec4) Load 15(a3)
17: 7(fvec4) FMul 14 16
18: 7(fvec4) FAdd 12 17
20: 7(fvec4) Load 19(a4)
21: 7(fvec4) FAdd 18 20
23: 7(fvec4) Load 11(a1)
24: 22(fvec3) VectorShuffle 23 23 0 1 2
25: 7(fvec4) Load 13(a2)
26: 22(fvec3) VectorShuffle 25 25 0 1 2
27: 22(fvec3) FMul 24 26
31: 30(ptr) AccessChain 15(a3) 29
32: 6(float) Load 31
33: 6(float) CompositeExtract 27 0
34: 6(float) CompositeExtract 27 1
35: 6(float) CompositeExtract 27 2
36: 7(fvec4) CompositeConstruct 33 34 35 32
37: 7(fvec4) FAdd 21 36
Store 9(@entryPointOutput) 37
Return
FunctionEnd

View File

@ -9,7 +9,9 @@ gl_FragCoord origin is upper left
0:7 'a3' (in int)
0:7 'a4' (in int)
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 left-shift (temp int)
0:8 add (temp int)
@ -25,6 +27,7 @@ gl_FragCoord origin is upper left
0:8 component-wise multiply (temp int)
0:8 'a3' (in int)
0:8 'a4' (in int)
0:8 Branch: Return
0:? Linker Objects
@ -41,7 +44,9 @@ gl_FragCoord origin is upper left
0:7 'a3' (in int)
0:7 'a4' (in int)
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 left-shift (temp int)
0:8 add (temp int)
@ -57,46 +62,51 @@ gl_FragCoord origin is upper left
0:8 component-wise multiply (temp int)
0:8 'a3' (in int)
0:8 'a4' (in int)
0:8 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 28
// Id's are bound by 30
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 8 10 13 16
EntryPoint Fragment 4 "PixelShaderFunction" 8 10 12 15 18
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 8 "a1"
Name 10 "a2"
Name 13 "a3"
Name 16 "a4"
Name 8 "@entryPointOutput"
Name 10 "a1"
Name 12 "a2"
Name 15 "a3"
Name 18 "a4"
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
7: TypePointer Input 6(int)
8(a1): 7(ptr) Variable Input
10(a2): 7(ptr) Variable Input
13(a3): 7(ptr) Variable Input
16(a4): 7(ptr) Variable Input
7: TypePointer Output 6(int)
8(@entryPointOutput): 7(ptr) Variable Output
9: TypePointer Input 6(int)
10(a1): 9(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
5: Label
9: 6(int) Load 8(a1)
11: 6(int) Load 10(a2)
12: 6(int) IMul 9 11
14: 6(int) Load 13(a3)
15: 6(int) IAdd 12 14
17: 6(int) Load 16(a4)
18: 6(int) ShiftLeftLogical 15 17
19: 6(int) Load 8(a1)
20: 6(int) Load 10(a2)
21: 6(int) Load 13(a3)
22: 6(int) Load 16(a4)
23: 6(int) IMul 21 22
24: 6(int) IAdd 20 23
25: 6(int) ShiftLeftLogical 19 24
26: 6(int) IAdd 18 25
ReturnValue 26
11: 6(int) Load 10(a1)
13: 6(int) Load 12(a2)
14: 6(int) IMul 11 13
16: 6(int) Load 15(a3)
17: 6(int) IAdd 14 16
19: 6(int) Load 18(a4)
20: 6(int) ShiftLeftLogical 17 19
21: 6(int) Load 10(a1)
22: 6(int) Load 12(a2)
23: 6(int) Load 15(a3)
24: 6(int) Load 18(a4)
25: 6(int) IMul 23 24
26: 6(int) IAdd 22 25
27: 6(int) ShiftLeftLogical 21 26
28: 6(int) IAdd 20 27
Store 8(@entryPointOutput) 28
Return
FunctionEnd

View File

@ -19,8 +19,11 @@ gl_FragCoord origin is upper left
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 Branch: Return
0:? Linker Objects
0:? 'precisefloat' (noContraction global float)
@ -48,19 +51,22 @@ gl_FragCoord origin is upper left
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 Branch: Return
0:? Linker Objects
0:? 'precisefloat' (noContraction global float)
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 29
// Id's are bound by 31
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 26
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 13 "MyFunction(f1;vf3;"
@ -69,7 +75,8 @@ gl_FragCoord origin is upper left
Name 16 "PS_OUTPUT"
MemberName 16(PS_OUTPUT) 0 "color"
Name 18 "ps_output"
Name 28 "precisefloat"
Name 26 "@entryPointOutput"
Name 30 "precisefloat"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -85,15 +92,18 @@ gl_FragCoord origin is upper left
21: 6(float) Constant 1065353216
22: 15(fvec4) ConstantComposite 21 21 21 21
23: TypePointer Function 15(fvec4)
27: TypePointer Private 6(float)
28(precisefloat): 27(ptr) Variable Private
25: TypePointer Output 16(PS_OUTPUT)
26(@entryPointOutput): 25(ptr) Variable Output
29: TypePointer Private 6(float)
30(precisefloat): 29(ptr) Variable Private
4(main): 2 Function None 3
5: Label
18(ps_output): 17(ptr) Variable Function
24: 23(ptr) AccessChain 18(ps_output) 20
Store 24 22
25:16(PS_OUTPUT) Load 18(ps_output)
ReturnValue 25
27:16(PS_OUTPUT) Load 18(ps_output)
Store 26(@entryPointOutput) 27
Return
FunctionEnd
13(MyFunction(f1;vf3;): 2 Function None 10
11(myfloat): 7(ptr) FunctionParameter

View File

@ -496,8 +496,11 @@ gl_FragCoord origin is upper left
0:199 Constant:
0:199 0 (const int)
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 Branch: Return
0:? Linker Objects
0:? 'i3' (uniform 3-component vector of int)
0:? 'b3' (uniform 3-component vector of bool)
@ -1011,8 +1014,11 @@ gl_FragCoord origin is upper left
0:199 Constant:
0:199 0 (const int)
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 Branch: Return
0:? Linker Objects
0:? 'i3' (uniform 3-component vector of int)
0:? 'b3' (uniform 3-component vector of bool)
@ -1027,13 +1033,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 478
// Id's are bound by 480
Capability Shader
Capability Float64
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 477
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 11 "Fn_F3(vf3;"
@ -1122,6 +1128,7 @@ gl_FragCoord origin is upper left
Name 471 "PS_OUTPUT"
MemberName 471(PS_OUTPUT) 0 "Color"
Name 473 "psout"
Name 477 "@entryPointOutput"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -1192,6 +1199,8 @@ gl_FragCoord origin is upper left
465: 6(float) Constant 1080452710
471(PS_OUTPUT): TypeStruct 462(fvec4)
472: TypePointer Function 471(PS_OUTPUT)
476: TypePointer Output 471(PS_OUTPUT)
477(@entryPointOutput): 476(ptr) Variable Output
4(main): 2 Function None 3
5: Label
252(r00): 8(ptr) Variable Function
@ -1457,8 +1466,9 @@ gl_FragCoord origin is upper left
474: 462(fvec4) Load 464(outval)
475: 463(ptr) AccessChain 473(psout) 149
Store 475 474
476:471(PS_OUTPUT) Load 473(psout)
ReturnValue 476
478:471(PS_OUTPUT) Load 473(psout)
Store 477(@entryPointOutput) 478
Return
FunctionEnd
11(Fn_F3(vf3;): 2 Function None 9
10(x): 8(ptr) FunctionParameter

View File

@ -121,8 +121,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int)
0:40 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -262,8 +265,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int)
0:40 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -279,14 +285,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 132
// Id's are bound by 134
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 130
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval10"
@ -312,7 +318,8 @@ gl_FragCoord origin is upper left
MemberName 120(PS_OUTPUT) 0 "Color"
MemberName 120(PS_OUTPUT) 1 "Depth"
Name 122 "psout"
Name 131 "g_tTex1df4a"
Name 130 "@entryPointOutput"
Name 133 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -326,8 +333,8 @@ gl_FragCoord origin is upper left
Decorate 100(g_tTexcdi4) DescriptorSet 0
Decorate 110(g_tTexcdu4) DescriptorSet 0
MemberDecorate 120(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 131(g_tTex1df4a) DescriptorSet 0
Decorate 131(g_tTex1df4a) Binding 1
Decorate 133(g_tTex1df4a) DescriptorSet 0
Decorate 133(g_tTex1df4a) Binding 1
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -405,7 +412,9 @@ gl_FragCoord origin is upper left
124: 7(fvec4) ConstantComposite 117 117 117 117
126: 25(int) Constant 1
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
5: Label
9(txval10): 8(ptr) Variable Function
@ -467,6 +476,7 @@ gl_FragCoord origin is upper left
Store 125 124
128: 127(ptr) AccessChain 122(psout) 126
Store 128 117
129:120(PS_OUTPUT) Load 122(psout)
ReturnValue 129
131:120(PS_OUTPUT) Load 122(psout)
Store 130(@entryPointOutput) 131
Return
FunctionEnd

View File

@ -231,8 +231,11 @@ gl_FragCoord origin is upper left
0:87 1 (const int)
0:87 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -485,8 +488,11 @@ gl_FragCoord origin is upper left
0:87 1 (const int)
0:87 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -507,13 +513,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 184
// Id's are bound by 186
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 180
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 7 "MemberTest"
@ -559,9 +565,10 @@ gl_FragCoord origin is upper left
MemberName 171(PS_OUTPUT) 0 "Color"
MemberName 171(PS_OUTPUT) 1 "Depth"
Name 173 "psout"
Name 181 "g_sSamp2d"
Name 182 "g_sSamp2D_b"
Name 183 "g_tTex1df4a"
Name 180 "@entryPointOutput"
Name 183 "g_sSamp2d"
Name 184 "g_sSamp2D_b"
Name 185 "g_tTex1df4a"
Decorate 41(g_tTex1df4) DescriptorSet 0
Decorate 41(g_tTex1df4) Binding 0
Decorate 45(g_sSamp) DescriptorSet 0
@ -578,10 +585,10 @@ gl_FragCoord origin is upper left
Decorate 156(g_tTexcdi4) DescriptorSet 0
Decorate 165(g_tTexcdu4) DescriptorSet 0
MemberDecorate 171(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 181(g_sSamp2d) DescriptorSet 0
Decorate 182(g_sSamp2D_b) DescriptorSet 0
Decorate 183(g_tTex1df4a) DescriptorSet 0
Decorate 183(g_tTex1df4a) Binding 1
Decorate 183(g_sSamp2d) DescriptorSet 0
Decorate 184(g_sSamp2D_b) DescriptorSet 0
Decorate 185(g_tTex1df4a) DescriptorSet 0
Decorate 185(g_tTex1df4a) Binding 1
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
@ -681,9 +688,11 @@ gl_FragCoord origin is upper left
174: 35(float) Constant 1065353216
175: 36(fvec4) ConstantComposite 174 174 174 174
177: TypePointer Function 35(float)
181(g_sSamp2d): 44(ptr) Variable UniformConstant
182(g_sSamp2D_b): 44(ptr) Variable UniformConstant
183(g_tTex1df4a): 40(ptr) Variable UniformConstant
179: TypePointer Output 171(PS_OUTPUT)
180(@entryPointOutput): 179(ptr) Variable Output
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
5: Label
9(mtest): 8(ptr) Variable Function
@ -788,6 +797,7 @@ gl_FragCoord origin is upper left
Store 176 175
178: 177(ptr) AccessChain 173(psout) 10
Store 178 174
179:171(PS_OUTPUT) Load 173(psout)
ReturnValue 179
181:171(PS_OUTPUT) Load 173(psout)
Store 180(@entryPointOutput) 181
Return
FunctionEnd

View File

@ -139,8 +139,11 @@ gl_FragCoord origin is upper left
0:46 1 (const int)
0:46 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -301,8 +304,11 @@ gl_FragCoord origin is upper left
0:46 1 (const int)
0:46 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -321,13 +327,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 147
// Id's are bound by 149
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 136
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval10"
@ -353,10 +359,11 @@ gl_FragCoord origin is upper left
MemberName 127(PS_OUTPUT) 0 "Color"
MemberName 127(PS_OUTPUT) 1 "Depth"
Name 129 "psout"
Name 137 "g_tTex1df4a"
Name 140 "g_tTexcdf4"
Name 143 "g_tTexcdi4"
Name 146 "g_tTexcdu4"
Name 136 "@entryPointOutput"
Name 139 "g_tTex1df4a"
Name 142 "g_tTexcdf4"
Name 145 "g_tTexcdi4"
Name 148 "g_tTexcdu4"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -370,11 +377,11 @@ gl_FragCoord origin is upper left
Decorate 105(g_tTex3di4) DescriptorSet 0
Decorate 116(g_tTex3du4) DescriptorSet 0
MemberDecorate 127(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 137(g_tTex1df4a) DescriptorSet 0
Decorate 137(g_tTex1df4a) Binding 1
Decorate 140(g_tTexcdf4) DescriptorSet 0
Decorate 143(g_tTexcdi4) DescriptorSet 0
Decorate 146(g_tTexcdu4) DescriptorSet 0
Decorate 139(g_tTex1df4a) DescriptorSet 0
Decorate 139(g_tTex1df4a) Binding 1
Decorate 142(g_tTexcdf4) DescriptorSet 0
Decorate 145(g_tTexcdi4) DescriptorSet 0
Decorate 148(g_tTexcdu4) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -458,16 +465,18 @@ gl_FragCoord origin is upper left
130: 6(float) Constant 1065353216
131: 7(fvec4) ConstantComposite 130 130 130 130
133: TypePointer Function 6(float)
137(g_tTex1df4a): 11(ptr) Variable UniformConstant
138: TypeImage 6(float) Cube sampled format:Unknown
139: TypePointer UniformConstant 138
140(g_tTexcdf4): 139(ptr) Variable UniformConstant
141: TypeImage 21(int) Cube sampled format:Unknown
142: TypePointer UniformConstant 141
143(g_tTexcdi4): 142(ptr) Variable UniformConstant
144: TypeImage 36(int) Cube sampled format:Unknown
145: TypePointer UniformConstant 144
146(g_tTexcdu4): 145(ptr) Variable UniformConstant
135: TypePointer Output 127(PS_OUTPUT)
136(@entryPointOutput): 135(ptr) Variable Output
139(g_tTex1df4a): 11(ptr) Variable UniformConstant
140: TypeImage 6(float) Cube sampled format:Unknown
141: TypePointer UniformConstant 140
142(g_tTexcdf4): 141(ptr) Variable UniformConstant
143: TypeImage 21(int) Cube sampled format:Unknown
144: TypePointer UniformConstant 143
145(g_tTexcdi4): 144(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
5: Label
9(txval10): 8(ptr) Variable Function
@ -529,6 +538,7 @@ gl_FragCoord origin is upper left
Store 132 131
134: 133(ptr) AccessChain 129(psout) 22
Store 134 130
135:127(PS_OUTPUT) Load 129(psout)
ReturnValue 135
137:127(PS_OUTPUT) Load 129(psout)
Store 136(@entryPointOutput) 137
Return
FunctionEnd

View File

@ -100,8 +100,11 @@ gl_FragCoord origin is upper left
0:34 1 (const int)
0:34 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -217,8 +220,11 @@ gl_FragCoord origin is upper left
0:34 1 (const int)
0:34 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -231,13 +237,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 104
// Id's are bound by 106
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 102
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval10"
@ -257,7 +263,8 @@ gl_FragCoord origin is upper left
MemberName 93(PS_OUTPUT) 0 "Color"
MemberName 93(PS_OUTPUT) 1 "Depth"
Name 95 "psout"
Name 103 "g_tTex1df4a"
Name 102 "@entryPointOutput"
Name 105 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -268,8 +275,8 @@ gl_FragCoord origin is upper left
Decorate 72(g_tTex2di4) DescriptorSet 0
Decorate 83(g_tTex2du4) DescriptorSet 0
MemberDecorate 93(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 103(g_tTex1df4a) DescriptorSet 0
Decorate 103(g_tTex1df4a) Binding 1
Decorate 105(g_tTex1df4a) DescriptorSet 0
Decorate 105(g_tTex1df4a) Binding 1
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -334,7 +341,9 @@ gl_FragCoord origin is upper left
96: 6(float) Constant 1065353216
97: 7(fvec4) ConstantComposite 96 96 96 96
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
5: Label
9(txval10): 8(ptr) Variable Function
@ -378,6 +387,7 @@ gl_FragCoord origin is upper left
Store 98 97
100: 99(ptr) AccessChain 95(psout) 39
Store 100 96
101:93(PS_OUTPUT) Load 95(psout)
ReturnValue 101
103:93(PS_OUTPUT) Load 95(psout)
Store 102(@entryPointOutput) 103
Return
FunctionEnd

View File

@ -139,8 +139,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int)
0:40 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -298,8 +301,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int)
0:40 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -315,14 +321,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 132
// Id's are bound by 134
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 130
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval10"
@ -348,7 +354,8 @@ gl_FragCoord origin is upper left
MemberName 120(PS_OUTPUT) 0 "Color"
MemberName 120(PS_OUTPUT) 1 "Depth"
Name 122 "psout"
Name 131 "g_tTex1df4a"
Name 130 "@entryPointOutput"
Name 133 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -362,8 +369,8 @@ gl_FragCoord origin is upper left
Decorate 100(g_tTexcdi4) DescriptorSet 0
Decorate 110(g_tTexcdu4) DescriptorSet 0
MemberDecorate 120(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 131(g_tTex1df4a) DescriptorSet 0
Decorate 131(g_tTex1df4a) Binding 1
Decorate 133(g_tTex1df4a) DescriptorSet 0
Decorate 133(g_tTex1df4a) Binding 1
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -441,7 +448,9 @@ gl_FragCoord origin is upper left
124: 7(fvec4) ConstantComposite 117 117 117 117
126: 26(int) Constant 1
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
5: Label
9(txval10): 8(ptr) Variable Function
@ -503,6 +512,7 @@ gl_FragCoord origin is upper left
Store 125 124
128: 127(ptr) AccessChain 122(psout) 126
Store 128 117
129:120(PS_OUTPUT) Load 122(psout)
ReturnValue 129
131:120(PS_OUTPUT) Load 122(psout)
Store 130(@entryPointOutput) 131
Return
FunctionEnd

View File

@ -169,8 +169,11 @@ gl_FragCoord origin is upper left
0:48 1 (const int)
0:48 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -361,8 +364,11 @@ gl_FragCoord origin is upper left
0:48 1 (const int)
0:48 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -381,13 +387,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 156
// Id's are bound by 158
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 154
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval10"
@ -419,7 +425,8 @@ gl_FragCoord origin is upper left
MemberName 143(PS_OUTPUT) 0 "Color"
MemberName 143(PS_OUTPUT) 1 "Depth"
Name 145 "psout"
Name 155 "g_tTex1df4a"
Name 154 "@entryPointOutput"
Name 157 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -436,8 +443,8 @@ gl_FragCoord origin is upper left
Decorate 128(g_tTexcdi4) DescriptorSet 0
Decorate 137(g_tTexcdu4) DescriptorSet 0
MemberDecorate 143(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 155(g_tTex1df4a) DescriptorSet 0
Decorate 155(g_tTex1df4a) Binding 1
Decorate 157(g_tTex1df4a) DescriptorSet 0
Decorate 157(g_tTex1df4a) Binding 1
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -524,7 +531,9 @@ gl_FragCoord origin is upper left
148: 7(fvec4) ConstantComposite 147 147 147 147
150: 23(int) Constant 1
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
5: Label
9(txval10): 8(ptr) Variable Function
@ -604,6 +613,7 @@ gl_FragCoord origin is upper left
Store 149 148
152: 151(ptr) AccessChain 145(psout) 150
Store 152 147
153:143(PS_OUTPUT) Load 145(psout)
ReturnValue 153
155:143(PS_OUTPUT) Load 145(psout)
Store 154(@entryPointOutput) 155
Return
FunctionEnd

View File

@ -157,8 +157,11 @@ gl_FragCoord origin is upper left
0:46 1 (const int)
0:46 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -337,8 +340,11 @@ gl_FragCoord origin is upper left
0:46 1 (const int)
0:46 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -357,13 +363,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 147
// Id's are bound by 149
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 136
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval10"
@ -389,10 +395,11 @@ gl_FragCoord origin is upper left
MemberName 127(PS_OUTPUT) 0 "Color"
MemberName 127(PS_OUTPUT) 1 "Depth"
Name 129 "psout"
Name 137 "g_tTex1df4a"
Name 140 "g_tTexcdf4"
Name 143 "g_tTexcdi4"
Name 146 "g_tTexcdu4"
Name 136 "@entryPointOutput"
Name 139 "g_tTex1df4a"
Name 142 "g_tTexcdf4"
Name 145 "g_tTexcdi4"
Name 148 "g_tTexcdu4"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -406,11 +413,11 @@ gl_FragCoord origin is upper left
Decorate 105(g_tTex3di4) DescriptorSet 0
Decorate 116(g_tTex3du4) DescriptorSet 0
MemberDecorate 127(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 137(g_tTex1df4a) DescriptorSet 0
Decorate 137(g_tTex1df4a) Binding 1
Decorate 140(g_tTexcdf4) DescriptorSet 0
Decorate 143(g_tTexcdi4) DescriptorSet 0
Decorate 146(g_tTexcdu4) DescriptorSet 0
Decorate 139(g_tTex1df4a) DescriptorSet 0
Decorate 139(g_tTex1df4a) Binding 1
Decorate 142(g_tTexcdf4) DescriptorSet 0
Decorate 145(g_tTexcdi4) DescriptorSet 0
Decorate 148(g_tTexcdu4) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -494,16 +501,18 @@ gl_FragCoord origin is upper left
130: 6(float) Constant 1065353216
131: 7(fvec4) ConstantComposite 130 130 130 130
133: TypePointer Function 6(float)
137(g_tTex1df4a): 11(ptr) Variable UniformConstant
138: TypeImage 6(float) Cube sampled format:Unknown
139: TypePointer UniformConstant 138
140(g_tTexcdf4): 139(ptr) Variable UniformConstant
141: TypeImage 22(int) Cube sampled format:Unknown
142: TypePointer UniformConstant 141
143(g_tTexcdi4): 142(ptr) Variable UniformConstant
144: TypeImage 37(int) Cube sampled format:Unknown
145: TypePointer UniformConstant 144
146(g_tTexcdu4): 145(ptr) Variable UniformConstant
135: TypePointer Output 127(PS_OUTPUT)
136(@entryPointOutput): 135(ptr) Variable Output
139(g_tTex1df4a): 11(ptr) Variable UniformConstant
140: TypeImage 6(float) Cube sampled format:Unknown
141: TypePointer UniformConstant 140
142(g_tTexcdf4): 141(ptr) Variable UniformConstant
143: TypeImage 22(int) Cube sampled format:Unknown
144: TypePointer UniformConstant 143
145(g_tTexcdi4): 144(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
5: Label
9(txval10): 8(ptr) Variable Function
@ -565,6 +574,7 @@ gl_FragCoord origin is upper left
Store 132 131
134: 133(ptr) AccessChain 129(psout) 23
Store 134 130
135:127(PS_OUTPUT) Load 129(psout)
ReturnValue 135
137:127(PS_OUTPUT) Load 129(psout)
Store 136(@entryPointOutput) 137
Return
FunctionEnd

View File

@ -112,8 +112,11 @@ gl_FragCoord origin is upper left
0:34 1 (const int)
0:34 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -241,8 +244,11 @@ gl_FragCoord origin is upper left
0:34 1 (const int)
0:34 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -255,13 +261,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 104
// Id's are bound by 106
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 102
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval10"
@ -281,7 +287,8 @@ gl_FragCoord origin is upper left
MemberName 93(PS_OUTPUT) 0 "Color"
MemberName 93(PS_OUTPUT) 1 "Depth"
Name 95 "psout"
Name 103 "g_tTex1df4a"
Name 102 "@entryPointOutput"
Name 105 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -292,8 +299,8 @@ gl_FragCoord origin is upper left
Decorate 73(g_tTex2di4) DescriptorSet 0
Decorate 83(g_tTex2du4) DescriptorSet 0
MemberDecorate 93(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 103(g_tTex1df4a) DescriptorSet 0
Decorate 103(g_tTex1df4a) Binding 1
Decorate 105(g_tTex1df4a) DescriptorSet 0
Decorate 105(g_tTex1df4a) Binding 1
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -358,7 +365,9 @@ gl_FragCoord origin is upper left
96: 6(float) Constant 1065353216
97: 7(fvec4) ConstantComposite 96 96 96 96
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
5: Label
9(txval10): 8(ptr) Variable Function
@ -402,6 +411,7 @@ gl_FragCoord origin is upper left
Store 98 97
100: 99(ptr) AccessChain 95(psout) 40
Store 100 96
101:93(PS_OUTPUT) Load 95(psout)
ReturnValue 101
103:93(PS_OUTPUT) Load 95(psout)
Store 102(@entryPointOutput) 103
Return
FunctionEnd

View File

@ -148,8 +148,11 @@ gl_FragCoord origin is upper left
0:57 1 (const int)
0:57 Constant:
0:57 1.000000
0:59 Branch: Return with expression
0:59 Sequence
0:59 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:59 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:59 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -327,8 +330,11 @@ gl_FragCoord origin is upper left
0:57 1 (const int)
0:57 Constant:
0:57 1.000000
0:59 Branch: Return with expression
0:59 Sequence
0:59 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:59 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:59 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -355,14 +361,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 177
// Id's are bound by 179
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 140
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 8 "r10"
@ -388,18 +394,19 @@ gl_FragCoord origin is upper left
MemberName 129(PS_OUTPUT) 0 "Color"
MemberName 129(PS_OUTPUT) 1 "Depth"
Name 131 "psout"
Name 143 "g_tTex1df4"
Name 146 "g_tTex1di4"
Name 149 "g_tTex1du4"
Name 152 "g_tTex2df4"
Name 155 "g_tTex2di4"
Name 158 "g_tTex2du4"
Name 161 "g_tTex3df4"
Name 164 "g_tTex3di4"
Name 167 "g_tTex3du4"
Name 170 "g_tTexcdf4"
Name 173 "g_tTexcdi4"
Name 176 "g_tTexcdu4"
Name 140 "@entryPointOutput"
Name 145 "g_tTex1df4"
Name 148 "g_tTex1di4"
Name 151 "g_tTex1du4"
Name 154 "g_tTex2df4"
Name 157 "g_tTex2di4"
Name 160 "g_tTex2du4"
Name 163 "g_tTex3df4"
Name 166 "g_tTex3di4"
Name 169 "g_tTex3du4"
Name 172 "g_tTexcdf4"
Name 175 "g_tTexcdi4"
Name 178 "g_tTexcdu4"
Decorate 11(g_tTex1df4a) DescriptorSet 0
Decorate 15(g_sSamp) DescriptorSet 0
Decorate 15(g_sSamp) Binding 0
@ -412,19 +419,19 @@ gl_FragCoord origin is upper left
Decorate 110(g_tTexcdi4a) DescriptorSet 0
Decorate 121(g_tTexcdu4a) DescriptorSet 0
MemberDecorate 129(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 143(g_tTex1df4) DescriptorSet 0
Decorate 143(g_tTex1df4) Binding 0
Decorate 146(g_tTex1di4) DescriptorSet 0
Decorate 149(g_tTex1du4) DescriptorSet 0
Decorate 152(g_tTex2df4) DescriptorSet 0
Decorate 155(g_tTex2di4) DescriptorSet 0
Decorate 158(g_tTex2du4) DescriptorSet 0
Decorate 161(g_tTex3df4) DescriptorSet 0
Decorate 164(g_tTex3di4) DescriptorSet 0
Decorate 167(g_tTex3du4) DescriptorSet 0
Decorate 170(g_tTexcdf4) DescriptorSet 0
Decorate 173(g_tTexcdi4) DescriptorSet 0
Decorate 176(g_tTexcdu4) DescriptorSet 0
Decorate 145(g_tTex1df4) DescriptorSet 0
Decorate 145(g_tTex1df4) Binding 0
Decorate 148(g_tTex1di4) DescriptorSet 0
Decorate 151(g_tTex1du4) DescriptorSet 0
Decorate 154(g_tTex2df4) DescriptorSet 0
Decorate 157(g_tTex2di4) DescriptorSet 0
Decorate 160(g_tTex2du4) DescriptorSet 0
Decorate 163(g_tTex3df4) DescriptorSet 0
Decorate 166(g_tTex3di4) DescriptorSet 0
Decorate 169(g_tTex3du4) DescriptorSet 0
Decorate 172(g_tTexcdf4) DescriptorSet 0
Decorate 175(g_tTexcdi4) DescriptorSet 0
Decorate 178(g_tTexcdu4) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -497,42 +504,44 @@ gl_FragCoord origin is upper left
134: 102(fvec4) ConstantComposite 133 133 133 133
135: TypePointer Function 102(fvec4)
137: 29(int) Constant 1
141: TypeImage 6(float) 1D sampled format:Unknown
142: TypePointer UniformConstant 141
143(g_tTex1df4): 142(ptr) Variable UniformConstant
144: TypeImage 29(int) 1D sampled format:Unknown
145: TypePointer UniformConstant 144
146(g_tTex1di4): 145(ptr) Variable UniformConstant
147: TypeImage 42(int) 1D sampled format:Unknown
148: TypePointer UniformConstant 147
149(g_tTex1du4): 148(ptr) Variable UniformConstant
150: TypeImage 6(float) 2D sampled format:Unknown
151: TypePointer UniformConstant 150
152(g_tTex2df4): 151(ptr) Variable UniformConstant
153: TypeImage 29(int) 2D sampled format:Unknown
154: TypePointer UniformConstant 153
155(g_tTex2di4): 154(ptr) Variable UniformConstant
156: TypeImage 42(int) 2D sampled format:Unknown
157: TypePointer UniformConstant 156
158(g_tTex2du4): 157(ptr) Variable UniformConstant
159: TypeImage 6(float) 3D sampled format:Unknown
160: TypePointer UniformConstant 159
161(g_tTex3df4): 160(ptr) Variable UniformConstant
162: TypeImage 29(int) 3D sampled format:Unknown
163: TypePointer UniformConstant 162
164(g_tTex3di4): 163(ptr) Variable UniformConstant
165: TypeImage 42(int) 3D sampled format:Unknown
166: TypePointer UniformConstant 165
167(g_tTex3du4): 166(ptr) Variable UniformConstant
168: TypeImage 6(float) Cube sampled format:Unknown
169: TypePointer UniformConstant 168
170(g_tTexcdf4): 169(ptr) Variable UniformConstant
171: TypeImage 29(int) Cube sampled format:Unknown
172: TypePointer UniformConstant 171
173(g_tTexcdi4): 172(ptr) Variable UniformConstant
174: TypeImage 42(int) Cube sampled format:Unknown
175: TypePointer UniformConstant 174
176(g_tTexcdu4): 175(ptr) Variable UniformConstant
139: TypePointer Output 129(PS_OUTPUT)
140(@entryPointOutput): 139(ptr) Variable Output
143: TypeImage 6(float) 1D sampled format:Unknown
144: TypePointer UniformConstant 143
145(g_tTex1df4): 144(ptr) Variable UniformConstant
146: TypeImage 29(int) 1D sampled format:Unknown
147: TypePointer UniformConstant 146
148(g_tTex1di4): 147(ptr) Variable UniformConstant
149: TypeImage 42(int) 1D sampled format:Unknown
150: TypePointer UniformConstant 149
151(g_tTex1du4): 150(ptr) Variable UniformConstant
152: TypeImage 6(float) 2D sampled format:Unknown
153: TypePointer UniformConstant 152
154(g_tTex2df4): 153(ptr) Variable UniformConstant
155: TypeImage 29(int) 2D sampled format:Unknown
156: TypePointer UniformConstant 155
157(g_tTex2di4): 156(ptr) Variable UniformConstant
158: TypeImage 42(int) 2D sampled format:Unknown
159: TypePointer UniformConstant 158
160(g_tTex2du4): 159(ptr) Variable UniformConstant
161: TypeImage 6(float) 3D sampled format:Unknown
162: TypePointer UniformConstant 161
163(g_tTex3df4): 162(ptr) Variable UniformConstant
164: TypeImage 29(int) 3D sampled format:Unknown
165: TypePointer UniformConstant 164
166(g_tTex3di4): 165(ptr) Variable UniformConstant
167: TypeImage 42(int) 3D sampled format:Unknown
168: TypePointer UniformConstant 167
169(g_tTex3du4): 168(ptr) Variable UniformConstant
170: TypeImage 6(float) Cube sampled format:Unknown
171: TypePointer UniformConstant 170
172(g_tTexcdf4): 171(ptr) Variable UniformConstant
173: TypeImage 29(int) Cube sampled format:Unknown
174: TypePointer UniformConstant 173
175(g_tTexcdi4): 174(ptr) Variable UniformConstant
176: TypeImage 42(int) Cube sampled format:Unknown
177: TypePointer UniformConstant 176
178(g_tTexcdu4): 177(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
8(r10): 7(ptr) Variable Function
@ -609,6 +618,7 @@ gl_FragCoord origin is upper left
Store 136 134
138: 7(ptr) AccessChain 131(psout) 137
Store 138 133
139:129(PS_OUTPUT) Load 131(psout)
ReturnValue 139
141:129(PS_OUTPUT) Load 131(psout)
Store 140(@entryPointOutput) 141
Return
FunctionEnd

View File

@ -139,8 +139,11 @@ gl_FragCoord origin is upper left
0:58 1 (const int)
0:58 Constant:
0:58 1.000000
0:60 Branch: Return with expression
0:60 Sequence
0:60 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:60 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:60 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -309,8 +312,11 @@ gl_FragCoord origin is upper left
0:58 1 (const int)
0:58 Constant:
0:58 1.000000
0:60 Branch: Return with expression
0:60 Sequence
0:60 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:60 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:60 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -337,14 +343,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 175
// Id's are bound by 177
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 138
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 8 "r00"
@ -370,18 +376,19 @@ gl_FragCoord origin is upper left
MemberName 127(PS_OUTPUT) 0 "Color"
MemberName 127(PS_OUTPUT) 1 "Depth"
Name 129 "psout"
Name 141 "g_tTex3df4"
Name 144 "g_tTex3di4"
Name 147 "g_tTex3du4"
Name 150 "g_tTex1df4a"
Name 153 "g_tTex1di4a"
Name 156 "g_tTex1du4a"
Name 159 "g_tTex2df4a"
Name 162 "g_tTex2di4a"
Name 165 "g_tTex2du4a"
Name 168 "g_tTexcdf4a"
Name 171 "g_tTexcdi4a"
Name 174 "g_tTexcdu4a"
Name 138 "@entryPointOutput"
Name 143 "g_tTex3df4"
Name 146 "g_tTex3di4"
Name 149 "g_tTex3du4"
Name 152 "g_tTex1df4a"
Name 155 "g_tTex1di4a"
Name 158 "g_tTex1du4a"
Name 161 "g_tTex2df4a"
Name 164 "g_tTex2di4a"
Name 167 "g_tTex2du4a"
Name 170 "g_tTexcdf4a"
Name 173 "g_tTexcdi4a"
Name 176 "g_tTexcdu4a"
Decorate 11(g_tTex1df4) DescriptorSet 0
Decorate 11(g_tTex1df4) Binding 0
Decorate 15(g_sSamp) DescriptorSet 0
@ -395,18 +402,18 @@ gl_FragCoord origin is upper left
Decorate 105(g_tTexcdi4) DescriptorSet 0
Decorate 117(g_tTexcdu4) DescriptorSet 0
MemberDecorate 127(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 141(g_tTex3df4) DescriptorSet 0
Decorate 144(g_tTex3di4) DescriptorSet 0
Decorate 147(g_tTex3du4) DescriptorSet 0
Decorate 150(g_tTex1df4a) DescriptorSet 0
Decorate 153(g_tTex1di4a) DescriptorSet 0
Decorate 156(g_tTex1du4a) DescriptorSet 0
Decorate 159(g_tTex2df4a) DescriptorSet 0
Decorate 162(g_tTex2di4a) DescriptorSet 0
Decorate 165(g_tTex2du4a) DescriptorSet 0
Decorate 168(g_tTexcdf4a) DescriptorSet 0
Decorate 171(g_tTexcdi4a) DescriptorSet 0
Decorate 174(g_tTexcdu4a) DescriptorSet 0
Decorate 143(g_tTex3df4) DescriptorSet 0
Decorate 146(g_tTex3di4) DescriptorSet 0
Decorate 149(g_tTex3du4) DescriptorSet 0
Decorate 152(g_tTex1df4a) DescriptorSet 0
Decorate 155(g_tTex1di4a) DescriptorSet 0
Decorate 158(g_tTex1du4a) DescriptorSet 0
Decorate 161(g_tTex2df4a) DescriptorSet 0
Decorate 164(g_tTex2di4a) DescriptorSet 0
Decorate 167(g_tTex2du4a) DescriptorSet 0
Decorate 170(g_tTexcdf4a) DescriptorSet 0
Decorate 173(g_tTexcdi4a) DescriptorSet 0
Decorate 176(g_tTexcdu4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -477,42 +484,44 @@ gl_FragCoord origin is upper left
132: 126(fvec4) ConstantComposite 131 131 131 131
133: TypePointer Function 126(fvec4)
135: 25(int) Constant 1
139: TypeImage 6(float) 3D sampled format:Unknown
140: TypePointer UniformConstant 139
141(g_tTex3df4): 140(ptr) Variable UniformConstant
142: TypeImage 25(int) 3D sampled format:Unknown
143: TypePointer UniformConstant 142
144(g_tTex3di4): 143(ptr) Variable UniformConstant
145: TypeImage 37(int) 3D sampled format:Unknown
146: TypePointer UniformConstant 145
147(g_tTex3du4): 146(ptr) Variable UniformConstant
148: TypeImage 6(float) 1D array sampled format:Unknown
149: TypePointer UniformConstant 148
150(g_tTex1df4a): 149(ptr) Variable UniformConstant
151: TypeImage 25(int) 1D array sampled format:Unknown
152: TypePointer UniformConstant 151
153(g_tTex1di4a): 152(ptr) Variable UniformConstant
154: TypeImage 37(int) 1D array sampled format:Unknown
155: TypePointer UniformConstant 154
156(g_tTex1du4a): 155(ptr) Variable UniformConstant
157: TypeImage 6(float) 2D array sampled format:Unknown
158: TypePointer UniformConstant 157
159(g_tTex2df4a): 158(ptr) Variable UniformConstant
160: TypeImage 25(int) 2D array sampled format:Unknown
161: TypePointer UniformConstant 160
162(g_tTex2di4a): 161(ptr) Variable UniformConstant
163: TypeImage 37(int) 2D array sampled format:Unknown
164: TypePointer UniformConstant 163
165(g_tTex2du4a): 164(ptr) Variable UniformConstant
166: TypeImage 6(float) Cube array sampled format:Unknown
167: TypePointer UniformConstant 166
168(g_tTexcdf4a): 167(ptr) Variable UniformConstant
169: TypeImage 25(int) Cube array sampled format:Unknown
170: TypePointer UniformConstant 169
171(g_tTexcdi4a): 170(ptr) Variable UniformConstant
172: TypeImage 37(int) Cube array sampled format:Unknown
173: TypePointer UniformConstant 172
174(g_tTexcdu4a): 173(ptr) Variable UniformConstant
137: TypePointer Output 127(PS_OUTPUT)
138(@entryPointOutput): 137(ptr) Variable Output
141: TypeImage 6(float) 3D sampled format:Unknown
142: TypePointer UniformConstant 141
143(g_tTex3df4): 142(ptr) Variable UniformConstant
144: TypeImage 25(int) 3D sampled format:Unknown
145: TypePointer UniformConstant 144
146(g_tTex3di4): 145(ptr) Variable UniformConstant
147: TypeImage 37(int) 3D sampled format:Unknown
148: TypePointer UniformConstant 147
149(g_tTex3du4): 148(ptr) Variable UniformConstant
150: TypeImage 6(float) 1D array sampled format:Unknown
151: TypePointer UniformConstant 150
152(g_tTex1df4a): 151(ptr) Variable UniformConstant
153: TypeImage 25(int) 1D array sampled format:Unknown
154: TypePointer UniformConstant 153
155(g_tTex1di4a): 154(ptr) Variable UniformConstant
156: TypeImage 37(int) 1D array sampled format:Unknown
157: TypePointer UniformConstant 156
158(g_tTex1du4a): 157(ptr) Variable UniformConstant
159: TypeImage 6(float) 2D array sampled format:Unknown
160: TypePointer UniformConstant 159
161(g_tTex2df4a): 160(ptr) Variable UniformConstant
162: TypeImage 25(int) 2D array sampled format:Unknown
163: TypePointer UniformConstant 162
164(g_tTex2di4a): 163(ptr) Variable UniformConstant
165: TypeImage 37(int) 2D array sampled format:Unknown
166: TypePointer UniformConstant 165
167(g_tTex2du4a): 166(ptr) Variable UniformConstant
168: TypeImage 6(float) Cube array sampled format:Unknown
169: TypePointer UniformConstant 168
170(g_tTexcdf4a): 169(ptr) Variable UniformConstant
171: TypeImage 25(int) Cube array sampled format:Unknown
172: TypePointer UniformConstant 171
173(g_tTexcdi4a): 172(ptr) Variable UniformConstant
174: TypeImage 37(int) Cube array sampled format:Unknown
175: TypePointer UniformConstant 174
176(g_tTexcdu4a): 175(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
8(r00): 7(ptr) Variable Function
@ -589,6 +598,7 @@ gl_FragCoord origin is upper left
Store 134 132
136: 7(ptr) AccessChain 129(psout) 135
Store 136 131
137:127(PS_OUTPUT) Load 129(psout)
ReturnValue 137
139:127(PS_OUTPUT) Load 129(psout)
Store 138(@entryPointOutput) 139
Return
FunctionEnd

View File

@ -112,8 +112,11 @@ gl_FragCoord origin is upper left
0:63 1 (const int)
0:63 Constant:
0:63 1.000000
0:65 Branch: Return with expression
0:65 Sequence
0:65 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:65 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:65 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -255,8 +258,11 @@ gl_FragCoord origin is upper left
0:63 1 (const int)
0:63 Constant:
0:63 1.000000
0:65 Branch: Return with expression
0:65 Sequence
0:65 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:65 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:65 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -283,14 +289,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 149
// Id's are bound by 151
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 103
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 8 "r01"
@ -310,21 +316,22 @@ gl_FragCoord origin is upper left
MemberName 92(PS_OUTPUT) 0 "Color"
MemberName 92(PS_OUTPUT) 1 "Depth"
Name 94 "psout"
Name 106 "g_tTex3df4"
Name 109 "g_tTex3di4"
Name 112 "g_tTex3du4"
Name 115 "g_tTexcdf4"
Name 118 "g_tTexcdi4"
Name 121 "g_tTexcdu4"
Name 124 "g_tTex1df4a"
Name 127 "g_tTex1di4a"
Name 130 "g_tTex1du4a"
Name 133 "g_tTex2df4a"
Name 136 "g_tTex2di4a"
Name 139 "g_tTex2du4a"
Name 142 "g_tTexcdf4a"
Name 145 "g_tTexcdi4a"
Name 148 "g_tTexcdu4a"
Name 103 "@entryPointOutput"
Name 108 "g_tTex3df4"
Name 111 "g_tTex3di4"
Name 114 "g_tTex3du4"
Name 117 "g_tTexcdf4"
Name 120 "g_tTexcdi4"
Name 123 "g_tTexcdu4"
Name 126 "g_tTex1df4a"
Name 129 "g_tTex1di4a"
Name 132 "g_tTex1du4a"
Name 135 "g_tTex2df4a"
Name 138 "g_tTex2di4a"
Name 141 "g_tTex2du4a"
Name 144 "g_tTexcdf4a"
Name 147 "g_tTexcdi4a"
Name 150 "g_tTexcdu4a"
Decorate 11(g_tTex1df4) DescriptorSet 0
Decorate 11(g_tTex1df4) Binding 0
Decorate 15(g_sSamp) DescriptorSet 0
@ -335,21 +342,21 @@ gl_FragCoord origin is upper left
Decorate 70(g_tTex2di4) DescriptorSet 0
Decorate 82(g_tTex2du4) DescriptorSet 0
MemberDecorate 92(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 106(g_tTex3df4) DescriptorSet 0
Decorate 109(g_tTex3di4) DescriptorSet 0
Decorate 112(g_tTex3du4) DescriptorSet 0
Decorate 115(g_tTexcdf4) DescriptorSet 0
Decorate 118(g_tTexcdi4) DescriptorSet 0
Decorate 121(g_tTexcdu4) DescriptorSet 0
Decorate 124(g_tTex1df4a) DescriptorSet 0
Decorate 127(g_tTex1di4a) DescriptorSet 0
Decorate 130(g_tTex1du4a) DescriptorSet 0
Decorate 133(g_tTex2df4a) DescriptorSet 0
Decorate 136(g_tTex2di4a) DescriptorSet 0
Decorate 139(g_tTex2du4a) DescriptorSet 0
Decorate 142(g_tTexcdf4a) DescriptorSet 0
Decorate 145(g_tTexcdi4a) DescriptorSet 0
Decorate 148(g_tTexcdu4a) DescriptorSet 0
Decorate 108(g_tTex3df4) DescriptorSet 0
Decorate 111(g_tTex3di4) DescriptorSet 0
Decorate 114(g_tTex3du4) DescriptorSet 0
Decorate 117(g_tTexcdf4) DescriptorSet 0
Decorate 120(g_tTexcdi4) DescriptorSet 0
Decorate 123(g_tTexcdu4) DescriptorSet 0
Decorate 126(g_tTex1df4a) DescriptorSet 0
Decorate 129(g_tTex1di4a) DescriptorSet 0
Decorate 132(g_tTex1du4a) DescriptorSet 0
Decorate 135(g_tTex2df4a) DescriptorSet 0
Decorate 138(g_tTex2di4a) DescriptorSet 0
Decorate 141(g_tTex2du4a) DescriptorSet 0
Decorate 144(g_tTexcdf4a) DescriptorSet 0
Decorate 147(g_tTexcdi4a) DescriptorSet 0
Decorate 150(g_tTexcdu4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -406,51 +413,53 @@ gl_FragCoord origin is upper left
97: 91(fvec4) ConstantComposite 96 96 96 96
98: TypePointer Function 91(fvec4)
100: 22(int) Constant 1
104: TypeImage 6(float) 3D sampled format:Unknown
105: TypePointer UniformConstant 104
106(g_tTex3df4): 105(ptr) Variable UniformConstant
107: TypeImage 22(int) 3D sampled format:Unknown
108: TypePointer UniformConstant 107
109(g_tTex3di4): 108(ptr) Variable UniformConstant
110: TypeImage 38(int) 3D sampled format:Unknown
111: TypePointer UniformConstant 110
112(g_tTex3du4): 111(ptr) Variable UniformConstant
113: TypeImage 6(float) Cube sampled format:Unknown
114: TypePointer UniformConstant 113
115(g_tTexcdf4): 114(ptr) Variable UniformConstant
116: TypeImage 22(int) Cube sampled format:Unknown
117: TypePointer UniformConstant 116
118(g_tTexcdi4): 117(ptr) Variable UniformConstant
119: TypeImage 38(int) Cube sampled format:Unknown
120: TypePointer UniformConstant 119
121(g_tTexcdu4): 120(ptr) Variable UniformConstant
122: TypeImage 6(float) 1D array sampled format:Unknown
123: TypePointer UniformConstant 122
124(g_tTex1df4a): 123(ptr) Variable UniformConstant
125: TypeImage 22(int) 1D array sampled format:Unknown
126: TypePointer UniformConstant 125
127(g_tTex1di4a): 126(ptr) Variable UniformConstant
128: TypeImage 38(int) 1D array sampled format:Unknown
129: TypePointer UniformConstant 128
130(g_tTex1du4a): 129(ptr) Variable UniformConstant
131: TypeImage 6(float) 2D array sampled format:Unknown
132: TypePointer UniformConstant 131
133(g_tTex2df4a): 132(ptr) Variable UniformConstant
134: TypeImage 22(int) 2D array sampled format:Unknown
135: TypePointer UniformConstant 134
136(g_tTex2di4a): 135(ptr) Variable UniformConstant
137: TypeImage 38(int) 2D array sampled format:Unknown
138: TypePointer UniformConstant 137
139(g_tTex2du4a): 138(ptr) Variable UniformConstant
140: TypeImage 6(float) Cube array sampled format:Unknown
141: TypePointer UniformConstant 140
142(g_tTexcdf4a): 141(ptr) Variable UniformConstant
143: TypeImage 22(int) Cube array sampled format:Unknown
144: TypePointer UniformConstant 143
145(g_tTexcdi4a): 144(ptr) Variable UniformConstant
146: TypeImage 38(int) Cube array sampled format:Unknown
147: TypePointer UniformConstant 146
148(g_tTexcdu4a): 147(ptr) Variable UniformConstant
102: TypePointer Output 92(PS_OUTPUT)
103(@entryPointOutput): 102(ptr) Variable Output
106: TypeImage 6(float) 3D sampled format:Unknown
107: TypePointer UniformConstant 106
108(g_tTex3df4): 107(ptr) Variable UniformConstant
109: TypeImage 22(int) 3D sampled format:Unknown
110: TypePointer UniformConstant 109
111(g_tTex3di4): 110(ptr) Variable UniformConstant
112: TypeImage 38(int) 3D sampled format:Unknown
113: TypePointer UniformConstant 112
114(g_tTex3du4): 113(ptr) Variable UniformConstant
115: TypeImage 6(float) Cube sampled format:Unknown
116: TypePointer UniformConstant 115
117(g_tTexcdf4): 116(ptr) Variable UniformConstant
118: TypeImage 22(int) Cube sampled format:Unknown
119: TypePointer UniformConstant 118
120(g_tTexcdi4): 119(ptr) Variable UniformConstant
121: TypeImage 38(int) Cube sampled format:Unknown
122: TypePointer UniformConstant 121
123(g_tTexcdu4): 122(ptr) Variable UniformConstant
124: TypeImage 6(float) 1D array sampled format:Unknown
125: TypePointer UniformConstant 124
126(g_tTex1df4a): 125(ptr) Variable UniformConstant
127: TypeImage 22(int) 1D array sampled format:Unknown
128: TypePointer UniformConstant 127
129(g_tTex1di4a): 128(ptr) Variable UniformConstant
130: TypeImage 38(int) 1D array sampled format:Unknown
131: TypePointer UniformConstant 130
132(g_tTex1du4a): 131(ptr) Variable UniformConstant
133: TypeImage 6(float) 2D array sampled format:Unknown
134: TypePointer UniformConstant 133
135(g_tTex2df4a): 134(ptr) Variable UniformConstant
136: TypeImage 22(int) 2D array sampled format:Unknown
137: TypePointer UniformConstant 136
138(g_tTex2di4a): 137(ptr) Variable UniformConstant
139: TypeImage 38(int) 2D array sampled format:Unknown
140: TypePointer UniformConstant 139
141(g_tTex2du4a): 140(ptr) Variable UniformConstant
142: TypeImage 6(float) Cube array sampled format:Unknown
143: TypePointer UniformConstant 142
144(g_tTexcdf4a): 143(ptr) Variable UniformConstant
145: TypeImage 22(int) Cube array sampled format:Unknown
146: TypePointer UniformConstant 145
147(g_tTexcdi4a): 146(ptr) Variable UniformConstant
148: TypeImage 38(int) Cube array sampled format:Unknown
149: TypePointer UniformConstant 148
150(g_tTexcdu4a): 149(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
8(r01): 7(ptr) Variable Function
@ -503,6 +512,7 @@ gl_FragCoord origin is upper left
Store 99 97
101: 7(ptr) AccessChain 94(psout) 100
Store 101 96
102:92(PS_OUTPUT) Load 94(psout)
ReturnValue 102
104:92(PS_OUTPUT) Load 94(psout)
Store 103(@entryPointOutput) 104
Return
FunctionEnd

View File

@ -118,8 +118,11 @@ gl_FragCoord origin is upper left
0:64 1 (const int)
0:64 Constant:
0:64 1.000000
0:66 Branch: Return with expression
0:66 Sequence
0:66 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:66 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:66 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -267,8 +270,11 @@ gl_FragCoord origin is upper left
0:64 1 (const int)
0:64 Constant:
0:64 1.000000
0:66 Branch: Return with expression
0:66 Sequence
0:66 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:66 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:66 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -295,14 +301,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 155
// Id's are bound by 157
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 109
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 8 "r11"
@ -322,21 +328,22 @@ gl_FragCoord origin is upper left
MemberName 98(PS_OUTPUT) 0 "Color"
MemberName 98(PS_OUTPUT) 1 "Depth"
Name 100 "psout"
Name 112 "g_tTex1df4"
Name 115 "g_tTex1di4"
Name 118 "g_tTex1du4"
Name 121 "g_tTex2df4"
Name 124 "g_tTex2di4"
Name 127 "g_tTex2du4"
Name 130 "g_tTex3df4"
Name 133 "g_tTex3di4"
Name 136 "g_tTex3du4"
Name 139 "g_tTexcdf4"
Name 142 "g_tTexcdi4"
Name 145 "g_tTexcdu4"
Name 148 "g_tTexcdf4a"
Name 151 "g_tTexcdi4a"
Name 154 "g_tTexcdu4a"
Name 109 "@entryPointOutput"
Name 114 "g_tTex1df4"
Name 117 "g_tTex1di4"
Name 120 "g_tTex1du4"
Name 123 "g_tTex2df4"
Name 126 "g_tTex2di4"
Name 129 "g_tTex2du4"
Name 132 "g_tTex3df4"
Name 135 "g_tTex3di4"
Name 138 "g_tTex3du4"
Name 141 "g_tTexcdf4"
Name 144 "g_tTexcdi4"
Name 147 "g_tTexcdu4"
Name 150 "g_tTexcdf4a"
Name 153 "g_tTexcdi4a"
Name 156 "g_tTexcdu4a"
Decorate 11(g_tTex1df4a) DescriptorSet 0
Decorate 15(g_sSamp) DescriptorSet 0
Decorate 15(g_sSamp) Binding 0
@ -346,22 +353,22 @@ gl_FragCoord origin is upper left
Decorate 76(g_tTex2di4a) DescriptorSet 0
Decorate 88(g_tTex2du4a) DescriptorSet 0
MemberDecorate 98(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 112(g_tTex1df4) DescriptorSet 0
Decorate 112(g_tTex1df4) Binding 0
Decorate 115(g_tTex1di4) DescriptorSet 0
Decorate 118(g_tTex1du4) DescriptorSet 0
Decorate 121(g_tTex2df4) DescriptorSet 0
Decorate 124(g_tTex2di4) DescriptorSet 0
Decorate 127(g_tTex2du4) DescriptorSet 0
Decorate 130(g_tTex3df4) DescriptorSet 0
Decorate 133(g_tTex3di4) DescriptorSet 0
Decorate 136(g_tTex3du4) DescriptorSet 0
Decorate 139(g_tTexcdf4) DescriptorSet 0
Decorate 142(g_tTexcdi4) DescriptorSet 0
Decorate 145(g_tTexcdu4) DescriptorSet 0
Decorate 148(g_tTexcdf4a) DescriptorSet 0
Decorate 151(g_tTexcdi4a) DescriptorSet 0
Decorate 154(g_tTexcdu4a) DescriptorSet 0
Decorate 114(g_tTex1df4) DescriptorSet 0
Decorate 114(g_tTex1df4) Binding 0
Decorate 117(g_tTex1di4) DescriptorSet 0
Decorate 120(g_tTex1du4) DescriptorSet 0
Decorate 123(g_tTex2df4) DescriptorSet 0
Decorate 126(g_tTex2di4) DescriptorSet 0
Decorate 129(g_tTex2du4) DescriptorSet 0
Decorate 132(g_tTex3df4) DescriptorSet 0
Decorate 135(g_tTex3di4) DescriptorSet 0
Decorate 138(g_tTex3du4) DescriptorSet 0
Decorate 141(g_tTexcdf4) DescriptorSet 0
Decorate 144(g_tTexcdi4) DescriptorSet 0
Decorate 147(g_tTexcdu4) DescriptorSet 0
Decorate 150(g_tTexcdf4a) DescriptorSet 0
Decorate 153(g_tTexcdi4a) DescriptorSet 0
Decorate 156(g_tTexcdu4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -421,51 +428,53 @@ gl_FragCoord origin is upper left
103: 97(fvec4) ConstantComposite 102 102 102 102
104: TypePointer Function 97(fvec4)
106: 26(int) Constant 1
110: TypeImage 6(float) 1D sampled format:Unknown
111: TypePointer UniformConstant 110
112(g_tTex1df4): 111(ptr) Variable UniformConstant
113: TypeImage 26(int) 1D sampled format:Unknown
114: TypePointer UniformConstant 113
115(g_tTex1di4): 114(ptr) Variable UniformConstant
116: TypeImage 43(int) 1D sampled format:Unknown
117: TypePointer UniformConstant 116
118(g_tTex1du4): 117(ptr) Variable UniformConstant
119: TypeImage 6(float) 2D sampled format:Unknown
120: TypePointer UniformConstant 119
121(g_tTex2df4): 120(ptr) Variable UniformConstant
122: TypeImage 26(int) 2D sampled format:Unknown
123: TypePointer UniformConstant 122
124(g_tTex2di4): 123(ptr) Variable UniformConstant
125: TypeImage 43(int) 2D sampled format:Unknown
126: TypePointer UniformConstant 125
127(g_tTex2du4): 126(ptr) Variable UniformConstant
128: TypeImage 6(float) 3D sampled format:Unknown
129: TypePointer UniformConstant 128
130(g_tTex3df4): 129(ptr) Variable UniformConstant
131: TypeImage 26(int) 3D sampled format:Unknown
132: TypePointer UniformConstant 131
133(g_tTex3di4): 132(ptr) Variable UniformConstant
134: TypeImage 43(int) 3D sampled format:Unknown
135: TypePointer UniformConstant 134
136(g_tTex3du4): 135(ptr) Variable UniformConstant
137: TypeImage 6(float) Cube sampled format:Unknown
138: TypePointer UniformConstant 137
139(g_tTexcdf4): 138(ptr) Variable UniformConstant
140: TypeImage 26(int) Cube sampled format:Unknown
141: TypePointer UniformConstant 140
142(g_tTexcdi4): 141(ptr) Variable UniformConstant
143: TypeImage 43(int) Cube sampled format:Unknown
144: TypePointer UniformConstant 143
145(g_tTexcdu4): 144(ptr) Variable UniformConstant
146: TypeImage 6(float) Cube array sampled format:Unknown
147: TypePointer UniformConstant 146
148(g_tTexcdf4a): 147(ptr) Variable UniformConstant
149: TypeImage 26(int) Cube array sampled format:Unknown
150: TypePointer UniformConstant 149
151(g_tTexcdi4a): 150(ptr) Variable UniformConstant
152: TypeImage 43(int) Cube array sampled format:Unknown
153: TypePointer UniformConstant 152
154(g_tTexcdu4a): 153(ptr) Variable UniformConstant
108: TypePointer Output 98(PS_OUTPUT)
109(@entryPointOutput): 108(ptr) Variable Output
112: TypeImage 6(float) 1D sampled format:Unknown
113: TypePointer UniformConstant 112
114(g_tTex1df4): 113(ptr) Variable UniformConstant
115: TypeImage 26(int) 1D sampled format:Unknown
116: TypePointer UniformConstant 115
117(g_tTex1di4): 116(ptr) Variable UniformConstant
118: TypeImage 43(int) 1D sampled format:Unknown
119: TypePointer UniformConstant 118
120(g_tTex1du4): 119(ptr) Variable UniformConstant
121: TypeImage 6(float) 2D sampled format:Unknown
122: TypePointer UniformConstant 121
123(g_tTex2df4): 122(ptr) Variable UniformConstant
124: TypeImage 26(int) 2D sampled format:Unknown
125: TypePointer UniformConstant 124
126(g_tTex2di4): 125(ptr) Variable UniformConstant
127: TypeImage 43(int) 2D sampled format:Unknown
128: TypePointer UniformConstant 127
129(g_tTex2du4): 128(ptr) Variable UniformConstant
130: TypeImage 6(float) 3D sampled format:Unknown
131: TypePointer UniformConstant 130
132(g_tTex3df4): 131(ptr) Variable UniformConstant
133: TypeImage 26(int) 3D sampled format:Unknown
134: TypePointer UniformConstant 133
135(g_tTex3di4): 134(ptr) Variable UniformConstant
136: TypeImage 43(int) 3D sampled format:Unknown
137: TypePointer UniformConstant 136
138(g_tTex3du4): 137(ptr) Variable UniformConstant
139: TypeImage 6(float) Cube sampled format:Unknown
140: TypePointer UniformConstant 139
141(g_tTexcdf4): 140(ptr) Variable UniformConstant
142: TypeImage 26(int) Cube sampled format:Unknown
143: TypePointer UniformConstant 142
144(g_tTexcdi4): 143(ptr) Variable UniformConstant
145: TypeImage 43(int) Cube sampled format:Unknown
146: TypePointer UniformConstant 145
147(g_tTexcdu4): 146(ptr) Variable UniformConstant
148: TypeImage 6(float) Cube array sampled format:Unknown
149: TypePointer UniformConstant 148
150(g_tTexcdf4a): 149(ptr) Variable UniformConstant
151: TypeImage 26(int) Cube array sampled format:Unknown
152: TypePointer UniformConstant 151
153(g_tTexcdi4a): 152(ptr) Variable UniformConstant
154: TypeImage 43(int) Cube array sampled format:Unknown
155: TypePointer UniformConstant 154
156(g_tTexcdu4a): 155(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
8(r11): 7(ptr) Variable Function
@ -521,6 +530,7 @@ gl_FragCoord origin is upper left
Store 105 103
107: 7(ptr) AccessChain 100(psout) 106
Store 107 102
108:98(PS_OUTPUT) Load 100(psout)
ReturnValue 108
110:98(PS_OUTPUT) Load 100(psout)
Store 109(@entryPointOutput) 110
Return
FunctionEnd

View File

@ -166,8 +166,11 @@ gl_FragCoord origin is upper left
0:57 1 (const int)
0:57 Constant:
0:57 1.000000
0:59 Branch: Return with expression
0:59 Sequence
0:59 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:59 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:59 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -363,8 +366,11 @@ gl_FragCoord origin is upper left
0:57 1 (const int)
0:57 Constant:
0:57 1.000000
0:59 Branch: Return with expression
0:59 Sequence
0:59 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:59 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:59 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -391,14 +397,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 178
// Id's are bound by 180
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 141
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 8 "r10"
@ -424,18 +430,19 @@ gl_FragCoord origin is upper left
MemberName 130(PS_OUTPUT) 0 "Color"
MemberName 130(PS_OUTPUT) 1 "Depth"
Name 132 "psout"
Name 144 "g_tTex1df4"
Name 147 "g_tTex1di4"
Name 150 "g_tTex1du4"
Name 153 "g_tTex2df4"
Name 156 "g_tTex2di4"
Name 159 "g_tTex2du4"
Name 162 "g_tTex3df4"
Name 165 "g_tTex3di4"
Name 168 "g_tTex3du4"
Name 171 "g_tTexcdf4"
Name 174 "g_tTexcdi4"
Name 177 "g_tTexcdu4"
Name 141 "@entryPointOutput"
Name 146 "g_tTex1df4"
Name 149 "g_tTex1di4"
Name 152 "g_tTex1du4"
Name 155 "g_tTex2df4"
Name 158 "g_tTex2di4"
Name 161 "g_tTex2du4"
Name 164 "g_tTex3df4"
Name 167 "g_tTex3di4"
Name 170 "g_tTex3du4"
Name 173 "g_tTexcdf4"
Name 176 "g_tTexcdi4"
Name 179 "g_tTexcdu4"
Decorate 11(g_tTex1df4a) DescriptorSet 0
Decorate 15(g_sSamp) DescriptorSet 0
Decorate 15(g_sSamp) Binding 0
@ -448,19 +455,19 @@ gl_FragCoord origin is upper left
Decorate 111(g_tTexcdi4a) DescriptorSet 0
Decorate 122(g_tTexcdu4a) DescriptorSet 0
MemberDecorate 130(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 144(g_tTex1df4) DescriptorSet 0
Decorate 144(g_tTex1df4) Binding 0
Decorate 147(g_tTex1di4) DescriptorSet 0
Decorate 150(g_tTex1du4) DescriptorSet 0
Decorate 153(g_tTex2df4) DescriptorSet 0
Decorate 156(g_tTex2di4) DescriptorSet 0
Decorate 159(g_tTex2du4) DescriptorSet 0
Decorate 162(g_tTex3df4) DescriptorSet 0
Decorate 165(g_tTex3di4) DescriptorSet 0
Decorate 168(g_tTex3du4) DescriptorSet 0
Decorate 171(g_tTexcdf4) DescriptorSet 0
Decorate 174(g_tTexcdi4) DescriptorSet 0
Decorate 177(g_tTexcdu4) DescriptorSet 0
Decorate 146(g_tTex1df4) DescriptorSet 0
Decorate 146(g_tTex1df4) Binding 0
Decorate 149(g_tTex1di4) DescriptorSet 0
Decorate 152(g_tTex1du4) DescriptorSet 0
Decorate 155(g_tTex2df4) DescriptorSet 0
Decorate 158(g_tTex2di4) DescriptorSet 0
Decorate 161(g_tTex2du4) DescriptorSet 0
Decorate 164(g_tTex3df4) DescriptorSet 0
Decorate 167(g_tTex3di4) DescriptorSet 0
Decorate 170(g_tTex3du4) DescriptorSet 0
Decorate 173(g_tTexcdf4) DescriptorSet 0
Decorate 176(g_tTexcdi4) DescriptorSet 0
Decorate 179(g_tTexcdu4) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -534,42 +541,44 @@ gl_FragCoord origin is upper left
135: 103(fvec4) ConstantComposite 134 134 134 134
136: TypePointer Function 103(fvec4)
138: 30(int) Constant 1
142: TypeImage 6(float) 1D sampled format:Unknown
143: TypePointer UniformConstant 142
144(g_tTex1df4): 143(ptr) Variable UniformConstant
145: TypeImage 30(int) 1D sampled format:Unknown
146: TypePointer UniformConstant 145
147(g_tTex1di4): 146(ptr) Variable UniformConstant
148: TypeImage 43(int) 1D sampled format:Unknown
149: TypePointer UniformConstant 148
150(g_tTex1du4): 149(ptr) Variable UniformConstant
151: TypeImage 6(float) 2D sampled format:Unknown
152: TypePointer UniformConstant 151
153(g_tTex2df4): 152(ptr) Variable UniformConstant
154: TypeImage 30(int) 2D sampled format:Unknown
155: TypePointer UniformConstant 154
156(g_tTex2di4): 155(ptr) Variable UniformConstant
157: TypeImage 43(int) 2D sampled format:Unknown
158: TypePointer UniformConstant 157
159(g_tTex2du4): 158(ptr) Variable UniformConstant
160: TypeImage 6(float) 3D sampled format:Unknown
161: TypePointer UniformConstant 160
162(g_tTex3df4): 161(ptr) Variable UniformConstant
163: TypeImage 30(int) 3D sampled format:Unknown
164: TypePointer UniformConstant 163
165(g_tTex3di4): 164(ptr) Variable UniformConstant
166: TypeImage 43(int) 3D sampled format:Unknown
167: TypePointer UniformConstant 166
168(g_tTex3du4): 167(ptr) Variable UniformConstant
169: TypeImage 6(float) Cube sampled format:Unknown
170: TypePointer UniformConstant 169
171(g_tTexcdf4): 170(ptr) Variable UniformConstant
172: TypeImage 30(int) Cube sampled format:Unknown
173: TypePointer UniformConstant 172
174(g_tTexcdi4): 173(ptr) Variable UniformConstant
175: TypeImage 43(int) Cube sampled format:Unknown
176: TypePointer UniformConstant 175
177(g_tTexcdu4): 176(ptr) Variable UniformConstant
140: TypePointer Output 130(PS_OUTPUT)
141(@entryPointOutput): 140(ptr) Variable Output
144: TypeImage 6(float) 1D sampled format:Unknown
145: TypePointer UniformConstant 144
146(g_tTex1df4): 145(ptr) Variable UniformConstant
147: TypeImage 30(int) 1D sampled format:Unknown
148: TypePointer UniformConstant 147
149(g_tTex1di4): 148(ptr) Variable UniformConstant
150: TypeImage 43(int) 1D sampled format:Unknown
151: TypePointer UniformConstant 150
152(g_tTex1du4): 151(ptr) Variable UniformConstant
153: TypeImage 6(float) 2D sampled format:Unknown
154: TypePointer UniformConstant 153
155(g_tTex2df4): 154(ptr) Variable UniformConstant
156: TypeImage 30(int) 2D sampled format:Unknown
157: TypePointer UniformConstant 156
158(g_tTex2di4): 157(ptr) Variable UniformConstant
159: TypeImage 43(int) 2D sampled format:Unknown
160: TypePointer UniformConstant 159
161(g_tTex2du4): 160(ptr) Variable UniformConstant
162: TypeImage 6(float) 3D sampled format:Unknown
163: TypePointer UniformConstant 162
164(g_tTex3df4): 163(ptr) Variable UniformConstant
165: TypeImage 30(int) 3D sampled format:Unknown
166: TypePointer UniformConstant 165
167(g_tTex3di4): 166(ptr) Variable UniformConstant
168: TypeImage 43(int) 3D sampled format:Unknown
169: TypePointer UniformConstant 168
170(g_tTex3du4): 169(ptr) Variable UniformConstant
171: TypeImage 6(float) Cube sampled format:Unknown
172: TypePointer UniformConstant 171
173(g_tTexcdf4): 172(ptr) Variable UniformConstant
174: TypeImage 30(int) Cube sampled format:Unknown
175: TypePointer UniformConstant 174
176(g_tTexcdi4): 175(ptr) Variable UniformConstant
177: TypeImage 43(int) Cube sampled format:Unknown
178: TypePointer UniformConstant 177
179(g_tTexcdu4): 178(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
8(r10): 7(ptr) Variable Function
@ -646,6 +655,7 @@ gl_FragCoord origin is upper left
Store 137 135
139: 7(ptr) AccessChain 132(psout) 138
Store 139 134
140:130(PS_OUTPUT) Load 132(psout)
ReturnValue 140
142:130(PS_OUTPUT) Load 132(psout)
Store 141(@entryPointOutput) 142
Return
FunctionEnd

View File

@ -157,8 +157,11 @@ gl_FragCoord origin is upper left
0:58 1 (const int)
0:58 Constant:
0:58 1.000000
0:60 Branch: Return with expression
0:60 Sequence
0:60 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:60 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:60 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -345,8 +348,11 @@ gl_FragCoord origin is upper left
0:58 1 (const int)
0:58 Constant:
0:58 1.000000
0:60 Branch: Return with expression
0:60 Sequence
0:60 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:60 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:60 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -373,14 +379,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 176
// Id's are bound by 178
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 139
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 8 "r00"
@ -406,18 +412,19 @@ gl_FragCoord origin is upper left
MemberName 128(PS_OUTPUT) 0 "Color"
MemberName 128(PS_OUTPUT) 1 "Depth"
Name 130 "psout"
Name 142 "g_tTex3df4"
Name 145 "g_tTex3di4"
Name 148 "g_tTex3du4"
Name 151 "g_tTex1df4a"
Name 154 "g_tTex1di4a"
Name 157 "g_tTex1du4a"
Name 160 "g_tTex2df4a"
Name 163 "g_tTex2di4a"
Name 166 "g_tTex2du4a"
Name 169 "g_tTexcdf4a"
Name 172 "g_tTexcdi4a"
Name 175 "g_tTexcdu4a"
Name 139 "@entryPointOutput"
Name 144 "g_tTex3df4"
Name 147 "g_tTex3di4"
Name 150 "g_tTex3du4"
Name 153 "g_tTex1df4a"
Name 156 "g_tTex1di4a"
Name 159 "g_tTex1du4a"
Name 162 "g_tTex2df4a"
Name 165 "g_tTex2di4a"
Name 168 "g_tTex2du4a"
Name 171 "g_tTexcdf4a"
Name 174 "g_tTexcdi4a"
Name 177 "g_tTexcdu4a"
Decorate 11(g_tTex1df4) DescriptorSet 0
Decorate 11(g_tTex1df4) Binding 0
Decorate 15(g_sSamp) DescriptorSet 0
@ -431,18 +438,18 @@ gl_FragCoord origin is upper left
Decorate 106(g_tTexcdi4) DescriptorSet 0
Decorate 118(g_tTexcdu4) DescriptorSet 0
MemberDecorate 128(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 142(g_tTex3df4) DescriptorSet 0
Decorate 145(g_tTex3di4) DescriptorSet 0
Decorate 148(g_tTex3du4) DescriptorSet 0
Decorate 151(g_tTex1df4a) DescriptorSet 0
Decorate 154(g_tTex1di4a) DescriptorSet 0
Decorate 157(g_tTex1du4a) DescriptorSet 0
Decorate 160(g_tTex2df4a) DescriptorSet 0
Decorate 163(g_tTex2di4a) DescriptorSet 0
Decorate 166(g_tTex2du4a) DescriptorSet 0
Decorate 169(g_tTexcdf4a) DescriptorSet 0
Decorate 172(g_tTexcdi4a) DescriptorSet 0
Decorate 175(g_tTexcdu4a) DescriptorSet 0
Decorate 144(g_tTex3df4) DescriptorSet 0
Decorate 147(g_tTex3di4) DescriptorSet 0
Decorate 150(g_tTex3du4) DescriptorSet 0
Decorate 153(g_tTex1df4a) DescriptorSet 0
Decorate 156(g_tTex1di4a) DescriptorSet 0
Decorate 159(g_tTex1du4a) DescriptorSet 0
Decorate 162(g_tTex2df4a) DescriptorSet 0
Decorate 165(g_tTex2di4a) DescriptorSet 0
Decorate 168(g_tTex2du4a) DescriptorSet 0
Decorate 171(g_tTexcdf4a) DescriptorSet 0
Decorate 174(g_tTexcdi4a) DescriptorSet 0
Decorate 177(g_tTexcdu4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -514,42 +521,44 @@ gl_FragCoord origin is upper left
133: 127(fvec4) ConstantComposite 132 132 132 132
134: TypePointer Function 127(fvec4)
136: 26(int) Constant 1
140: TypeImage 6(float) 3D sampled format:Unknown
141: TypePointer UniformConstant 140
142(g_tTex3df4): 141(ptr) Variable UniformConstant
143: TypeImage 26(int) 3D sampled format:Unknown
144: TypePointer UniformConstant 143
145(g_tTex3di4): 144(ptr) Variable UniformConstant
146: TypeImage 38(int) 3D sampled format:Unknown
147: TypePointer UniformConstant 146
148(g_tTex3du4): 147(ptr) Variable UniformConstant
149: TypeImage 6(float) 1D array sampled format:Unknown
150: TypePointer UniformConstant 149
151(g_tTex1df4a): 150(ptr) Variable UniformConstant
152: TypeImage 26(int) 1D array sampled format:Unknown
153: TypePointer UniformConstant 152
154(g_tTex1di4a): 153(ptr) Variable UniformConstant
155: TypeImage 38(int) 1D array sampled format:Unknown
156: TypePointer UniformConstant 155
157(g_tTex1du4a): 156(ptr) Variable UniformConstant
158: TypeImage 6(float) 2D array sampled format:Unknown
159: TypePointer UniformConstant 158
160(g_tTex2df4a): 159(ptr) Variable UniformConstant
161: TypeImage 26(int) 2D array sampled format:Unknown
162: TypePointer UniformConstant 161
163(g_tTex2di4a): 162(ptr) Variable UniformConstant
164: TypeImage 38(int) 2D array sampled format:Unknown
165: TypePointer UniformConstant 164
166(g_tTex2du4a): 165(ptr) Variable UniformConstant
167: TypeImage 6(float) Cube array sampled format:Unknown
168: TypePointer UniformConstant 167
169(g_tTexcdf4a): 168(ptr) Variable UniformConstant
170: TypeImage 26(int) Cube array sampled format:Unknown
171: TypePointer UniformConstant 170
172(g_tTexcdi4a): 171(ptr) Variable UniformConstant
173: TypeImage 38(int) Cube array sampled format:Unknown
174: TypePointer UniformConstant 173
175(g_tTexcdu4a): 174(ptr) Variable UniformConstant
138: TypePointer Output 128(PS_OUTPUT)
139(@entryPointOutput): 138(ptr) Variable Output
142: TypeImage 6(float) 3D sampled format:Unknown
143: TypePointer UniformConstant 142
144(g_tTex3df4): 143(ptr) Variable UniformConstant
145: TypeImage 26(int) 3D sampled format:Unknown
146: TypePointer UniformConstant 145
147(g_tTex3di4): 146(ptr) Variable UniformConstant
148: TypeImage 38(int) 3D sampled format:Unknown
149: TypePointer UniformConstant 148
150(g_tTex3du4): 149(ptr) Variable UniformConstant
151: TypeImage 6(float) 1D array sampled format:Unknown
152: TypePointer UniformConstant 151
153(g_tTex1df4a): 152(ptr) Variable UniformConstant
154: TypeImage 26(int) 1D array sampled format:Unknown
155: TypePointer UniformConstant 154
156(g_tTex1di4a): 155(ptr) Variable UniformConstant
157: TypeImage 38(int) 1D array sampled format:Unknown
158: TypePointer UniformConstant 157
159(g_tTex1du4a): 158(ptr) Variable UniformConstant
160: TypeImage 6(float) 2D array sampled format:Unknown
161: TypePointer UniformConstant 160
162(g_tTex2df4a): 161(ptr) Variable UniformConstant
163: TypeImage 26(int) 2D array sampled format:Unknown
164: TypePointer UniformConstant 163
165(g_tTex2di4a): 164(ptr) Variable UniformConstant
166: TypeImage 38(int) 2D array sampled format:Unknown
167: TypePointer UniformConstant 166
168(g_tTex2du4a): 167(ptr) Variable UniformConstant
169: TypeImage 6(float) Cube array sampled format:Unknown
170: TypePointer UniformConstant 169
171(g_tTexcdf4a): 170(ptr) Variable UniformConstant
172: TypeImage 26(int) Cube array sampled format:Unknown
173: TypePointer UniformConstant 172
174(g_tTexcdi4a): 173(ptr) Variable UniformConstant
175: TypeImage 38(int) Cube array sampled format:Unknown
176: TypePointer UniformConstant 175
177(g_tTexcdu4a): 176(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
8(r00): 7(ptr) Variable Function
@ -626,6 +635,7 @@ gl_FragCoord origin is upper left
Store 135 133
137: 7(ptr) AccessChain 130(psout) 136
Store 137 132
138:128(PS_OUTPUT) Load 130(psout)
ReturnValue 138
140:128(PS_OUTPUT) Load 130(psout)
Store 139(@entryPointOutput) 140
Return
FunctionEnd

View File

@ -124,8 +124,11 @@ gl_FragCoord origin is upper left
0:63 1 (const int)
0:63 Constant:
0:63 1.000000
0:65 Branch: Return with expression
0:65 Sequence
0:65 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:65 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:65 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -279,8 +282,11 @@ gl_FragCoord origin is upper left
0:63 1 (const int)
0:63 Constant:
0:63 1.000000
0:65 Branch: Return with expression
0:65 Sequence
0:65 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:65 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:65 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -307,14 +313,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 150
// Id's are bound by 152
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 104
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 8 "r01"
@ -334,21 +340,22 @@ gl_FragCoord origin is upper left
MemberName 93(PS_OUTPUT) 0 "Color"
MemberName 93(PS_OUTPUT) 1 "Depth"
Name 95 "psout"
Name 107 "g_tTex3df4"
Name 110 "g_tTex3di4"
Name 113 "g_tTex3du4"
Name 116 "g_tTexcdf4"
Name 119 "g_tTexcdi4"
Name 122 "g_tTexcdu4"
Name 125 "g_tTex1df4a"
Name 128 "g_tTex1di4a"
Name 131 "g_tTex1du4a"
Name 134 "g_tTex2df4a"
Name 137 "g_tTex2di4a"
Name 140 "g_tTex2du4a"
Name 143 "g_tTexcdf4a"
Name 146 "g_tTexcdi4a"
Name 149 "g_tTexcdu4a"
Name 104 "@entryPointOutput"
Name 109 "g_tTex3df4"
Name 112 "g_tTex3di4"
Name 115 "g_tTex3du4"
Name 118 "g_tTexcdf4"
Name 121 "g_tTexcdi4"
Name 124 "g_tTexcdu4"
Name 127 "g_tTex1df4a"
Name 130 "g_tTex1di4a"
Name 133 "g_tTex1du4a"
Name 136 "g_tTex2df4a"
Name 139 "g_tTex2di4a"
Name 142 "g_tTex2du4a"
Name 145 "g_tTexcdf4a"
Name 148 "g_tTexcdi4a"
Name 151 "g_tTexcdu4a"
Decorate 11(g_tTex1df4) DescriptorSet 0
Decorate 11(g_tTex1df4) Binding 0
Decorate 15(g_sSamp) DescriptorSet 0
@ -359,21 +366,21 @@ gl_FragCoord origin is upper left
Decorate 71(g_tTex2di4) DescriptorSet 0
Decorate 83(g_tTex2du4) DescriptorSet 0
MemberDecorate 93(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 107(g_tTex3df4) DescriptorSet 0
Decorate 110(g_tTex3di4) DescriptorSet 0
Decorate 113(g_tTex3du4) DescriptorSet 0
Decorate 116(g_tTexcdf4) DescriptorSet 0
Decorate 119(g_tTexcdi4) DescriptorSet 0
Decorate 122(g_tTexcdu4) DescriptorSet 0
Decorate 125(g_tTex1df4a) DescriptorSet 0
Decorate 128(g_tTex1di4a) DescriptorSet 0
Decorate 131(g_tTex1du4a) DescriptorSet 0
Decorate 134(g_tTex2df4a) DescriptorSet 0
Decorate 137(g_tTex2di4a) DescriptorSet 0
Decorate 140(g_tTex2du4a) DescriptorSet 0
Decorate 143(g_tTexcdf4a) DescriptorSet 0
Decorate 146(g_tTexcdi4a) DescriptorSet 0
Decorate 149(g_tTexcdu4a) DescriptorSet 0
Decorate 109(g_tTex3df4) DescriptorSet 0
Decorate 112(g_tTex3di4) DescriptorSet 0
Decorate 115(g_tTex3du4) DescriptorSet 0
Decorate 118(g_tTexcdf4) DescriptorSet 0
Decorate 121(g_tTexcdi4) DescriptorSet 0
Decorate 124(g_tTexcdu4) DescriptorSet 0
Decorate 127(g_tTex1df4a) DescriptorSet 0
Decorate 130(g_tTex1di4a) DescriptorSet 0
Decorate 133(g_tTex1du4a) DescriptorSet 0
Decorate 136(g_tTex2df4a) DescriptorSet 0
Decorate 139(g_tTex2di4a) DescriptorSet 0
Decorate 142(g_tTex2du4a) DescriptorSet 0
Decorate 145(g_tTexcdf4a) DescriptorSet 0
Decorate 148(g_tTexcdi4a) DescriptorSet 0
Decorate 151(g_tTexcdu4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -431,51 +438,53 @@ gl_FragCoord origin is upper left
98: 92(fvec4) ConstantComposite 97 97 97 97
99: TypePointer Function 92(fvec4)
101: 23(int) Constant 1
105: TypeImage 6(float) 3D sampled format:Unknown
106: TypePointer UniformConstant 105
107(g_tTex3df4): 106(ptr) Variable UniformConstant
108: TypeImage 23(int) 3D sampled format:Unknown
109: TypePointer UniformConstant 108
110(g_tTex3di4): 109(ptr) Variable UniformConstant
111: TypeImage 39(int) 3D sampled format:Unknown
112: TypePointer UniformConstant 111
113(g_tTex3du4): 112(ptr) Variable UniformConstant
114: TypeImage 6(float) Cube sampled format:Unknown
115: TypePointer UniformConstant 114
116(g_tTexcdf4): 115(ptr) Variable UniformConstant
117: TypeImage 23(int) Cube sampled format:Unknown
118: TypePointer UniformConstant 117
119(g_tTexcdi4): 118(ptr) Variable UniformConstant
120: TypeImage 39(int) Cube sampled format:Unknown
121: TypePointer UniformConstant 120
122(g_tTexcdu4): 121(ptr) Variable UniformConstant
123: TypeImage 6(float) 1D array sampled format:Unknown
124: TypePointer UniformConstant 123
125(g_tTex1df4a): 124(ptr) Variable UniformConstant
126: TypeImage 23(int) 1D array sampled format:Unknown
127: TypePointer UniformConstant 126
128(g_tTex1di4a): 127(ptr) Variable UniformConstant
129: TypeImage 39(int) 1D array sampled format:Unknown
130: TypePointer UniformConstant 129
131(g_tTex1du4a): 130(ptr) Variable UniformConstant
132: TypeImage 6(float) 2D array sampled format:Unknown
133: TypePointer UniformConstant 132
134(g_tTex2df4a): 133(ptr) Variable UniformConstant
135: TypeImage 23(int) 2D array sampled format:Unknown
136: TypePointer UniformConstant 135
137(g_tTex2di4a): 136(ptr) Variable UniformConstant
138: TypeImage 39(int) 2D array sampled format:Unknown
139: TypePointer UniformConstant 138
140(g_tTex2du4a): 139(ptr) Variable UniformConstant
141: TypeImage 6(float) Cube array sampled format:Unknown
142: TypePointer UniformConstant 141
143(g_tTexcdf4a): 142(ptr) Variable UniformConstant
144: TypeImage 23(int) Cube array sampled format:Unknown
145: TypePointer UniformConstant 144
146(g_tTexcdi4a): 145(ptr) Variable UniformConstant
147: TypeImage 39(int) Cube array sampled format:Unknown
148: TypePointer UniformConstant 147
149(g_tTexcdu4a): 148(ptr) Variable UniformConstant
103: TypePointer Output 93(PS_OUTPUT)
104(@entryPointOutput): 103(ptr) Variable Output
107: TypeImage 6(float) 3D sampled format:Unknown
108: TypePointer UniformConstant 107
109(g_tTex3df4): 108(ptr) Variable UniformConstant
110: TypeImage 23(int) 3D sampled format:Unknown
111: TypePointer UniformConstant 110
112(g_tTex3di4): 111(ptr) Variable UniformConstant
113: TypeImage 39(int) 3D sampled format:Unknown
114: TypePointer UniformConstant 113
115(g_tTex3du4): 114(ptr) Variable UniformConstant
116: TypeImage 6(float) Cube sampled format:Unknown
117: TypePointer UniformConstant 116
118(g_tTexcdf4): 117(ptr) Variable UniformConstant
119: TypeImage 23(int) Cube sampled format:Unknown
120: TypePointer UniformConstant 119
121(g_tTexcdi4): 120(ptr) Variable UniformConstant
122: TypeImage 39(int) Cube sampled format:Unknown
123: TypePointer UniformConstant 122
124(g_tTexcdu4): 123(ptr) Variable UniformConstant
125: TypeImage 6(float) 1D array sampled format:Unknown
126: TypePointer UniformConstant 125
127(g_tTex1df4a): 126(ptr) Variable UniformConstant
128: TypeImage 23(int) 1D array sampled format:Unknown
129: TypePointer UniformConstant 128
130(g_tTex1di4a): 129(ptr) Variable UniformConstant
131: TypeImage 39(int) 1D array sampled format:Unknown
132: TypePointer UniformConstant 131
133(g_tTex1du4a): 132(ptr) Variable UniformConstant
134: TypeImage 6(float) 2D array sampled format:Unknown
135: TypePointer UniformConstant 134
136(g_tTex2df4a): 135(ptr) Variable UniformConstant
137: TypeImage 23(int) 2D array sampled format:Unknown
138: TypePointer UniformConstant 137
139(g_tTex2di4a): 138(ptr) Variable UniformConstant
140: TypeImage 39(int) 2D array sampled format:Unknown
141: TypePointer UniformConstant 140
142(g_tTex2du4a): 141(ptr) Variable UniformConstant
143: TypeImage 6(float) Cube array sampled format:Unknown
144: TypePointer UniformConstant 143
145(g_tTexcdf4a): 144(ptr) Variable UniformConstant
146: TypeImage 23(int) Cube array sampled format:Unknown
147: TypePointer UniformConstant 146
148(g_tTexcdi4a): 147(ptr) Variable UniformConstant
149: TypeImage 39(int) Cube array sampled format:Unknown
150: TypePointer UniformConstant 149
151(g_tTexcdu4a): 150(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
8(r01): 7(ptr) Variable Function
@ -528,6 +537,7 @@ gl_FragCoord origin is upper left
Store 100 98
102: 7(ptr) AccessChain 95(psout) 101
Store 102 97
103:93(PS_OUTPUT) Load 95(psout)
ReturnValue 103
105:93(PS_OUTPUT) Load 95(psout)
Store 104(@entryPointOutput) 105
Return
FunctionEnd

View File

@ -130,8 +130,11 @@ gl_FragCoord origin is upper left
0:64 1 (const int)
0:64 Constant:
0:64 1.000000
0:66 Branch: Return with expression
0:66 Sequence
0:66 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:66 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:66 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -291,8 +294,11 @@ gl_FragCoord origin is upper left
0:64 1 (const int)
0:64 Constant:
0:64 1.000000
0:66 Branch: Return with expression
0:66 Sequence
0:66 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:66 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:66 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
@ -319,14 +325,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 156
// Id's are bound by 158
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 110
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 8 "r11"
@ -346,21 +352,22 @@ gl_FragCoord origin is upper left
MemberName 99(PS_OUTPUT) 0 "Color"
MemberName 99(PS_OUTPUT) 1 "Depth"
Name 101 "psout"
Name 113 "g_tTex1df4"
Name 116 "g_tTex1di4"
Name 119 "g_tTex1du4"
Name 122 "g_tTex2df4"
Name 125 "g_tTex2di4"
Name 128 "g_tTex2du4"
Name 131 "g_tTex3df4"
Name 134 "g_tTex3di4"
Name 137 "g_tTex3du4"
Name 140 "g_tTexcdf4"
Name 143 "g_tTexcdi4"
Name 146 "g_tTexcdu4"
Name 149 "g_tTexcdf4a"
Name 152 "g_tTexcdi4a"
Name 155 "g_tTexcdu4a"
Name 110 "@entryPointOutput"
Name 115 "g_tTex1df4"
Name 118 "g_tTex1di4"
Name 121 "g_tTex1du4"
Name 124 "g_tTex2df4"
Name 127 "g_tTex2di4"
Name 130 "g_tTex2du4"
Name 133 "g_tTex3df4"
Name 136 "g_tTex3di4"
Name 139 "g_tTex3du4"
Name 142 "g_tTexcdf4"
Name 145 "g_tTexcdi4"
Name 148 "g_tTexcdu4"
Name 151 "g_tTexcdf4a"
Name 154 "g_tTexcdi4a"
Name 157 "g_tTexcdu4a"
Decorate 11(g_tTex1df4a) DescriptorSet 0
Decorate 15(g_sSamp) DescriptorSet 0
Decorate 15(g_sSamp) Binding 0
@ -370,22 +377,22 @@ gl_FragCoord origin is upper left
Decorate 77(g_tTex2di4a) DescriptorSet 0
Decorate 89(g_tTex2du4a) DescriptorSet 0
MemberDecorate 99(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 113(g_tTex1df4) DescriptorSet 0
Decorate 113(g_tTex1df4) Binding 0
Decorate 116(g_tTex1di4) DescriptorSet 0
Decorate 119(g_tTex1du4) DescriptorSet 0
Decorate 122(g_tTex2df4) DescriptorSet 0
Decorate 125(g_tTex2di4) DescriptorSet 0
Decorate 128(g_tTex2du4) DescriptorSet 0
Decorate 131(g_tTex3df4) DescriptorSet 0
Decorate 134(g_tTex3di4) DescriptorSet 0
Decorate 137(g_tTex3du4) DescriptorSet 0
Decorate 140(g_tTexcdf4) DescriptorSet 0
Decorate 143(g_tTexcdi4) DescriptorSet 0
Decorate 146(g_tTexcdu4) DescriptorSet 0
Decorate 149(g_tTexcdf4a) DescriptorSet 0
Decorate 152(g_tTexcdi4a) DescriptorSet 0
Decorate 155(g_tTexcdu4a) DescriptorSet 0
Decorate 115(g_tTex1df4) DescriptorSet 0
Decorate 115(g_tTex1df4) Binding 0
Decorate 118(g_tTex1di4) DescriptorSet 0
Decorate 121(g_tTex1du4) DescriptorSet 0
Decorate 124(g_tTex2df4) DescriptorSet 0
Decorate 127(g_tTex2di4) DescriptorSet 0
Decorate 130(g_tTex2du4) DescriptorSet 0
Decorate 133(g_tTex3df4) DescriptorSet 0
Decorate 136(g_tTex3di4) DescriptorSet 0
Decorate 139(g_tTex3du4) DescriptorSet 0
Decorate 142(g_tTexcdf4) DescriptorSet 0
Decorate 145(g_tTexcdi4) DescriptorSet 0
Decorate 148(g_tTexcdu4) DescriptorSet 0
Decorate 151(g_tTexcdf4a) DescriptorSet 0
Decorate 154(g_tTexcdi4a) DescriptorSet 0
Decorate 157(g_tTexcdu4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -446,51 +453,53 @@ gl_FragCoord origin is upper left
104: 98(fvec4) ConstantComposite 103 103 103 103
105: TypePointer Function 98(fvec4)
107: 27(int) Constant 1
111: TypeImage 6(float) 1D sampled format:Unknown
112: TypePointer UniformConstant 111
113(g_tTex1df4): 112(ptr) Variable UniformConstant
114: TypeImage 27(int) 1D sampled format:Unknown
115: TypePointer UniformConstant 114
116(g_tTex1di4): 115(ptr) Variable UniformConstant
117: TypeImage 44(int) 1D sampled format:Unknown
118: TypePointer UniformConstant 117
119(g_tTex1du4): 118(ptr) Variable UniformConstant
120: TypeImage 6(float) 2D sampled format:Unknown
121: TypePointer UniformConstant 120
122(g_tTex2df4): 121(ptr) Variable UniformConstant
123: TypeImage 27(int) 2D sampled format:Unknown
124: TypePointer UniformConstant 123
125(g_tTex2di4): 124(ptr) Variable UniformConstant
126: TypeImage 44(int) 2D sampled format:Unknown
127: TypePointer UniformConstant 126
128(g_tTex2du4): 127(ptr) Variable UniformConstant
129: TypeImage 6(float) 3D sampled format:Unknown
130: TypePointer UniformConstant 129
131(g_tTex3df4): 130(ptr) Variable UniformConstant
132: TypeImage 27(int) 3D sampled format:Unknown
133: TypePointer UniformConstant 132
134(g_tTex3di4): 133(ptr) Variable UniformConstant
135: TypeImage 44(int) 3D sampled format:Unknown
136: TypePointer UniformConstant 135
137(g_tTex3du4): 136(ptr) Variable UniformConstant
138: TypeImage 6(float) Cube sampled format:Unknown
139: TypePointer UniformConstant 138
140(g_tTexcdf4): 139(ptr) Variable UniformConstant
141: TypeImage 27(int) Cube sampled format:Unknown
142: TypePointer UniformConstant 141
143(g_tTexcdi4): 142(ptr) Variable UniformConstant
144: TypeImage 44(int) Cube sampled format:Unknown
145: TypePointer UniformConstant 144
146(g_tTexcdu4): 145(ptr) Variable UniformConstant
147: TypeImage 6(float) Cube array sampled format:Unknown
148: TypePointer UniformConstant 147
149(g_tTexcdf4a): 148(ptr) Variable UniformConstant
150: TypeImage 27(int) Cube array sampled format:Unknown
151: TypePointer UniformConstant 150
152(g_tTexcdi4a): 151(ptr) Variable UniformConstant
153: TypeImage 44(int) Cube array sampled format:Unknown
154: TypePointer UniformConstant 153
155(g_tTexcdu4a): 154(ptr) Variable UniformConstant
109: TypePointer Output 99(PS_OUTPUT)
110(@entryPointOutput): 109(ptr) Variable Output
113: TypeImage 6(float) 1D sampled format:Unknown
114: TypePointer UniformConstant 113
115(g_tTex1df4): 114(ptr) Variable UniformConstant
116: TypeImage 27(int) 1D sampled format:Unknown
117: TypePointer UniformConstant 116
118(g_tTex1di4): 117(ptr) Variable UniformConstant
119: TypeImage 44(int) 1D sampled format:Unknown
120: TypePointer UniformConstant 119
121(g_tTex1du4): 120(ptr) Variable UniformConstant
122: TypeImage 6(float) 2D sampled format:Unknown
123: TypePointer UniformConstant 122
124(g_tTex2df4): 123(ptr) Variable UniformConstant
125: TypeImage 27(int) 2D sampled format:Unknown
126: TypePointer UniformConstant 125
127(g_tTex2di4): 126(ptr) Variable UniformConstant
128: TypeImage 44(int) 2D sampled format:Unknown
129: TypePointer UniformConstant 128
130(g_tTex2du4): 129(ptr) Variable UniformConstant
131: TypeImage 6(float) 3D sampled format:Unknown
132: TypePointer UniformConstant 131
133(g_tTex3df4): 132(ptr) Variable UniformConstant
134: TypeImage 27(int) 3D sampled format:Unknown
135: TypePointer UniformConstant 134
136(g_tTex3di4): 135(ptr) Variable UniformConstant
137: TypeImage 44(int) 3D sampled format:Unknown
138: TypePointer UniformConstant 137
139(g_tTex3du4): 138(ptr) Variable UniformConstant
140: TypeImage 6(float) Cube sampled format:Unknown
141: TypePointer UniformConstant 140
142(g_tTexcdf4): 141(ptr) Variable UniformConstant
143: TypeImage 27(int) Cube sampled format:Unknown
144: TypePointer UniformConstant 143
145(g_tTexcdi4): 144(ptr) Variable UniformConstant
146: TypeImage 44(int) Cube sampled format:Unknown
147: TypePointer UniformConstant 146
148(g_tTexcdu4): 147(ptr) Variable UniformConstant
149: TypeImage 6(float) Cube array sampled format:Unknown
150: TypePointer UniformConstant 149
151(g_tTexcdf4a): 150(ptr) Variable UniformConstant
152: TypeImage 27(int) Cube array sampled format:Unknown
153: TypePointer UniformConstant 152
154(g_tTexcdi4a): 153(ptr) Variable UniformConstant
155: TypeImage 44(int) Cube array sampled format:Unknown
156: TypePointer UniformConstant 155
157(g_tTexcdu4a): 156(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
8(r11): 7(ptr) Variable Function
@ -546,6 +555,7 @@ gl_FragCoord origin is upper left
Store 106 104
108: 7(ptr) AccessChain 101(psout) 107
Store 108 103
109:99(PS_OUTPUT) Load 101(psout)
ReturnValue 109
111:99(PS_OUTPUT) Load 101(psout)
Store 110(@entryPointOutput) 111
Return
FunctionEnd

View File

@ -175,8 +175,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int)
0:40 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -370,8 +373,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int)
0:40 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -387,14 +393,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 126
// Id's are bound by 128
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 124
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval10"
@ -420,7 +426,8 @@ gl_FragCoord origin is upper left
MemberName 113(PS_OUTPUT) 0 "Color"
MemberName 113(PS_OUTPUT) 1 "Depth"
Name 115 "psout"
Name 125 "g_tTex1df4a"
Name 124 "@entryPointOutput"
Name 127 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -434,8 +441,8 @@ gl_FragCoord origin is upper left
Decorate 98(g_tTexcdi4) DescriptorSet 0
Decorate 107(g_tTexcdu4) DescriptorSet 0
MemberDecorate 113(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 125(g_tTex1df4a) DescriptorSet 0
Decorate 125(g_tTex1df4a) Binding 1
Decorate 127(g_tTex1df4a) DescriptorSet 0
Decorate 127(g_tTex1df4a) Binding 1
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -507,7 +514,9 @@ gl_FragCoord origin is upper left
118: 7(fvec4) ConstantComposite 117 117 117 117
120: 27(int) Constant 1
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
5: Label
9(txval10): 8(ptr) Variable Function
@ -569,6 +578,7 @@ gl_FragCoord origin is upper left
Store 119 118
122: 121(ptr) AccessChain 115(psout) 120
Store 122 117
123:113(PS_OUTPUT) Load 115(psout)
ReturnValue 123
125:113(PS_OUTPUT) Load 115(psout)
Store 124(@entryPointOutput) 125
Return
FunctionEnd

View File

@ -223,8 +223,11 @@ gl_FragCoord origin is upper left
0:48 1 (const int)
0:48 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -469,8 +472,11 @@ gl_FragCoord origin is upper left
0:48 1 (const int)
0:48 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -489,13 +495,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 161
// Id's are bound by 163
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 159
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval10"
@ -527,7 +533,8 @@ gl_FragCoord origin is upper left
MemberName 148(PS_OUTPUT) 0 "Color"
MemberName 148(PS_OUTPUT) 1 "Depth"
Name 150 "psout"
Name 160 "g_tTex1df4a"
Name 159 "@entryPointOutput"
Name 162 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -544,8 +551,8 @@ gl_FragCoord origin is upper left
Decorate 133(g_tTexcdi4) DescriptorSet 0
Decorate 142(g_tTexcdu4) DescriptorSet 0
MemberDecorate 148(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 160(g_tTex1df4a) DescriptorSet 0
Decorate 160(g_tTex1df4a) Binding 1
Decorate 162(g_tTex1df4a) DescriptorSet 0
Decorate 162(g_tTex1df4a) Binding 1
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -637,7 +644,9 @@ gl_FragCoord origin is upper left
153: 7(fvec4) ConstantComposite 152 152 152 152
155: 24(int) Constant 1
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
5: Label
9(txval10): 8(ptr) Variable Function
@ -717,6 +726,7 @@ gl_FragCoord origin is upper left
Store 154 153
157: 156(ptr) AccessChain 150(psout) 155
Store 157 152
158:148(PS_OUTPUT) Load 150(psout)
ReturnValue 158
160:148(PS_OUTPUT) Load 150(psout)
Store 159(@entryPointOutput) 160
Return
FunctionEnd

View File

@ -215,8 +215,11 @@ Shader version: 450
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -453,8 +456,11 @@ Shader version: 450
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -473,13 +479,13 @@ Shader version: 450
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 158
// Id's are bound by 160
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main"
EntryPoint Vertex 4 "main" 156
Name 4 "main"
Name 9 "txval10"
Name 12 "g_tTex1df4"
@ -509,7 +515,8 @@ Shader version: 450
Name 148 "VS_OUTPUT"
MemberName 148(VS_OUTPUT) 0 "Pos"
Name 150 "vsout"
Name 157 "g_tTex1df4a"
Name 156 "@entryPointOutput"
Name 159 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -526,8 +533,8 @@ Shader version: 450
Decorate 133(g_tTexcdi4) DescriptorSet 0
Decorate 142(g_tTexcdu4) DescriptorSet 0
MemberDecorate 148(VS_OUTPUT) 0 BuiltIn FragCoord
Decorate 157(g_tTex1df4a) DescriptorSet 0
Decorate 157(g_tTex1df4a) Binding 1
Decorate 159(g_tTex1df4a) DescriptorSet 0
Decorate 159(g_tTex1df4a) Binding 1
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -617,7 +624,9 @@ Shader version: 450
151: 24(int) Constant 0
152: 6(float) Constant 0
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
5: Label
9(txval10): 8(ptr) Variable Function
@ -695,6 +704,7 @@ Shader version: 450
Store 139(txval42) 147
154: 8(ptr) AccessChain 150(vsout) 151
Store 154 153
155:148(VS_OUTPUT) Load 150(vsout)
ReturnValue 155
157:148(VS_OUTPUT) Load 150(vsout)
Store 156(@entryPointOutput) 157
Return
FunctionEnd

View File

@ -193,8 +193,11 @@ gl_FragCoord origin is upper left
0:46 1 (const int)
0:46 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -409,8 +412,11 @@ gl_FragCoord origin is upper left
0:46 1 (const int)
0:46 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -429,13 +435,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 152
// Id's are bound by 154
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 141
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval10"
@ -461,10 +467,11 @@ gl_FragCoord origin is upper left
MemberName 132(PS_OUTPUT) 0 "Color"
MemberName 132(PS_OUTPUT) 1 "Depth"
Name 134 "psout"
Name 142 "g_tTex1df4a"
Name 145 "g_tTexcdf4"
Name 148 "g_tTexcdi4"
Name 151 "g_tTexcdu4"
Name 141 "@entryPointOutput"
Name 144 "g_tTex1df4a"
Name 147 "g_tTexcdf4"
Name 150 "g_tTexcdi4"
Name 153 "g_tTexcdu4"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -478,11 +485,11 @@ gl_FragCoord origin is upper left
Decorate 110(g_tTex3di4) DescriptorSet 0
Decorate 121(g_tTex3du4) DescriptorSet 0
MemberDecorate 132(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 142(g_tTex1df4a) DescriptorSet 0
Decorate 142(g_tTex1df4a) Binding 1
Decorate 145(g_tTexcdf4) DescriptorSet 0
Decorate 148(g_tTexcdi4) DescriptorSet 0
Decorate 151(g_tTexcdu4) DescriptorSet 0
Decorate 144(g_tTex1df4a) DescriptorSet 0
Decorate 144(g_tTex1df4a) Binding 1
Decorate 147(g_tTexcdf4) DescriptorSet 0
Decorate 150(g_tTexcdi4) DescriptorSet 0
Decorate 153(g_tTexcdu4) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -571,16 +578,18 @@ gl_FragCoord origin is upper left
135: 6(float) Constant 1065353216
136: 7(fvec4) ConstantComposite 135 135 135 135
138: TypePointer Function 6(float)
142(g_tTex1df4a): 11(ptr) Variable UniformConstant
143: TypeImage 6(float) Cube sampled format:Unknown
144: TypePointer UniformConstant 143
145(g_tTexcdf4): 144(ptr) Variable UniformConstant
146: TypeImage 23(int) Cube sampled format:Unknown
147: TypePointer UniformConstant 146
148(g_tTexcdi4): 147(ptr) Variable UniformConstant
149: TypeImage 38(int) Cube sampled format:Unknown
150: TypePointer UniformConstant 149
151(g_tTexcdu4): 150(ptr) Variable UniformConstant
140: TypePointer Output 132(PS_OUTPUT)
141(@entryPointOutput): 140(ptr) Variable Output
144(g_tTex1df4a): 11(ptr) Variable UniformConstant
145: TypeImage 6(float) Cube sampled format:Unknown
146: TypePointer UniformConstant 145
147(g_tTexcdf4): 146(ptr) Variable UniformConstant
148: TypeImage 23(int) Cube sampled format:Unknown
149: TypePointer UniformConstant 148
150(g_tTexcdi4): 149(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
5: Label
9(txval10): 8(ptr) Variable Function
@ -642,6 +651,7 @@ gl_FragCoord origin is upper left
Store 137 136
139: 138(ptr) AccessChain 134(psout) 24
Store 139 135
140:132(PS_OUTPUT) Load 134(psout)
ReturnValue 140
142:132(PS_OUTPUT) Load 134(psout)
Store 141(@entryPointOutput) 142
Return
FunctionEnd

View File

@ -130,8 +130,11 @@ gl_FragCoord origin is upper left
0:36 1 (const int)
0:36 Constant:
0:36 1.000000
0:38 Branch: Return with expression
0:38 Sequence
0:38 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:38 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:38 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -280,8 +283,11 @@ gl_FragCoord origin is upper left
0:36 1 (const int)
0:36 Constant:
0:36 1.000000
0:38 Branch: Return with expression
0:38 Sequence
0:38 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:38 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:38 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -297,14 +303,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 106
// Id's are bound by 108
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 95
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval10"
@ -324,10 +330,11 @@ gl_FragCoord origin is upper left
MemberName 86(PS_OUTPUT) 0 "Color"
MemberName 86(PS_OUTPUT) 1 "Depth"
Name 88 "psout"
Name 96 "g_tTex1df4a"
Name 99 "g_tTexcdf4"
Name 102 "g_tTexcdi4"
Name 105 "g_tTexcdu4"
Name 95 "@entryPointOutput"
Name 98 "g_tTex1df4a"
Name 101 "g_tTexcdf4"
Name 104 "g_tTexcdi4"
Name 107 "g_tTexcdu4"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -338,11 +345,11 @@ gl_FragCoord origin is upper left
Decorate 71(g_tTex2di4) DescriptorSet 0
Decorate 80(g_tTex2du4) DescriptorSet 0
MemberDecorate 86(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 96(g_tTex1df4a) DescriptorSet 0
Decorate 96(g_tTex1df4a) Binding 1
Decorate 99(g_tTexcdf4) DescriptorSet 0
Decorate 102(g_tTexcdi4) DescriptorSet 0
Decorate 105(g_tTexcdu4) DescriptorSet 0
Decorate 98(g_tTex1df4a) DescriptorSet 0
Decorate 98(g_tTex1df4a) Binding 1
Decorate 101(g_tTexcdf4) DescriptorSet 0
Decorate 104(g_tTexcdi4) DescriptorSet 0
Decorate 107(g_tTexcdu4) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -400,16 +407,18 @@ gl_FragCoord origin is upper left
89: 6(float) Constant 1065353216
90: 7(fvec4) ConstantComposite 89 89 89 89
92: TypePointer Function 6(float)
96(g_tTex1df4a): 11(ptr) Variable UniformConstant
97: TypeImage 6(float) Cube array sampled format:Unknown
98: TypePointer UniformConstant 97
99(g_tTexcdf4): 98(ptr) Variable UniformConstant
100: TypeImage 26(int) Cube array sampled format:Unknown
101: TypePointer UniformConstant 100
102(g_tTexcdi4): 101(ptr) Variable UniformConstant
103: TypeImage 40(int) Cube array sampled format:Unknown
104: TypePointer UniformConstant 103
105(g_tTexcdu4): 104(ptr) Variable UniformConstant
94: TypePointer Output 86(PS_OUTPUT)
95(@entryPointOutput): 94(ptr) Variable Output
98(g_tTex1df4a): 11(ptr) Variable UniformConstant
99: TypeImage 6(float) Cube array sampled format:Unknown
100: TypePointer UniformConstant 99
101(g_tTexcdf4): 100(ptr) Variable UniformConstant
102: TypeImage 26(int) Cube array sampled format:Unknown
103: TypePointer UniformConstant 102
104(g_tTexcdi4): 103(ptr) Variable UniformConstant
105: TypeImage 40(int) Cube array sampled format:Unknown
106: TypePointer UniformConstant 105
107(g_tTexcdu4): 106(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
9(txval10): 8(ptr) Variable Function
@ -453,6 +462,7 @@ gl_FragCoord origin is upper left
Store 91 90
93: 92(ptr) AccessChain 88(psout) 27
Store 93 89
94:86(PS_OUTPUT) Load 88(psout)
ReturnValue 94
96:86(PS_OUTPUT) Load 88(psout)
Store 95(@entryPointOutput) 96
Return
FunctionEnd

View File

@ -139,8 +139,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int)
0:40 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -298,8 +301,11 @@ gl_FragCoord origin is upper left
0:40 1 (const int)
0:40 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -315,14 +321,14 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 133
// Id's are bound by 135
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 131
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval10"
@ -348,7 +354,8 @@ gl_FragCoord origin is upper left
MemberName 121(PS_OUTPUT) 0 "Color"
MemberName 121(PS_OUTPUT) 1 "Depth"
Name 123 "psout"
Name 132 "g_tTex1df4"
Name 131 "@entryPointOutput"
Name 134 "g_tTex1df4"
Decorate 12(g_tTex1df4a) DescriptorSet 0
Decorate 12(g_tTex1df4a) Binding 1
Decorate 16(g_sSamp) DescriptorSet 0
@ -362,8 +369,8 @@ gl_FragCoord origin is upper left
Decorate 101(g_tTexcdi4a) DescriptorSet 0
Decorate 111(g_tTexcdu4a) DescriptorSet 0
MemberDecorate 121(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 132(g_tTex1df4) DescriptorSet 0
Decorate 132(g_tTex1df4) Binding 0
Decorate 134(g_tTex1df4) DescriptorSet 0
Decorate 134(g_tTex1df4) Binding 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -442,7 +449,9 @@ gl_FragCoord origin is upper left
125: 7(fvec4) ConstantComposite 118 118 118 118
127: 26(int) Constant 1
128: TypePointer Function 6(float)
132(g_tTex1df4): 11(ptr) Variable UniformConstant
130: TypePointer Output 121(PS_OUTPUT)
131(@entryPointOutput): 130(ptr) Variable Output
134(g_tTex1df4): 11(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
9(txval10): 8(ptr) Variable Function
@ -504,6 +513,7 @@ gl_FragCoord origin is upper left
Store 126 125
129: 128(ptr) AccessChain 123(psout) 127
Store 129 118
130:121(PS_OUTPUT) Load 123(psout)
ReturnValue 130
132:121(PS_OUTPUT) Load 123(psout)
Store 131(@entryPointOutput) 132
Return
FunctionEnd

View File

@ -169,8 +169,11 @@ gl_FragCoord origin is upper left
0:49 1 (const int)
0:49 Constant:
0:49 1.000000
0:51 Branch: Return with expression
0:51 Sequence
0:51 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:51 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:51 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -362,8 +365,11 @@ gl_FragCoord origin is upper left
0:49 1 (const int)
0:49 Constant:
0:49 1.000000
0:51 Branch: Return with expression
0:51 Sequence
0:51 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:51 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:51 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp2d' (uniform sampler)
@ -383,13 +389,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 158
// Id's are bound by 160
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 155
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval10"
@ -421,8 +427,9 @@ gl_FragCoord origin is upper left
MemberName 144(PS_OUTPUT) 0 "Color"
MemberName 144(PS_OUTPUT) 1 "Depth"
Name 146 "psout"
Name 156 "g_sSamp2d"
Name 157 "g_tTex1df4a"
Name 155 "@entryPointOutput"
Name 158 "g_sSamp2d"
Name 159 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -439,9 +446,9 @@ gl_FragCoord origin is upper left
Decorate 129(g_tTexcdi4) DescriptorSet 0
Decorate 138(g_tTexcdu4) DescriptorSet 0
MemberDecorate 144(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 156(g_sSamp2d) DescriptorSet 0
Decorate 157(g_tTex1df4a) DescriptorSet 0
Decorate 157(g_tTex1df4a) Binding 1
Decorate 158(g_sSamp2d) DescriptorSet 0
Decorate 159(g_tTex1df4a) DescriptorSet 0
Decorate 159(g_tTex1df4a) Binding 1
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -529,8 +536,10 @@ gl_FragCoord origin is upper left
149: 7(fvec4) ConstantComposite 148 148 148 148
151: 23(int) Constant 1
152: TypePointer Function 6(float)
156(g_sSamp2d): 15(ptr) Variable UniformConstant
157(g_tTex1df4a): 11(ptr) Variable UniformConstant
154: TypePointer Output 144(PS_OUTPUT)
155(@entryPointOutput): 154(ptr) Variable Output
158(g_sSamp2d): 15(ptr) Variable UniformConstant
159(g_tTex1df4a): 11(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
9(txval10): 8(ptr) Variable Function
@ -610,6 +619,7 @@ gl_FragCoord origin is upper left
Store 150 149
153: 152(ptr) AccessChain 146(psout) 151
Store 153 148
154:144(PS_OUTPUT) Load 146(psout)
ReturnValue 154
156:144(PS_OUTPUT) Load 146(psout)
Store 155(@entryPointOutput) 156
Return
FunctionEnd

View File

@ -161,8 +161,11 @@ Shader version: 450
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -345,8 +348,11 @@ Shader version: 450
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -365,13 +371,13 @@ Shader version: 450
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 154
// Id's are bound by 156
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main"
EntryPoint Vertex 4 "main" 152
Name 4 "main"
Name 9 "txval10"
Name 12 "g_tTex1df4"
@ -401,7 +407,8 @@ Shader version: 450
Name 144 "VS_OUTPUT"
MemberName 144(VS_OUTPUT) 0 "Pos"
Name 146 "vsout"
Name 153 "g_tTex1df4a"
Name 152 "@entryPointOutput"
Name 155 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -418,8 +425,8 @@ Shader version: 450
Decorate 129(g_tTexcdi4) DescriptorSet 0
Decorate 138(g_tTexcdu4) DescriptorSet 0
MemberDecorate 144(VS_OUTPUT) 0 BuiltIn FragCoord
Decorate 153(g_tTex1df4a) DescriptorSet 0
Decorate 153(g_tTex1df4a) Binding 1
Decorate 155(g_tTex1df4a) DescriptorSet 0
Decorate 155(g_tTex1df4a) Binding 1
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -505,7 +512,9 @@ Shader version: 450
147: 23(int) Constant 0
148: 6(float) Constant 0
149: 7(fvec4) ConstantComposite 148 148 148 148
153(g_tTex1df4a): 11(ptr) Variable UniformConstant
151: TypePointer Output 144(VS_OUTPUT)
152(@entryPointOutput): 151(ptr) Variable Output
155(g_tTex1df4a): 11(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
9(txval10): 8(ptr) Variable Function
@ -583,6 +592,7 @@ Shader version: 450
Store 135(txval42) 143
150: 8(ptr) AccessChain 146(vsout) 147
Store 150 149
151:144(VS_OUTPUT) Load 146(vsout)
ReturnValue 151
153:144(VS_OUTPUT) Load 146(vsout)
Store 152(@entryPointOutput) 153
Return
FunctionEnd

View File

@ -157,8 +157,11 @@ gl_FragCoord origin is upper left
0:46 1 (const int)
0:46 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -337,8 +340,11 @@ gl_FragCoord origin is upper left
0:46 1 (const int)
0:46 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
@ -357,13 +363,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 148
// Id's are bound by 150
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 137
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval10"
@ -389,10 +395,11 @@ gl_FragCoord origin is upper left
MemberName 128(PS_OUTPUT) 0 "Color"
MemberName 128(PS_OUTPUT) 1 "Depth"
Name 130 "psout"
Name 138 "g_tTex1df4a"
Name 141 "g_tTexcdf4"
Name 144 "g_tTexcdi4"
Name 147 "g_tTexcdu4"
Name 137 "@entryPointOutput"
Name 140 "g_tTex1df4a"
Name 143 "g_tTexcdf4"
Name 146 "g_tTexcdi4"
Name 149 "g_tTexcdu4"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -406,11 +413,11 @@ gl_FragCoord origin is upper left
Decorate 106(g_tTex3di4) DescriptorSet 0
Decorate 117(g_tTex3du4) DescriptorSet 0
MemberDecorate 128(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 138(g_tTex1df4a) DescriptorSet 0
Decorate 138(g_tTex1df4a) Binding 1
Decorate 141(g_tTexcdf4) DescriptorSet 0
Decorate 144(g_tTexcdi4) DescriptorSet 0
Decorate 147(g_tTexcdu4) DescriptorSet 0
Decorate 140(g_tTex1df4a) DescriptorSet 0
Decorate 140(g_tTex1df4a) Binding 1
Decorate 143(g_tTexcdf4) DescriptorSet 0
Decorate 146(g_tTexcdi4) DescriptorSet 0
Decorate 149(g_tTexcdu4) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -495,16 +502,18 @@ gl_FragCoord origin is upper left
131: 6(float) Constant 1065353216
132: 7(fvec4) ConstantComposite 131 131 131 131
134: TypePointer Function 6(float)
138(g_tTex1df4a): 11(ptr) Variable UniformConstant
139: TypeImage 6(float) Cube sampled format:Unknown
140: TypePointer UniformConstant 139
141(g_tTexcdf4): 140(ptr) Variable UniformConstant
142: TypeImage 22(int) Cube sampled format:Unknown
143: TypePointer UniformConstant 142
144(g_tTexcdi4): 143(ptr) Variable UniformConstant
145: TypeImage 37(int) Cube sampled format:Unknown
146: TypePointer UniformConstant 145
147(g_tTexcdu4): 146(ptr) Variable UniformConstant
136: TypePointer Output 128(PS_OUTPUT)
137(@entryPointOutput): 136(ptr) Variable Output
140(g_tTex1df4a): 11(ptr) Variable UniformConstant
141: TypeImage 6(float) Cube sampled format:Unknown
142: TypePointer UniformConstant 141
143(g_tTexcdf4): 142(ptr) Variable UniformConstant
144: TypeImage 22(int) Cube sampled format:Unknown
145: TypePointer UniformConstant 144
146(g_tTexcdi4): 145(ptr) Variable UniformConstant
147: TypeImage 37(int) Cube sampled format:Unknown
148: TypePointer UniformConstant 147
149(g_tTexcdu4): 148(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
9(txval10): 8(ptr) Variable Function
@ -566,6 +575,7 @@ gl_FragCoord origin is upper left
Store 133 132
135: 134(ptr) AccessChain 130(psout) 23
Store 135 131
136:128(PS_OUTPUT) Load 130(psout)
ReturnValue 136
138:128(PS_OUTPUT) Load 130(psout)
Store 137(@entryPointOutput) 138
Return
FunctionEnd

View File

@ -112,8 +112,11 @@ gl_FragCoord origin is upper left
0:34 1 (const int)
0:34 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -241,8 +244,11 @@ gl_FragCoord origin is upper left
0:34 1 (const int)
0:34 Constant:
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 Branch: Return
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -255,13 +261,13 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 105
// Id's are bound by 107
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 103
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 9 "txval10"
@ -281,7 +287,8 @@ gl_FragCoord origin is upper left
MemberName 94(PS_OUTPUT) 0 "Color"
MemberName 94(PS_OUTPUT) 1 "Depth"
Name 96 "psout"
Name 104 "g_tTex1df4a"
Name 103 "@entryPointOutput"
Name 106 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
@ -292,8 +299,8 @@ gl_FragCoord origin is upper left
Decorate 73(g_tTex2di4) DescriptorSet 0
Decorate 84(g_tTex2du4) DescriptorSet 0
MemberDecorate 94(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 104(g_tTex1df4a) DescriptorSet 0
Decorate 104(g_tTex1df4a) Binding 1
Decorate 106(g_tTex1df4a) DescriptorSet 0
Decorate 106(g_tTex1df4a) Binding 1
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -359,7 +366,9 @@ gl_FragCoord origin is upper left
97: 6(float) Constant 1065353216
98: 7(fvec4) ConstantComposite 97 97 97 97
100: TypePointer Function 6(float)
104(g_tTex1df4a): 11(ptr) Variable UniformConstant
102: TypePointer Output 94(PS_OUTPUT)
103(@entryPointOutput): 102(ptr) Variable Output
106(g_tTex1df4a): 11(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
9(txval10): 8(ptr) Variable Function
@ -403,6 +412,7 @@ gl_FragCoord origin is upper left
Store 99 98
101: 100(ptr) AccessChain 96(psout) 40
Store 101 97
102:94(PS_OUTPUT) Load 96(psout)
ReturnValue 102
104:94(PS_OUTPUT) Load 96(psout)
Store 103(@entryPointOutput) 104
Return
FunctionEnd

View File

@ -19,8 +19,11 @@ gl_FragCoord origin is upper left
0:16 1.000000
0:16 1.000000
0:16 1.000000
0:17 Branch: Return with expression
0:17 Sequence
0:17 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:17 'ps_output' (temp structure{temp 4-component vector of float color})
0:17 Branch: Return
0:? Linker Objects
@ -47,18 +50,21 @@ gl_FragCoord origin is upper left
0:16 1.000000
0:16 1.000000
0:16 1.000000
0:17 Branch: Return with expression
0:17 Sequence
0:17 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:17 'ps_output' (temp structure{temp 4-component vector of float color})
0:17 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 23
// Id's are bound by 25
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 22
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 6 "MyFunc("
@ -66,6 +72,7 @@ gl_FragCoord origin is upper left
Name 12 "PS_OUTPUT"
MemberName 12(PS_OUTPUT) 0 "color"
Name 14 "ps_output"
Name 22 "@entryPointOutput"
2: TypeVoid
3: TypeFunction 2
10: TypeFloat 32
@ -77,13 +84,16 @@ gl_FragCoord origin is upper left
17: 10(float) Constant 1065353216
18: 11(fvec4) ConstantComposite 17 17 17 17
19: TypePointer Function 11(fvec4)
21: TypePointer Output 12(PS_OUTPUT)
22(@entryPointOutput): 21(ptr) Variable Output
4(main): 2 Function None 3
5: Label
14(ps_output): 13(ptr) Variable Function
20: 19(ptr) AccessChain 14(ps_output) 16
Store 20 18
21:12(PS_OUTPUT) Load 14(ps_output)
ReturnValue 21
23:12(PS_OUTPUT) Load 14(ps_output)
Store 22(@entryPointOutput) 23
Return
FunctionEnd
6(MyFunc(): 2 Function None 3
7: Label

View File

@ -6,9 +6,12 @@ gl_FragCoord origin is upper left
0:2 Function Parameters:
0:2 'input' (in 4-component vector of float)
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 sine (global 4-component vector of float)
0:3 'input' (in 4-component vector of float)
0:3 Branch: Return
0:? Linker Objects
@ -22,31 +25,38 @@ gl_FragCoord origin is upper left
0:2 Function Parameters:
0:2 'input' (in 4-component vector of float)
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 sine (global 4-component vector of float)
0:3 'input' (in 4-component vector of float)
0:3 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 13
// Id's are bound by 15
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 9
EntryPoint Fragment 4 "PixelShaderFunction" 9 11
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 9 "input"
Name 9 "@entryPointOutput"
Name 11 "input"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypePointer Input 7(fvec4)
9(input): 8(ptr) Variable Input
8: TypePointer Output 7(fvec4)
9(@entryPointOutput): 8(ptr) Variable Output
10: TypePointer Input 7(fvec4)
11(input): 10(ptr) Variable Input
4(PixelShaderFunction): 2 Function None 3
5: Label
10: 7(fvec4) Load 9(input)
11: 7(fvec4) ExtInst 1(GLSL.std.450) 13(Sin) 10
ReturnValue 11
12: 7(fvec4) Load 11(input)
13: 7(fvec4) ExtInst 1(GLSL.std.450) 13(Sin) 12
Store 9(@entryPointOutput) 13
Return
FunctionEnd

View File

@ -15,8 +15,11 @@ gl_FragCoord origin is upper left
0:? 0.000000
0:? 0.000000
0:? 1.000000
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 'psout' (temp structure{temp 4-component vector of float Color})
0:19 Branch: Return
0:? Linker Objects
0:? 'TestTexture' (uniform texture2D)
0:? 'TestUF' (uniform 4-component vector of float)
@ -41,28 +44,32 @@ gl_FragCoord origin is upper left
0:? 0.000000
0:? 0.000000
0:? 1.000000
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 'psout' (temp structure{temp 4-component vector of float Color})
0:19 Branch: Return
0:? Linker Objects
0:? 'TestTexture' (uniform texture2D)
0:? 'TestUF' (uniform 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 25
// Id's are bound by 27
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 19
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 8 "PS_OUTPUT"
MemberName 8(PS_OUTPUT) 0 "Color"
Name 10 "psout"
Name 22 "TestTexture"
Name 24 "TestUF"
Decorate 22(TestTexture) DescriptorSet 0
Name 19 "@entryPointOutput"
Name 24 "TestTexture"
Name 26 "TestUF"
Decorate 24(TestTexture) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -75,16 +82,19 @@ gl_FragCoord origin is upper left
14: 6(float) Constant 1065353216
15: 7(fvec4) ConstantComposite 13 13 13 14
16: TypePointer Function 7(fvec4)
20: TypeImage 6(float) 2D sampled format:Unknown
21: TypePointer UniformConstant 20
22(TestTexture): 21(ptr) Variable UniformConstant
23: TypePointer UniformConstant 7(fvec4)
24(TestUF): 23(ptr) Variable UniformConstant
18: TypePointer Output 8(PS_OUTPUT)
19(@entryPointOutput): 18(ptr) Variable Output
22: TypeImage 6(float) 2D sampled format:Unknown
23: TypePointer UniformConstant 22
24(TestTexture): 23(ptr) Variable UniformConstant
25: TypePointer UniformConstant 7(fvec4)
26(TestUF): 25(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
10(psout): 9(ptr) Variable Function
17: 16(ptr) AccessChain 10(psout) 12
Store 17 15
18:8(PS_OUTPUT) Load 10(psout)
ReturnValue 18
20:8(PS_OUTPUT) Load 10(psout)
Store 19(@entryPointOutput) 20
Return
FunctionEnd

View File

@ -22,8 +22,11 @@ gl_FragCoord origin is upper left
0:40 's4' (global structure{smooth in 4-component vector of float a, flat temp bool b, centroid noperspective temp 1-component vector of float c, centroid sample temp 2-component vector of float d, temp bool Face ff1, layout(offset=4 ) temp bool ff2, layout(binding=0 offset=4 ) temp bool ff3, layout(binding=0 offset=4 ) temp 4-component vector of float FragCoord ff4})
0:40 Constant:
0:40 7 (const int)
0:42 Branch: Return with expression
0:42 Sequence
0:42 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:42 'input' (in 4-component vector of float)
0:42 Branch: Return
0:? Linker Objects
0:? 's1' (global structure{temp bool b, temp bool c, temp 4-component vector of float a, temp 4-component vector of float d})
0:? 's2' (global structure{temp 4-component vector of float i})
@ -54,8 +57,11 @@ gl_FragCoord origin is upper left
0:40 's4' (global structure{smooth in 4-component vector of float a, flat temp bool b, centroid noperspective temp 1-component vector of float c, centroid sample temp 2-component vector of float d, temp bool Face ff1, layout(offset=4 ) temp bool ff2, layout(binding=0 offset=4 ) temp bool ff3, layout(binding=0 offset=4 ) temp 4-component vector of float FragCoord ff4})
0:40 Constant:
0:40 7 (const int)
0:42 Branch: Return with expression
0:42 Sequence
0:42 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:42 'input' (in 4-component vector of float)
0:42 Branch: Return
0:? Linker Objects
0:? 's1' (global structure{temp bool b, temp bool c, temp 4-component vector of float a, temp 4-component vector of float d})
0:? 's2' (global structure{temp 4-component vector of float i})
@ -65,12 +71,12 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 44
// Id's are bound by 46
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 34
EntryPoint Fragment 4 "PixelShaderFunction" 34 36
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 8 "FS"
@ -89,21 +95,22 @@ gl_FragCoord origin is upper left
MemberName 25 6 "ff3"
MemberName 25 7 "ff4"
Name 27 "s4"
Name 34 "input"
Name 37 "myS"
MemberName 37(myS) 0 "b"
MemberName 37(myS) 1 "c"
MemberName 37(myS) 2 "a"
MemberName 37(myS) 3 "d"
Name 39 "s1"
Name 42 "ff5"
Name 43 "ff6"
Name 34 "@entryPointOutput"
Name 36 "input"
Name 39 "myS"
MemberName 39(myS) 0 "b"
MemberName 39(myS) 1 "c"
MemberName 39(myS) 2 "a"
MemberName 39(myS) 3 "d"
Name 41 "s1"
Name 44 "ff5"
Name 45 "ff6"
MemberDecorate 25 4 BuiltIn FrontFacing
MemberDecorate 25 7 BuiltIn FragCoord
Decorate 42(ff5) Offset 20
Decorate 42(ff5) Binding 5
Decorate 43(ff6) Offset 36
Decorate 43(ff6) Binding 8
Decorate 44(ff5) Offset 20
Decorate 44(ff5) Binding 5
Decorate 45(ff6) Offset 36
Decorate 45(ff6) Binding 8
2: TypeVoid
3: TypeFunction 2
6: TypeBool
@ -123,15 +130,17 @@ gl_FragCoord origin is upper left
27(s4): 26(ptr) Variable Private
28: 22(int) Constant 7
29: TypePointer Private 18(fvec4)
33: TypePointer Input 18(fvec4)
34(input): 33(ptr) Variable Input
37(myS): TypeStruct 6(bool) 6(bool) 18(fvec4) 18(fvec4)
38: TypePointer Private 37(myS)
39(s1): 38(ptr) Variable Private
40: TypeVector 17(float) 3
41: TypePointer Private 40(fvec3)
42(ff5): 41(ptr) Variable Private
43(ff6): 41(ptr) Variable Private
33: TypePointer Output 18(fvec4)
34(@entryPointOutput): 33(ptr) Variable Output
35: TypePointer Input 18(fvec4)
36(input): 35(ptr) Variable Input
39(myS): TypeStruct 6(bool) 6(bool) 18(fvec4) 18(fvec4)
40: TypePointer Private 39(myS)
41(s1): 40(ptr) Variable Private
42: TypeVector 17(float) 3
43: TypePointer Private 42(fvec3)
44(ff5): 43(ptr) Variable Private
45(ff6): 43(ptr) Variable Private
4(PixelShaderFunction): 2 Function None 3
5: Label
10(s3): 9(ptr) Variable Function
@ -145,6 +154,7 @@ gl_FragCoord origin is upper left
31: 18(fvec4) Load 30
32: 29(ptr) AccessChain 21(s2) 23
Store 32 31
35: 18(fvec4) Load 34(input)
ReturnValue 35
37: 18(fvec4) Load 36(input)
Store 34(@entryPointOutput) 37
Return
FunctionEnd

View File

@ -119,8 +119,11 @@ gl_FragCoord origin is upper left
0:? Sequence
0:51 Pre-Decrement (temp 4-component vector of float)
0:51 'input' (in 4-component vector of float)
0:54 Branch: Return with expression
0:54 Sequence
0:54 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:54 'input' (in 4-component vector of float)
0:54 Branch: Return
0:? Linker Objects
@ -247,23 +250,27 @@ gl_FragCoord origin is upper left
0:? Sequence
0:51 Pre-Decrement (temp 4-component vector of float)
0:51 'input' (in 4-component vector of float)
0:54 Branch: Return with expression
0:54 Sequence
0:54 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:54 'input' (in 4-component vector of float)
0:54 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 82
// Id's are bound by 84
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 8 21 41
EntryPoint Fragment 4 "PixelShaderFunction" 8 21 41 81
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 8 "c"
Name 21 "input"
Name 41 "d"
Name 81 "@entryPointOutput"
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
@ -278,6 +285,8 @@ gl_FragCoord origin is upper left
46: 18(float) Constant 1073741824
51: 18(float) Constant 1077936128
58: 18(float) Constant 1082130432
80: TypePointer Output 19(fvec4)
81(@entryPointOutput): 80(ptr) Variable Output
4(PixelShaderFunction): 2 Function None 3
5: Label
9: 6(int) Load 8(c)
@ -370,6 +379,7 @@ gl_FragCoord origin is upper left
Store 21(input) 78
Branch 71
71: Label
80: 19(fvec4) Load 21(input)
ReturnValue 80
82: 19(fvec4) Load 21(input)
Store 81(@entryPointOutput) 82
Return
FunctionEnd

View File

@ -239,9 +239,12 @@ gl_FragCoord origin is upper left
0:? 10.000000
0:? 11.000000
0:? 12.000000
0:45 Branch: Return with expression
0:45 Sequence
0:45 move second child to first child (temp float)
0:? '@entryPointOutput' (out float)
0:45 Constant:
0:45 0.000000
0:45 Branch: Return
0:? Linker Objects
@ -488,20 +491,23 @@ gl_FragCoord origin is upper left
0:? 10.000000
0:? 11.000000
0:? 12.000000
0:45 Branch: Return with expression
0:45 Sequence
0:45 move second child to first child (temp float)
0:? '@entryPointOutput' (out float)
0:45 Constant:
0:45 0.000000
0:45 Branch: Return
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 145
// Id's are bound by 147
Capability Shader
Capability Float64
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction"
EntryPoint Fragment 4 "PixelShaderFunction" 145
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 9 "r00"
@ -532,6 +538,7 @@ gl_FragCoord origin is upper left
Name 131 "r62"
Name 136 "r65"
Name 141 "r66"
Name 145 "@entryPointOutput"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -644,6 +651,8 @@ gl_FragCoord origin is upper left
140: TypePointer Function 139
142: 7(fvec4) ConstantComposite 112 113 114 116
143: 139 ConstantComposite 14 137 142
144: TypePointer Output 6(float)
145(@entryPointOutput): 144(ptr) Variable Output
4(PixelShaderFunction): 2 Function None 3
5: Label
9(r00): 8(ptr) Variable Function
@ -702,5 +711,6 @@ gl_FragCoord origin is upper left
Store 131(r62) 133
Store 136(r65) 138
Store 141(r66) 143
ReturnValue 106
Store 145(@entryPointOutput) 106
Return
FunctionEnd

View File

@ -13,8 +13,11 @@ gl_FragCoord origin is upper left
0:3 'input' (in 4-component vector of float)
0:3 Loop Body
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 'input' (in 4-component vector of float)
0:3 Branch: Return
0:4 Loop with condition tested first
0:4 Loop Condition
0:4 Constant:
@ -50,8 +53,11 @@ gl_FragCoord origin is upper left
0:3 'input' (in 4-component vector of float)
0:3 Loop Body
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 'input' (in 4-component vector of float)
0:3 Branch: Return
0:4 Loop with condition tested first
0:4 Loop Condition
0:4 Constant:
@ -71,15 +77,16 @@ gl_FragCoord origin is upper left
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 39
// Id's are bound by 41
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 14
EntryPoint Fragment 4 "PixelShaderFunction" 14 22
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 14 "input"
Name 22 "@entryPointOutput"
2: TypeVoid
3: TypeFunction 2
11: TypeFloat 32
@ -88,7 +95,9 @@ gl_FragCoord origin is upper left
14(input): 13(ptr) Variable Input
17: TypeBool
18: TypeVector 17(bool) 4
28: 17(bool) ConstantFalse
21: TypePointer Output 12(fvec4)
22(@entryPointOutput): 21(ptr) Variable Output
30: 17(bool) ConstantFalse
4(PixelShaderFunction): 2 Function None 3
5: Label
Branch 6
@ -102,43 +111,44 @@ gl_FragCoord origin is upper left
20: 17(bool) Any 19
BranchConditional 20 7 8
7: Label
21: 12(fvec4) Load 14(input)
ReturnValue 21
23: 12(fvec4) Load 14(input)
Store 22(@entryPointOutput) 23
Return
9: Label
Branch 6
8: Label
Branch 23
23: Label
LoopMerge 25 26 None
Branch 27
27: Label
BranchConditional 28 24 25
24: Label
Branch 26
26: Label
Branch 23
Branch 25
25: Label
LoopMerge 27 28 None
Branch 29
29: Label
LoopMerge 31 32 None
Branch 33
33: Label
BranchConditional 28 30 31
30: Label
Branch 32
32: Label
Branch 29
BranchConditional 30 26 27
26: Label
Branch 28
28: Label
Branch 25
27: Label
Branch 31
31: Label
LoopMerge 33 34 None
Branch 35
35: Label
BranchConditional 30 32 33
32: Label
Branch 34
34: Label
LoopMerge 36 37 None
Branch 38
38: Label
BranchConditional 28 35 36
35: Label
Branch 37
37: Label
Branch 34
Branch 31
33: Label
Branch 36
36: Label
LoopMerge 38 39 None
Branch 40
40: Label
BranchConditional 30 37 38
37: Label
Branch 39
39: Label
Branch 36
38: Label
Return
FunctionEnd

View File

@ -13,7 +13,7 @@ Linked fragment stage:
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 5663 "main"
EntryPoint Fragment 5663 "main" 4045
ExecutionMode 5663 OriginUpperLeft
Decorate 4727 DescriptorSet 0
Decorate 4727 Binding 0
@ -128,6 +128,8 @@ Linked fragment stage:
138: 13(float) Constant 1065353216
1284: 29(fvec4) ConstantComposite 138 138 138 138
650: TypePointer Function 13(float)
1670: TypePointer Output 1032(struct)
4045: 1670(ptr) Variable Output
5663: 8 Function None 1282
24915: Label
5830: 1972(ptr) Variable Function
@ -208,6 +210,7 @@ Linked fragment stage:
Store 20158 1284
19657: 650(ptr) AccessChain 5072 2574
Store 19657 138
21536:1032(struct) Load 5072
ReturnValue 21536
17934:1032(struct) Load 5072
Store 4045 17934
Return
FunctionEnd

View File

@ -7,13 +7,13 @@ Linked fragment stage:
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 183
// Id's are bound by 185
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 180
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 7 "MemberTest"
@ -59,9 +59,10 @@ Linked fragment stage:
MemberName 171(PS_OUTPUT) 0 "Color"
MemberName 171(PS_OUTPUT) 1 "Depth"
Name 173 "psout"
Name 180 "g_sSamp2d"
Name 181 "g_sSamp2D_b"
Name 182 "g_tTex1df4a"
Name 180 "@entryPointOutput"
Name 182 "g_sSamp2d"
Name 183 "g_sSamp2D_b"
Name 184 "g_tTex1df4a"
Decorate 41(g_tTex1df4) DescriptorSet 0
Decorate 41(g_tTex1df4) Binding 0
Decorate 45(g_sSamp) DescriptorSet 0
@ -78,10 +79,10 @@ Linked fragment stage:
Decorate 156(g_tTexcdi4) DescriptorSet 0
Decorate 165(g_tTexcdu4) DescriptorSet 0
MemberDecorate 171(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 180(g_sSamp2d) DescriptorSet 0
Decorate 181(g_sSamp2D_b) DescriptorSet 0
Decorate 182(g_tTex1df4a) DescriptorSet 0
Decorate 182(g_tTex1df4a) Binding 1
Decorate 182(g_sSamp2d) DescriptorSet 0
Decorate 183(g_sSamp2D_b) DescriptorSet 0
Decorate 184(g_tTex1df4a) DescriptorSet 0
Decorate 184(g_tTex1df4a) Binding 1
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
@ -181,9 +182,11 @@ Linked fragment stage:
174: 35(float) Constant 1065353216
175: 36(fvec4) ConstantComposite 174 174 174 174
177: TypePointer Function 35(float)
180(g_sSamp2d): 44(ptr) Variable UniformConstant
181(g_sSamp2D_b): 44(ptr) Variable UniformConstant
182(g_tTex1df4a): 40(ptr) Variable UniformConstant
179: TypePointer Output 171(PS_OUTPUT)
180(@entryPointOutput): 179(ptr) Variable Output
182(g_sSamp2d): 44(ptr) Variable UniformConstant
183(g_sSamp2D_b): 44(ptr) Variable UniformConstant
184(g_tTex1df4a): 40(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
9(mtest): 8(ptr) Variable Function
@ -288,6 +291,7 @@ Linked fragment stage:
Store 176 175
178: 177(ptr) AccessChain 173(psout) 10
Store 178 174
179:171(PS_OUTPUT) Load 173(psout)
ReturnValue 179
181:171(PS_OUTPUT) Load 173(psout)
Store 180(@entryPointOutput) 181
Return
FunctionEnd

View File

@ -7,13 +7,13 @@ Linked fragment stage:
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 183
// Id's are bound by 185
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 180
ExecutionMode 4 OriginUpperLeft
Decorate 41 DescriptorSet 0
Decorate 41 Binding 0
@ -31,10 +31,10 @@ Linked fragment stage:
Decorate 156 DescriptorSet 0
Decorate 165 DescriptorSet 0
MemberDecorate 171 1 BuiltIn FragDepth
Decorate 180 DescriptorSet 0
Decorate 181 DescriptorSet 0
Decorate 182 DescriptorSet 0
Decorate 182 Binding 1
Decorate 183 DescriptorSet 0
Decorate 184 DescriptorSet 0
Decorate 184 Binding 1
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
@ -134,9 +134,11 @@ Linked fragment stage:
174: 35(float) Constant 1065353216
175: 36(fvec4) ConstantComposite 174 174 174 174
177: TypePointer Function 35(float)
180: 44(ptr) Variable UniformConstant
181: 44(ptr) Variable UniformConstant
182: 40(ptr) Variable UniformConstant
179: TypePointer Output 171(struct)
180: 179(ptr) Variable Output
182: 44(ptr) Variable UniformConstant
183: 44(ptr) Variable UniformConstant
184: 40(ptr) Variable UniformConstant
4: 2 Function None 3
5: Label
9: 8(ptr) Variable Function
@ -241,6 +243,7 @@ Linked fragment stage:
Store 176 175
178: 177(ptr) AccessChain 173 10
Store 178 174
179: 171(struct) Load 173
ReturnValue 179
181: 171(struct) Load 173
Store 180 181
Return
FunctionEnd

12
Test/hlsl.entry-out.frag Normal file
View File

@ -0,0 +1,12 @@
struct OutParam {
float2 v;
int2 i;
};
float4 PixelShaderFunction(float4 input, out float4 out1, out OutParam out2) : COLOR0
{
out1 = input;
out2.v = 2.0;
out2.i = 3;
return out1;
}

View File

@ -2,5 +2,5 @@
// For the version, it uses the latest git tag followed by the number of commits.
// For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "Overload400-PrecQual.1442"
#define GLSLANG_DATE "26-Aug-2016"
#define GLSLANG_REVISION "Overload400-PrecQual.1444"
#define GLSLANG_DATE "28-Aug-2016"

View File

@ -83,6 +83,7 @@ INSTANTIATE_TEST_CASE_P(
{"hlsl.constructexpr.frag", "main"},
{"hlsl.discard.frag", "PixelShaderFunction"},
{"hlsl.doLoop.frag", "PixelShaderFunction"},
{"hlsl.entry-out.frag", "PixelShaderFunction"},
{"hlsl.float1.frag", "PixelShaderFunction"},
{"hlsl.float4.frag", "PixelShaderFunction"},
{"hlsl.forLoop.frag", "PixelShaderFunction"},

View File

@ -55,7 +55,8 @@ HlslParseContext::HlslParseContext(TSymbolTable& symbolTable, TIntermediate& int
contextPragma(true, false), loopNestingLevel(0), structNestingLevel(0), controlFlowNestingLevel(0),
postMainReturn(false),
limits(resources.limits),
afterEOF(false)
afterEOF(false),
entryPointOutput(nullptr)
{
// ensure we always have a linkage node, even if empty, to simplify tree topology algorithms
linkage = new TIntermAggregate;
@ -754,9 +755,20 @@ TIntermAggregate* HlslParseContext::handleFunctionDefinition(const TSourceLoc& l
inEntrypoint = (function.getName() == intermediate.getEntryPoint().c_str());
if (inEntrypoint) {
// parameters are actually shader-level inputs
for (int i = 0; i < function.getParamCount(); i++)
// in parameters are actually shader-scoped inputs (in)
for (int i = 0; i < function.getParamCount(); i++) {
if (function[i].type->getQualifier().storage == EvqIn ||
function[i].type->getQualifier().storage == EvqConstReadOnly)
function[i].type->getQualifier().storage = EvqVaryingIn;
else
function[i].type->getQualifier().storage = EvqVaryingOut;
}
// return value is actually shader-scoped output (out)
if (function.getType().getBasicType() != EbtVoid) {
entryPointOutput = makeInternalVariable("@entryPointOutput", function.getType());
entryPointOutput->getWritableType().getQualifier().storage = EvqVaryingOut;
}
}
//
@ -805,17 +817,36 @@ TIntermAggregate* HlslParseContext::handleFunctionDefinition(const TSourceLoc& l
// if necessary.
TIntermNode* HlslParseContext::handleReturnValue(const TSourceLoc& loc, TIntermTyped* value)
{
TIntermTyped* converted = value;
if (currentFunctionType->getBasicType() == EbtVoid) {
error(loc, "void function cannot return a value", "return", "");
return intermediate.addBranch(EOpReturn, loc);
} else if (*currentFunctionType != value->getType()) {
TIntermTyped* converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value);
converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value);
if (converted) {
return intermediate.addBranch(EOpReturn, converted, loc);
} else {
error(loc, "type does not match, or is not convertible to, the function's return type", "return", "");
return intermediate.addBranch(EOpReturn, value, loc);
converted = value;
}
}
// The entry point needs to send any return value to the entry-point output instead.
// So, a subtree is built up, as a two-part sequence, with the first part being an
// assignment subtree, and the second part being a return with no value.
//
// Otherwise, for a non entry point, just return a return statement.
if (inEntrypoint) {
assert(entryPointOutput != nullptr); // should have been error tested at the beginning
TIntermSymbol* left = new TIntermSymbol(entryPointOutput->getUniqueId(), entryPointOutput->getName(),
entryPointOutput->getType());
TIntermNode* returnSequence = intermediate.addAssign(EOpAssign, left, converted, loc);
returnSequence = intermediate.makeAggregate(returnSequence);
returnSequence = intermediate.growAggregate(returnSequence, intermediate.addBranch(EOpReturn, loc));
returnSequence->getAsAggregate()->setOperator(EOpSequence);
return returnSequence;
} else
return intermediate.addBranch(EOpReturn, value, loc);
}

View File

@ -196,6 +196,7 @@ protected:
TString currentCaller; // name of last function body entered (not valid when at global scope)
TIdSetType inductiveLoopIds;
TVector<TIntermTyped*> needsIndexLimitationChecking;
TVariable* entryPointOutput;
//
// Geometry shader input arrays: