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

View File

@ -19,16 +19,19 @@ gl_FragCoord origin is upper left
0:9 move second child to first child (temp 4-component vector of float) 0:9 move second child to first child (temp 4-component vector of float)
0:9 'a4' (in 4-component vector of float) 0:9 'a4' (in 4-component vector of float)
0:9 'a5' (in 4-component vector of float) 0:9 'a5' (in 4-component vector of float)
0:10 Branch: Return with expression 0:10 Sequence
0:10 add (temp 4-component vector of float) 0:10 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 'a1' (in 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 'a2' (in 4-component vector of float) 0:10 'a1' (in 4-component vector of float)
0:10 'a3' (in 4-component vector of float) 0:10 'a2' (in 4-component vector of float)
0:10 'a4' (in 4-component vector of float) 0:10 'a3' (in 4-component vector of float)
0:10 'a5' (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 0:? Linker Objects
@ -55,26 +58,29 @@ gl_FragCoord origin is upper left
0:9 move second child to first child (temp 4-component vector of float) 0:9 move second child to first child (temp 4-component vector of float)
0:9 'a4' (in 4-component vector of float) 0:9 'a4' (in 4-component vector of float)
0:9 'a5' (in 4-component vector of float) 0:9 'a5' (in 4-component vector of float)
0:10 Branch: Return with expression 0:10 Sequence
0:10 add (temp 4-component vector of float) 0:10 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 'a1' (in 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 'a2' (in 4-component vector of float) 0:10 'a1' (in 4-component vector of float)
0:10 'a3' (in 4-component vector of float) 0:10 'a2' (in 4-component vector of float)
0:10 'a4' (in 4-component vector of float) 0:10 'a3' (in 4-component vector of float)
0:10 'a5' (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 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 25 // Id's are bound by 27
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 9 10 11 12 13 EntryPoint Fragment 4 "PixelShaderFunction" 9 10 11 12 13 16
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction" Name 4 "PixelShaderFunction"
Name 9 "a1" Name 9 "a1"
@ -82,6 +88,7 @@ gl_FragCoord origin is upper left
Name 11 "a3" Name 11 "a3"
Name 12 "a4" Name 12 "a4"
Name 13 "a5" Name 13 "a5"
Name 16 "@entryPointOutput"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
@ -92,6 +99,8 @@ gl_FragCoord origin is upper left
11(a3): 8(ptr) Variable Input 11(a3): 8(ptr) Variable Input
12(a4): 8(ptr) Variable Input 12(a4): 8(ptr) Variable Input
13(a5): 8(ptr) Variable Input 13(a5): 8(ptr) Variable Input
15: TypePointer Output 7(fvec4)
16(@entryPointOutput): 15(ptr) Variable Output
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
14: 7(fvec4) Load 13(a5) 14: 7(fvec4) Load 13(a5)
@ -99,14 +108,15 @@ gl_FragCoord origin is upper left
Store 11(a3) 14 Store 11(a3) 14
Store 10(a2) 14 Store 10(a2) 14
Store 9(a1) 14 Store 9(a1) 14
15: 7(fvec4) Load 9(a1) 17: 7(fvec4) Load 9(a1)
16: 7(fvec4) Load 10(a2) 18: 7(fvec4) Load 10(a2)
17: 7(fvec4) FAdd 15 16
18: 7(fvec4) Load 11(a3)
19: 7(fvec4) FAdd 17 18 19: 7(fvec4) FAdd 17 18
20: 7(fvec4) Load 12(a4) 20: 7(fvec4) Load 11(a3)
21: 7(fvec4) FAdd 19 20 21: 7(fvec4) FAdd 19 20
22: 7(fvec4) Load 13(a5) 22: 7(fvec4) Load 12(a4)
23: 7(fvec4) FAdd 21 22 23: 7(fvec4) FAdd 21 22
ReturnValue 23 24: 7(fvec4) Load 13(a5)
25: 7(fvec4) FAdd 23 24
Store 16(@entryPointOutput) 25
Return
FunctionEnd FunctionEnd

View File

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

View File

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

View File

@ -151,8 +151,11 @@ ERROR: node is still EOpNull!
0:41 1 (const int) 0:41 1 (const int)
0:41 Constant: 0:41 Constant:
0:41 1.000000 0:41 1.000000
0:43 Branch: Return with expression 0:43 Sequence
0:43 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 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:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)
@ -310,8 +313,11 @@ ERROR: node is still EOpNull!
0:41 1 (const int) 0:41 1 (const int)
0:41 Constant: 0:41 Constant:
0:41 1.000000 0:41 1.000000
0:43 Branch: Return with expression 0:43 Sequence
0:43 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 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:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray) 0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1DArray)

View File

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

View File

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

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

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -43,8 +43,11 @@ ERROR: node is still EOpNull!
0:20 1 (const int) 0:20 1 (const int)
0:20 Constant: 0:20 Constant:
0:20 1.000000 0:20 1.000000
0:22 Branch: Return with expression 0:22 Sequence
0:22 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 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:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex2dmsf4' (uniform texture2DMS) 0:? 'g_tTex2dmsf4' (uniform texture2DMS)
@ -93,8 +96,11 @@ ERROR: node is still EOpNull!
0:20 1 (const int) 0:20 1 (const int)
0:20 Constant: 0:20 Constant:
0:20 1.000000 0:20 1.000000
0:22 Branch: Return with expression 0:22 Sequence
0:22 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth}) 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:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler) 0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex2dmsf4' (uniform texture2DMS) 0:? 'g_tTex2dmsf4' (uniform texture2DMS)

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

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

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

View File

@ -11,9 +11,12 @@ local_size = (1, 1, 1)
0:7 GroupMemoryBarrierWithGroupSync (global void) 0:7 GroupMemoryBarrierWithGroupSync (global void)
0:8 WorkgroupMemoryBarrier (global void) 0:8 WorkgroupMemoryBarrier (global void)
0:9 WorkgroupMemoryBarrierWithGroupSync (global void) 0:9 WorkgroupMemoryBarrierWithGroupSync (global void)
0:11 Branch: Return with expression 0:11 Sequence
0:11 Constant: 0:11 move second child to first child (temp float)
0:11 0.000000 0:? '@entryPointOutput' (out float)
0:11 Constant:
0:11 0.000000
0:11 Branch: Return
0:? Linker Objects 0:? Linker Objects
@ -32,21 +35,25 @@ local_size = (1, 1, 1)
0:7 GroupMemoryBarrierWithGroupSync (global void) 0:7 GroupMemoryBarrierWithGroupSync (global void)
0:8 WorkgroupMemoryBarrier (global void) 0:8 WorkgroupMemoryBarrier (global void)
0:9 WorkgroupMemoryBarrierWithGroupSync (global void) 0:9 WorkgroupMemoryBarrierWithGroupSync (global void)
0:11 Branch: Return with expression 0:11 Sequence
0:11 Constant: 0:11 move second child to first child (temp float)
0:11 0.000000 0:? '@entryPointOutput' (out float)
0:11 Constant:
0:11 0.000000
0:11 Branch: Return
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 15 // Id's are bound by 17
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "ComputeShaderFunction" EntryPoint GLCompute 4 "ComputeShaderFunction" 14
ExecutionMode 4 LocalSize 1 1 1 ExecutionMode 4 LocalSize 1 1 1
Name 4 "ComputeShaderFunction" Name 4 "ComputeShaderFunction"
Name 14 "@entryPointOutput"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeInt 32 0 6: TypeInt 32 0
@ -56,7 +63,9 @@ local_size = (1, 1, 1)
10: 6(int) Constant 2 10: 6(int) Constant 2
11: 6(int) Constant 256 11: 6(int) Constant 256
12: TypeFloat 32 12: TypeFloat 32
13: 12(float) Constant 0 13: TypePointer Output 12(float)
14(@entryPointOutput): 13(ptr) Variable Output
15: 12(float) Constant 0
4(ComputeShaderFunction): 2 Function None 3 4(ComputeShaderFunction): 2 Function None 3
5: Label 5: Label
MemoryBarrier 7 8 MemoryBarrier 7 8
@ -65,5 +74,6 @@ local_size = (1, 1, 1)
ControlBarrier 7 7 9 ControlBarrier 7 7 9
MemoryBarrier 10 11 MemoryBarrier 10 11
ControlBarrier 10 10 11 ControlBarrier 10 10 11
ReturnValue 13 Store 14(@entryPointOutput) 15
Return
FunctionEnd FunctionEnd

View File

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

View File

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

View File

@ -56,12 +56,15 @@ ERROR: node is still EOpNull!
0:30 ERROR: Bad unary op 0:30 ERROR: Bad unary op
(global 4-component vector of uint) (global 4-component vector of uint)
0:30 'inF0' (in 4-component vector of float) 0:30 'inF0' (in 4-component vector of float)
0:32 Branch: Return with expression 0:32 Sequence
0:? Constant: 0:32 move second child to first child (temp 4-component vector of float)
0:? 1.000000 0:? '@entryPointOutput' (out 4-component vector of float)
0:? 2.000000 0:? Constant:
0:? 3.000000 0:? 1.000000
0:? 4.000000 0:? 2.000000
0:? 3.000000
0:? 4.000000
0:32 Branch: Return
0:? Linker Objects 0:? Linker Objects
@ -118,12 +121,15 @@ ERROR: node is still EOpNull!
0:30 ERROR: Bad unary op 0:30 ERROR: Bad unary op
(global 4-component vector of uint) (global 4-component vector of uint)
0:30 'inF0' (in 4-component vector of float) 0:30 'inF0' (in 4-component vector of float)
0:32 Branch: Return with expression 0:32 Sequence
0:? Constant: 0:32 move second child to first child (temp 4-component vector of float)
0:? 1.000000 0:? '@entryPointOutput' (out 4-component vector of float)
0:? 2.000000 0:? Constant:
0:? 3.000000 0:? 1.000000
0:? 4.000000 0:? 2.000000
0:? 3.000000
0:? 4.000000
0:32 Branch: Return
0:? Linker Objects 0:? Linker Objects
SPIR-V is not generated for failed compile or link SPIR-V is not generated for failed compile or link

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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

View File

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

View File

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

View File

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -15,8 +15,11 @@ gl_FragCoord origin is upper left
0:? 0.000000 0:? 0.000000
0:? 0.000000 0:? 0.000000
0:? 1.000000 0:? 1.000000
0:19 Branch: Return with expression 0:19 Sequence
0:19 'psout' (temp structure{temp 4-component vector of float Color}) 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:? Linker Objects
0:? 'TestTexture' (uniform texture2D) 0:? 'TestTexture' (uniform texture2D)
0:? 'TestUF' (uniform 4-component vector of float) 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:? 0.000000 0:? 0.000000
0:? 1.000000 0:? 1.000000
0:19 Branch: Return with expression 0:19 Sequence
0:19 'psout' (temp structure{temp 4-component vector of float Color}) 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:? Linker Objects
0:? 'TestTexture' (uniform texture2D) 0:? 'TestTexture' (uniform texture2D)
0:? 'TestUF' (uniform 4-component vector of float) 0:? 'TestUF' (uniform 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 25 // Id's are bound by 27
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 19
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "main" Name 4 "main"
Name 8 "PS_OUTPUT" Name 8 "PS_OUTPUT"
MemberName 8(PS_OUTPUT) 0 "Color" MemberName 8(PS_OUTPUT) 0 "Color"
Name 10 "psout" Name 10 "psout"
Name 22 "TestTexture" Name 19 "@entryPointOutput"
Name 24 "TestUF" Name 24 "TestTexture"
Decorate 22(TestTexture) DescriptorSet 0 Name 26 "TestUF"
Decorate 24(TestTexture) DescriptorSet 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
@ -75,16 +82,19 @@ gl_FragCoord origin is upper left
14: 6(float) Constant 1065353216 14: 6(float) Constant 1065353216
15: 7(fvec4) ConstantComposite 13 13 13 14 15: 7(fvec4) ConstantComposite 13 13 13 14
16: TypePointer Function 7(fvec4) 16: TypePointer Function 7(fvec4)
20: TypeImage 6(float) 2D sampled format:Unknown 18: TypePointer Output 8(PS_OUTPUT)
21: TypePointer UniformConstant 20 19(@entryPointOutput): 18(ptr) Variable Output
22(TestTexture): 21(ptr) Variable UniformConstant 22: TypeImage 6(float) 2D sampled format:Unknown
23: TypePointer UniformConstant 7(fvec4) 23: TypePointer UniformConstant 22
24(TestUF): 23(ptr) Variable UniformConstant 24(TestTexture): 23(ptr) Variable UniformConstant
25: TypePointer UniformConstant 7(fvec4)
26(TestUF): 25(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
10(psout): 9(ptr) Variable Function 10(psout): 9(ptr) Variable Function
17: 16(ptr) AccessChain 10(psout) 12 17: 16(ptr) AccessChain 10(psout) 12
Store 17 15 Store 17 15
18:8(PS_OUTPUT) Load 10(psout) 20:8(PS_OUTPUT) Load 10(psout)
ReturnValue 18 Store 19(@entryPointOutput) 20
Return
FunctionEnd 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 '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 Constant:
0:40 7 (const int) 0:40 7 (const int)
0:42 Branch: Return with expression 0:42 Sequence
0:42 'input' (in 4-component vector of float) 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:? 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:? '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}) 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 '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 Constant:
0:40 7 (const int) 0:40 7 (const int)
0:42 Branch: Return with expression 0:42 Sequence
0:42 'input' (in 4-component vector of float) 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:? 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:? '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}) 0:? 's2' (global structure{temp 4-component vector of float i})
@ -65,12 +71,12 @@ gl_FragCoord origin is upper left
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 44 // Id's are bound by 46
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 34 EntryPoint Fragment 4 "PixelShaderFunction" 34 36
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction" Name 4 "PixelShaderFunction"
Name 8 "FS" Name 8 "FS"
@ -89,21 +95,22 @@ gl_FragCoord origin is upper left
MemberName 25 6 "ff3" MemberName 25 6 "ff3"
MemberName 25 7 "ff4" MemberName 25 7 "ff4"
Name 27 "s4" Name 27 "s4"
Name 34 "input" Name 34 "@entryPointOutput"
Name 37 "myS" Name 36 "input"
MemberName 37(myS) 0 "b" Name 39 "myS"
MemberName 37(myS) 1 "c" MemberName 39(myS) 0 "b"
MemberName 37(myS) 2 "a" MemberName 39(myS) 1 "c"
MemberName 37(myS) 3 "d" MemberName 39(myS) 2 "a"
Name 39 "s1" MemberName 39(myS) 3 "d"
Name 42 "ff5" Name 41 "s1"
Name 43 "ff6" Name 44 "ff5"
Name 45 "ff6"
MemberDecorate 25 4 BuiltIn FrontFacing MemberDecorate 25 4 BuiltIn FrontFacing
MemberDecorate 25 7 BuiltIn FragCoord MemberDecorate 25 7 BuiltIn FragCoord
Decorate 42(ff5) Offset 20 Decorate 44(ff5) Offset 20
Decorate 42(ff5) Binding 5 Decorate 44(ff5) Binding 5
Decorate 43(ff6) Offset 36 Decorate 45(ff6) Offset 36
Decorate 43(ff6) Binding 8 Decorate 45(ff6) Binding 8
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeBool 6: TypeBool
@ -123,15 +130,17 @@ gl_FragCoord origin is upper left
27(s4): 26(ptr) Variable Private 27(s4): 26(ptr) Variable Private
28: 22(int) Constant 7 28: 22(int) Constant 7
29: TypePointer Private 18(fvec4) 29: TypePointer Private 18(fvec4)
33: TypePointer Input 18(fvec4) 33: TypePointer Output 18(fvec4)
34(input): 33(ptr) Variable Input 34(@entryPointOutput): 33(ptr) Variable Output
37(myS): TypeStruct 6(bool) 6(bool) 18(fvec4) 18(fvec4) 35: TypePointer Input 18(fvec4)
38: TypePointer Private 37(myS) 36(input): 35(ptr) Variable Input
39(s1): 38(ptr) Variable Private 39(myS): TypeStruct 6(bool) 6(bool) 18(fvec4) 18(fvec4)
40: TypeVector 17(float) 3 40: TypePointer Private 39(myS)
41: TypePointer Private 40(fvec3) 41(s1): 40(ptr) Variable Private
42(ff5): 41(ptr) Variable Private 42: TypeVector 17(float) 3
43(ff6): 41(ptr) Variable Private 43: TypePointer Private 42(fvec3)
44(ff5): 43(ptr) Variable Private
45(ff6): 43(ptr) Variable Private
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
10(s3): 9(ptr) Variable Function 10(s3): 9(ptr) Variable Function
@ -145,6 +154,7 @@ gl_FragCoord origin is upper left
31: 18(fvec4) Load 30 31: 18(fvec4) Load 30
32: 29(ptr) AccessChain 21(s2) 23 32: 29(ptr) AccessChain 21(s2) 23
Store 32 31 Store 32 31
35: 18(fvec4) Load 34(input) 37: 18(fvec4) Load 36(input)
ReturnValue 35 Store 34(@entryPointOutput) 37
Return
FunctionEnd FunctionEnd

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -7,13 +7,13 @@ Linked fragment stage:
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 183 // Id's are bound by 185
Capability Shader Capability Shader
Capability Sampled1D Capability Sampled1D
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main" 180
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Decorate 41 DescriptorSet 0 Decorate 41 DescriptorSet 0
Decorate 41 Binding 0 Decorate 41 Binding 0
@ -31,10 +31,10 @@ Linked fragment stage:
Decorate 156 DescriptorSet 0 Decorate 156 DescriptorSet 0
Decorate 165 DescriptorSet 0 Decorate 165 DescriptorSet 0
MemberDecorate 171 1 BuiltIn FragDepth MemberDecorate 171 1 BuiltIn FragDepth
Decorate 180 DescriptorSet 0
Decorate 181 DescriptorSet 0
Decorate 182 DescriptorSet 0 Decorate 182 DescriptorSet 0
Decorate 182 Binding 1 Decorate 183 DescriptorSet 0
Decorate 184 DescriptorSet 0
Decorate 184 Binding 1
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeInt 32 1 6: TypeInt 32 1
@ -134,9 +134,11 @@ Linked fragment stage:
174: 35(float) Constant 1065353216 174: 35(float) Constant 1065353216
175: 36(fvec4) ConstantComposite 174 174 174 174 175: 36(fvec4) ConstantComposite 174 174 174 174
177: TypePointer Function 35(float) 177: TypePointer Function 35(float)
180: 44(ptr) Variable UniformConstant 179: TypePointer Output 171(struct)
181: 44(ptr) Variable UniformConstant 180: 179(ptr) Variable Output
182: 40(ptr) Variable UniformConstant 182: 44(ptr) Variable UniformConstant
183: 44(ptr) Variable UniformConstant
184: 40(ptr) Variable UniformConstant
4: 2 Function None 3 4: 2 Function None 3
5: Label 5: Label
9: 8(ptr) Variable Function 9: 8(ptr) Variable Function
@ -241,6 +243,7 @@ Linked fragment stage:
Store 176 175 Store 176 175
178: 177(ptr) AccessChain 173 10 178: 177(ptr) AccessChain 173 10
Store 178 174 Store 178 174
179: 171(struct) Load 173 181: 171(struct) Load 173
ReturnValue 179 Store 180 181
Return
FunctionEnd 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 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). // For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "Overload400-PrecQual.1442" #define GLSLANG_REVISION "Overload400-PrecQual.1444"
#define GLSLANG_DATE "26-Aug-2016" #define GLSLANG_DATE "28-Aug-2016"

View File

@ -83,6 +83,7 @@ INSTANTIATE_TEST_CASE_P(
{"hlsl.constructexpr.frag", "main"}, {"hlsl.constructexpr.frag", "main"},
{"hlsl.discard.frag", "PixelShaderFunction"}, {"hlsl.discard.frag", "PixelShaderFunction"},
{"hlsl.doLoop.frag", "PixelShaderFunction"}, {"hlsl.doLoop.frag", "PixelShaderFunction"},
{"hlsl.entry-out.frag", "PixelShaderFunction"},
{"hlsl.float1.frag", "PixelShaderFunction"}, {"hlsl.float1.frag", "PixelShaderFunction"},
{"hlsl.float4.frag", "PixelShaderFunction"}, {"hlsl.float4.frag", "PixelShaderFunction"},
{"hlsl.forLoop.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), contextPragma(true, false), loopNestingLevel(0), structNestingLevel(0), controlFlowNestingLevel(0),
postMainReturn(false), postMainReturn(false),
limits(resources.limits), limits(resources.limits),
afterEOF(false) afterEOF(false),
entryPointOutput(nullptr)
{ {
// ensure we always have a linkage node, even if empty, to simplify tree topology algorithms // ensure we always have a linkage node, even if empty, to simplify tree topology algorithms
linkage = new TIntermAggregate; linkage = new TIntermAggregate;
@ -754,9 +755,20 @@ TIntermAggregate* HlslParseContext::handleFunctionDefinition(const TSourceLoc& l
inEntrypoint = (function.getName() == intermediate.getEntryPoint().c_str()); inEntrypoint = (function.getName() == intermediate.getEntryPoint().c_str());
if (inEntrypoint) { if (inEntrypoint) {
// parameters are actually shader-level inputs // in parameters are actually shader-scoped inputs (in)
for (int i = 0; i < function.getParamCount(); i++) for (int i = 0; i < function.getParamCount(); i++) {
function[i].type->getQualifier().storage = EvqVaryingIn; 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. // if necessary.
TIntermNode* HlslParseContext::handleReturnValue(const TSourceLoc& loc, TIntermTyped* value) TIntermNode* HlslParseContext::handleReturnValue(const TSourceLoc& loc, TIntermTyped* value)
{ {
TIntermTyped* converted = value;
if (currentFunctionType->getBasicType() == EbtVoid) { if (currentFunctionType->getBasicType() == EbtVoid) {
error(loc, "void function cannot return a value", "return", ""); error(loc, "void function cannot return a value", "return", "");
return intermediate.addBranch(EOpReturn, loc); return intermediate.addBranch(EOpReturn, loc);
} else if (*currentFunctionType != value->getType()) { } else if (*currentFunctionType != value->getType()) {
TIntermTyped* converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value); converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value);
if (converted) { if (converted) {
return intermediate.addBranch(EOpReturn, converted, loc); return intermediate.addBranch(EOpReturn, converted, loc);
} else { } else {
error(loc, "type does not match, or is not convertible to, the function's return type", "return", ""); 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 } else
return intermediate.addBranch(EOpReturn, value, loc); 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) TString currentCaller; // name of last function body entered (not valid when at global scope)
TIdSetType inductiveLoopIds; TIdSetType inductiveLoopIds;
TVector<TIntermTyped*> needsIndexLimitationChecking; TVector<TIntermTyped*> needsIndexLimitationChecking;
TVariable* entryPointOutput;
// //
// Geometry shader input arrays: // Geometry shader input arrays: