glslang/Test/baseResults/hlsl.mintypes.frag.out

438 lines
23 KiB
Plaintext

hlsl.mintypes.frag
Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:9 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
0:9 Function Parameters:
0:? Sequence
0:85 add ( temp mediump 2-component vector of float)
0:85 'mf16_2' ( temp mediump 2-component vector of float)
0:85 'mf16' ( temp mediump float)
0:86 add ( temp mediump 2-component vector of float)
0:86 'mf10_2' ( temp mediump 2-component vector of float)
0:86 'mf10' ( temp mediump float)
0:87 add ( temp mediump 2-component vector of int)
0:87 'mi16_2' ( temp mediump 2-component vector of int)
0:87 'mi16' ( temp mediump int)
0:88 add ( temp mediump 2-component vector of int)
0:88 'mi12_2' ( temp mediump 2-component vector of int)
0:88 'mi12' ( temp mediump int)
0:89 add ( temp mediump 2-component vector of uint)
0:89 'mu16_2' ( temp mediump 2-component vector of uint)
0:89 'mu16' ( temp mediump uint)
0:91 matrix-times-vector ( temp mediump 4-component vector of float)
0:91 'mf16_2x4' ( temp mediump 2X4 matrix of float)
0:91 'mf16_2' ( temp mediump 2-component vector of float)
0:92 matrix-times-vector ( temp mediump 4-component vector of float)
0:92 'mf16_3x4' ( temp mediump 3X4 matrix of float)
0:92 'mf16_3' ( temp mediump 3-component vector of float)
0:93 matrix-times-vector ( temp mediump 4-component vector of float)
0:93 'mf16_4x4' ( temp mediump 4X4 matrix of float)
0:93 'mf16_4' ( temp mediump 4-component vector of float)
0:94 vector-times-matrix ( temp mediump 4-component vector of float)
0:94 'mf16_2' ( temp mediump 2-component vector of float)
0:94 'mf16_4x2' ( temp mediump 4X2 matrix of float)
0:95 vector-times-matrix ( temp mediump 4-component vector of float)
0:95 'mf16_3' ( temp mediump 3-component vector of float)
0:95 'mf16_4x3' ( temp mediump 4X3 matrix of float)
0:96 vector-times-matrix ( temp mediump 4-component vector of float)
0:96 'mf16_4' ( temp mediump 4-component vector of float)
0:96 'mf16_4x4' ( temp mediump 4X4 matrix of float)
0:98 matrix-times-vector ( temp mediump 4-component vector of float)
0:98 'mf10_2x4' ( temp mediump 2X4 matrix of float)
0:98 'mf10_2' ( temp mediump 2-component vector of float)
0:99 matrix-times-vector ( temp mediump 4-component vector of float)
0:99 'mf10_3x4' ( temp mediump 3X4 matrix of float)
0:99 'mf10_3' ( temp mediump 3-component vector of float)
0:100 matrix-times-vector ( temp mediump 4-component vector of float)
0:100 'mf10_4x4' ( temp mediump 4X4 matrix of float)
0:100 'mf10_4' ( temp mediump 4-component vector of float)
0:101 vector-times-matrix ( temp mediump 4-component vector of float)
0:101 'mf10_2' ( temp mediump 2-component vector of float)
0:101 'mf10_4x2' ( temp mediump 4X2 matrix of float)
0:102 vector-times-matrix ( temp mediump 4-component vector of float)
0:102 'mf10_3' ( temp mediump 3-component vector of float)
0:102 'mf10_4x3' ( temp mediump 4X3 matrix of float)
0:103 vector-times-matrix ( temp mediump 4-component vector of float)
0:103 'mf10_4' ( temp mediump 4-component vector of float)
0:103 'mf10_4x4' ( temp mediump 4X4 matrix of float)
0:106 move second child to first child ( temp 4-component vector of float)
0:106 Color: direct index for structure ( temp 4-component vector of float)
0:106 'psout' ( temp structure{ temp 4-component vector of float Color})
0:106 Constant:
0:106 0 (const int)
0:106 Constant:
0:106 0.000000
0:106 0.000000
0:106 0.000000
0:106 0.000000
0:107 Branch: Return with expression
0:107 'psout' ( temp structure{ temp 4-component vector of float Color})
0:9 Function Definition: main( ( temp void)
0:9 Function Parameters:
0:? Sequence
0:9 Sequence
0:9 move second child to first child ( temp 4-component vector of float)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
0:9 Color: direct index for structure ( temp 4-component vector of float)
0:9 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
0:9 Constant:
0:9 0 (const int)
0:? Linker Objects
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform mediump float b1a, uniform mediump float b1b})
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
Linked fragment stage:
Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:9 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
0:9 Function Parameters:
0:? Sequence
0:85 add ( temp mediump 2-component vector of float)
0:85 'mf16_2' ( temp mediump 2-component vector of float)
0:85 'mf16' ( temp mediump float)
0:86 add ( temp mediump 2-component vector of float)
0:86 'mf10_2' ( temp mediump 2-component vector of float)
0:86 'mf10' ( temp mediump float)
0:87 add ( temp mediump 2-component vector of int)
0:87 'mi16_2' ( temp mediump 2-component vector of int)
0:87 'mi16' ( temp mediump int)
0:88 add ( temp mediump 2-component vector of int)
0:88 'mi12_2' ( temp mediump 2-component vector of int)
0:88 'mi12' ( temp mediump int)
0:89 add ( temp mediump 2-component vector of uint)
0:89 'mu16_2' ( temp mediump 2-component vector of uint)
0:89 'mu16' ( temp mediump uint)
0:91 matrix-times-vector ( temp mediump 4-component vector of float)
0:91 'mf16_2x4' ( temp mediump 2X4 matrix of float)
0:91 'mf16_2' ( temp mediump 2-component vector of float)
0:92 matrix-times-vector ( temp mediump 4-component vector of float)
0:92 'mf16_3x4' ( temp mediump 3X4 matrix of float)
0:92 'mf16_3' ( temp mediump 3-component vector of float)
0:93 matrix-times-vector ( temp mediump 4-component vector of float)
0:93 'mf16_4x4' ( temp mediump 4X4 matrix of float)
0:93 'mf16_4' ( temp mediump 4-component vector of float)
0:94 vector-times-matrix ( temp mediump 4-component vector of float)
0:94 'mf16_2' ( temp mediump 2-component vector of float)
0:94 'mf16_4x2' ( temp mediump 4X2 matrix of float)
0:95 vector-times-matrix ( temp mediump 4-component vector of float)
0:95 'mf16_3' ( temp mediump 3-component vector of float)
0:95 'mf16_4x3' ( temp mediump 4X3 matrix of float)
0:96 vector-times-matrix ( temp mediump 4-component vector of float)
0:96 'mf16_4' ( temp mediump 4-component vector of float)
0:96 'mf16_4x4' ( temp mediump 4X4 matrix of float)
0:98 matrix-times-vector ( temp mediump 4-component vector of float)
0:98 'mf10_2x4' ( temp mediump 2X4 matrix of float)
0:98 'mf10_2' ( temp mediump 2-component vector of float)
0:99 matrix-times-vector ( temp mediump 4-component vector of float)
0:99 'mf10_3x4' ( temp mediump 3X4 matrix of float)
0:99 'mf10_3' ( temp mediump 3-component vector of float)
0:100 matrix-times-vector ( temp mediump 4-component vector of float)
0:100 'mf10_4x4' ( temp mediump 4X4 matrix of float)
0:100 'mf10_4' ( temp mediump 4-component vector of float)
0:101 vector-times-matrix ( temp mediump 4-component vector of float)
0:101 'mf10_2' ( temp mediump 2-component vector of float)
0:101 'mf10_4x2' ( temp mediump 4X2 matrix of float)
0:102 vector-times-matrix ( temp mediump 4-component vector of float)
0:102 'mf10_3' ( temp mediump 3-component vector of float)
0:102 'mf10_4x3' ( temp mediump 4X3 matrix of float)
0:103 vector-times-matrix ( temp mediump 4-component vector of float)
0:103 'mf10_4' ( temp mediump 4-component vector of float)
0:103 'mf10_4x4' ( temp mediump 4X4 matrix of float)
0:106 move second child to first child ( temp 4-component vector of float)
0:106 Color: direct index for structure ( temp 4-component vector of float)
0:106 'psout' ( temp structure{ temp 4-component vector of float Color})
0:106 Constant:
0:106 0 (const int)
0:106 Constant:
0:106 0.000000
0:106 0.000000
0:106 0.000000
0:106 0.000000
0:107 Branch: Return with expression
0:107 'psout' ( temp structure{ temp 4-component vector of float Color})
0:9 Function Definition: main( ( temp void)
0:9 Function Parameters:
0:? Sequence
0:9 Sequence
0:9 move second child to first child ( temp 4-component vector of float)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
0:9 Color: direct index for structure ( temp 4-component vector of float)
0:9 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
0:9 Constant:
0:9 0 (const int)
0:? Linker Objects
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform mediump float b1a, uniform mediump float b1b})
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 132
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 126
ExecutionMode 4 OriginUpperLeft
Source HLSL 500
Name 4 "main"
Name 8 "PS_OUTPUT"
MemberName 8(PS_OUTPUT) 0 "Color"
Name 10 "@main("
Name 14 "mf16_2"
Name 17 "mf16"
Name 21 "mf10_2"
Name 23 "mf10"
Name 30 "mi16_2"
Name 33 "mi16"
Name 37 "mi12_2"
Name 39 "mi12"
Name 46 "mu16_2"
Name 49 "mu16"
Name 55 "mf16_2x4"
Name 61 "mf16_3x4"
Name 65 "mf16_3"
Name 70 "mf16_4x4"
Name 73 "mf16_4"
Name 79 "mf16_4x2"
Name 85 "mf16_4x3"
Name 91 "mf10_2x4"
Name 95 "mf10_3x4"
Name 97 "mf10_3"
Name 100 "mf10_4x4"
Name 102 "mf10_4"
Name 106 "mf10_4x2"
Name 110 "mf10_4x3"
Name 117 "psout"
Name 126 "@entryPointOutput.Color"
Name 129 "$Global"
MemberName 129($Global) 0 "b1a"
MemberName 129($Global) 1 "b1b"
Name 131 ""
Decorate 14(mf16_2) RelaxedPrecision
Decorate 15 RelaxedPrecision
Decorate 17(mf16) RelaxedPrecision
Decorate 18 RelaxedPrecision
Decorate 19 RelaxedPrecision
Decorate 20 RelaxedPrecision
Decorate 21(mf10_2) RelaxedPrecision
Decorate 22 RelaxedPrecision
Decorate 23(mf10) RelaxedPrecision
Decorate 24 RelaxedPrecision
Decorate 25 RelaxedPrecision
Decorate 26 RelaxedPrecision
Decorate 30(mi16_2) RelaxedPrecision
Decorate 31 RelaxedPrecision
Decorate 33(mi16) RelaxedPrecision
Decorate 34 RelaxedPrecision
Decorate 35 RelaxedPrecision
Decorate 36 RelaxedPrecision
Decorate 37(mi12_2) RelaxedPrecision
Decorate 38 RelaxedPrecision
Decorate 39(mi12) RelaxedPrecision
Decorate 40 RelaxedPrecision
Decorate 41 RelaxedPrecision
Decorate 42 RelaxedPrecision
Decorate 46(mu16_2) RelaxedPrecision
Decorate 47 RelaxedPrecision
Decorate 49(mu16) RelaxedPrecision
Decorate 50 RelaxedPrecision
Decorate 51 RelaxedPrecision
Decorate 52 RelaxedPrecision
Decorate 55(mf16_2x4) RelaxedPrecision
Decorate 56 RelaxedPrecision
Decorate 57 RelaxedPrecision
Decorate 58 RelaxedPrecision
Decorate 61(mf16_3x4) RelaxedPrecision
Decorate 62 RelaxedPrecision
Decorate 65(mf16_3) RelaxedPrecision
Decorate 66 RelaxedPrecision
Decorate 67 RelaxedPrecision
Decorate 70(mf16_4x4) RelaxedPrecision
Decorate 71 RelaxedPrecision
Decorate 73(mf16_4) RelaxedPrecision
Decorate 74 RelaxedPrecision
Decorate 75 RelaxedPrecision
Decorate 76 RelaxedPrecision
Decorate 79(mf16_4x2) RelaxedPrecision
Decorate 80 RelaxedPrecision
Decorate 81 RelaxedPrecision
Decorate 82 RelaxedPrecision
Decorate 85(mf16_4x3) RelaxedPrecision
Decorate 86 RelaxedPrecision
Decorate 87 RelaxedPrecision
Decorate 88 RelaxedPrecision
Decorate 89 RelaxedPrecision
Decorate 90 RelaxedPrecision
Decorate 91(mf10_2x4) RelaxedPrecision
Decorate 92 RelaxedPrecision
Decorate 93 RelaxedPrecision
Decorate 94 RelaxedPrecision
Decorate 95(mf10_3x4) RelaxedPrecision
Decorate 96 RelaxedPrecision
Decorate 97(mf10_3) RelaxedPrecision
Decorate 98 RelaxedPrecision
Decorate 99 RelaxedPrecision
Decorate 100(mf10_4x4) RelaxedPrecision
Decorate 101 RelaxedPrecision
Decorate 102(mf10_4) RelaxedPrecision
Decorate 103 RelaxedPrecision
Decorate 104 RelaxedPrecision
Decorate 105 RelaxedPrecision
Decorate 106(mf10_4x2) RelaxedPrecision
Decorate 107 RelaxedPrecision
Decorate 108 RelaxedPrecision
Decorate 109 RelaxedPrecision
Decorate 110(mf10_4x3) RelaxedPrecision
Decorate 111 RelaxedPrecision
Decorate 112 RelaxedPrecision
Decorate 113 RelaxedPrecision
Decorate 114 RelaxedPrecision
Decorate 115 RelaxedPrecision
Decorate 126(@entryPointOutput.Color) Location 0
MemberDecorate 129($Global) 0 RelaxedPrecision
MemberDecorate 129($Global) 0 Offset 0
MemberDecorate 129($Global) 1 RelaxedPrecision
MemberDecorate 129($Global) 1 Offset 4
Decorate 129($Global) Block
Decorate 131 DescriptorSet 0
Decorate 131 Binding 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8(PS_OUTPUT): TypeStruct 7(fvec4)
9: TypeFunction 8(PS_OUTPUT)
12: TypeVector 6(float) 2
13: TypePointer Function 12(fvec2)
16: TypePointer Function 6(float)
27: TypeInt 32 1
28: TypeVector 27(int) 2
29: TypePointer Function 28(ivec2)
32: TypePointer Function 27(int)
43: TypeInt 32 0
44: TypeVector 43(int) 2
45: TypePointer Function 44(ivec2)
48: TypePointer Function 43(int)
53: TypeMatrix 7(fvec4) 2
54: TypePointer Function 53
59: TypeMatrix 7(fvec4) 3
60: TypePointer Function 59
63: TypeVector 6(float) 3
64: TypePointer Function 63(fvec3)
68: TypeMatrix 7(fvec4) 4
69: TypePointer Function 68
72: TypePointer Function 7(fvec4)
77: TypeMatrix 12(fvec2) 4
78: TypePointer Function 77
83: TypeMatrix 63(fvec3) 4
84: TypePointer Function 83
116: TypePointer Function 8(PS_OUTPUT)
118: 27(int) Constant 0
119: 6(float) Constant 0
120: 7(fvec4) ConstantComposite 119 119 119 119
125: TypePointer Output 7(fvec4)
126(@entryPointOutput.Color): 125(ptr) Variable Output
129($Global): TypeStruct 6(float) 6(float)
130: TypePointer Uniform 129($Global)
131: 130(ptr) Variable Uniform
4(main): 2 Function None 3
5: Label
127:8(PS_OUTPUT) FunctionCall 10(@main()
128: 7(fvec4) CompositeExtract 127 0
Store 126(@entryPointOutput.Color) 128
Return
FunctionEnd
10(@main():8(PS_OUTPUT) Function None 9
11: Label
14(mf16_2): 13(ptr) Variable Function
17(mf16): 16(ptr) Variable Function
21(mf10_2): 13(ptr) Variable Function
23(mf10): 16(ptr) Variable Function
30(mi16_2): 29(ptr) Variable Function
33(mi16): 32(ptr) Variable Function
37(mi12_2): 29(ptr) Variable Function
39(mi12): 32(ptr) Variable Function
46(mu16_2): 45(ptr) Variable Function
49(mu16): 48(ptr) Variable Function
55(mf16_2x4): 54(ptr) Variable Function
61(mf16_3x4): 60(ptr) Variable Function
65(mf16_3): 64(ptr) Variable Function
70(mf16_4x4): 69(ptr) Variable Function
73(mf16_4): 72(ptr) Variable Function
79(mf16_4x2): 78(ptr) Variable Function
85(mf16_4x3): 84(ptr) Variable Function
91(mf10_2x4): 54(ptr) Variable Function
95(mf10_3x4): 60(ptr) Variable Function
97(mf10_3): 64(ptr) Variable Function
100(mf10_4x4): 69(ptr) Variable Function
102(mf10_4): 72(ptr) Variable Function
106(mf10_4x2): 78(ptr) Variable Function
110(mf10_4x3): 84(ptr) Variable Function
117(psout): 116(ptr) Variable Function
15: 12(fvec2) Load 14(mf16_2)
18: 6(float) Load 17(mf16)
19: 12(fvec2) CompositeConstruct 18 18
20: 12(fvec2) FAdd 15 19
22: 12(fvec2) Load 21(mf10_2)
24: 6(float) Load 23(mf10)
25: 12(fvec2) CompositeConstruct 24 24
26: 12(fvec2) FAdd 22 25
31: 28(ivec2) Load 30(mi16_2)
34: 27(int) Load 33(mi16)
35: 28(ivec2) CompositeConstruct 34 34
36: 28(ivec2) IAdd 31 35
38: 28(ivec2) Load 37(mi12_2)
40: 27(int) Load 39(mi12)
41: 28(ivec2) CompositeConstruct 40 40
42: 28(ivec2) IAdd 38 41
47: 44(ivec2) Load 46(mu16_2)
50: 43(int) Load 49(mu16)
51: 44(ivec2) CompositeConstruct 50 50
52: 44(ivec2) IAdd 47 51
56: 53 Load 55(mf16_2x4)
57: 12(fvec2) Load 14(mf16_2)
58: 7(fvec4) MatrixTimesVector 56 57
62: 59 Load 61(mf16_3x4)
66: 63(fvec3) Load 65(mf16_3)
67: 7(fvec4) MatrixTimesVector 62 66
71: 68 Load 70(mf16_4x4)
74: 7(fvec4) Load 73(mf16_4)
75: 7(fvec4) MatrixTimesVector 71 74
76: 12(fvec2) Load 14(mf16_2)
80: 77 Load 79(mf16_4x2)
81: 7(fvec4) VectorTimesMatrix 76 80
82: 63(fvec3) Load 65(mf16_3)
86: 83 Load 85(mf16_4x3)
87: 7(fvec4) VectorTimesMatrix 82 86
88: 7(fvec4) Load 73(mf16_4)
89: 68 Load 70(mf16_4x4)
90: 7(fvec4) VectorTimesMatrix 88 89
92: 53 Load 91(mf10_2x4)
93: 12(fvec2) Load 21(mf10_2)
94: 7(fvec4) MatrixTimesVector 92 93
96: 59 Load 95(mf10_3x4)
98: 63(fvec3) Load 97(mf10_3)
99: 7(fvec4) MatrixTimesVector 96 98
101: 68 Load 100(mf10_4x4)
103: 7(fvec4) Load 102(mf10_4)
104: 7(fvec4) MatrixTimesVector 101 103
105: 12(fvec2) Load 21(mf10_2)
107: 77 Load 106(mf10_4x2)
108: 7(fvec4) VectorTimesMatrix 105 107
109: 63(fvec3) Load 97(mf10_3)
111: 83 Load 110(mf10_4x3)
112: 7(fvec4) VectorTimesMatrix 109 111
113: 7(fvec4) Load 102(mf10_4)
114: 68 Load 100(mf10_4x4)
115: 7(fvec4) VectorTimesMatrix 113 114
121: 72(ptr) AccessChain 117(psout) 118
Store 121 120
122:8(PS_OUTPUT) Load 117(psout)
ReturnValue 122
FunctionEnd