1 hlsl.numericsuffixes.frag 2 Shader version: 500 3 gl_FragCoord origin is upper left 4 0:? Sequence 5 0:5 Function Definition: @main( ( temp structure{ temp 4-component vector of float color}) 6 0:5 Function Parameters: 7 0:? Sequence 8 0:7 Sequence 9 0:7 move second child to first child ( temp float) 10 0:7 'r00' ( temp float) 11 0:7 Constant: 12 0:7 1.000000 13 0:8 Sequence 14 0:8 move second child to first child ( temp uint) 15 0:8 'r01' ( temp uint) 16 0:8 Constant: 17 0:8 1 (const uint) 18 0:9 Sequence 19 0:9 move second child to first child ( temp uint) 20 0:9 'r02' ( temp uint) 21 0:9 Constant: 22 0:9 2 (const uint) 23 0:10 Sequence 24 0:10 move second child to first child ( temp uint) 25 0:10 'r03' ( temp uint) 26 0:10 Constant: 27 0:10 2748 (const uint) 28 0:11 Sequence 29 0:11 move second child to first child ( temp uint) 30 0:11 'r04' ( temp uint) 31 0:11 Constant: 32 0:11 2748 (const uint) 33 0:12 Sequence 34 0:12 move second child to first child ( temp int) 35 0:12 'r05' ( temp int) 36 0:12 Constant: 37 0:12 5 (const int) 38 0:13 Sequence 39 0:13 move second child to first child ( temp int) 40 0:13 'r06' ( temp int) 41 0:13 Constant: 42 0:13 6 (const int) 43 0:14 Sequence 44 0:14 move second child to first child ( temp int) 45 0:14 'r07' ( temp int) 46 0:14 Constant: 47 0:14 57 (const int) 48 0:15 Sequence 49 0:15 move second child to first child ( temp uint) 50 0:15 'r08' ( temp uint) 51 0:15 Constant: 52 0:15 58 (const uint) 53 0:16 Sequence 54 0:16 move second child to first child ( temp float) 55 0:16 'r09' ( temp float) 56 0:16 Constant: 57 0:16 1.000000 58 0:17 Sequence 59 0:17 move second child to first child ( temp float) 60 0:17 'r10' ( temp float) 61 0:17 Constant: 62 0:17 1.000000 63 0:18 Sequence 64 0:18 move second child to first child ( temp float) 65 0:18 'r11' ( temp float) 66 0:18 Constant: 67 0:18 1.100000 68 0:19 Sequence 69 0:19 move second child to first child ( temp float) 70 0:19 'r12' ( temp float) 71 0:19 Constant: 72 0:19 1.100000 73 0:22 move second child to first child ( temp 4-component vector of float) 74 0:22 color: direct index for structure ( temp 4-component vector of float) 75 0:22 'ps_output' ( temp structure{ temp 4-component vector of float color}) 76 0:22 Constant: 77 0:22 0 (const int) 78 0:22 Construct vec4 ( temp 4-component vector of float) 79 0:22 Convert int to float ( temp float) 80 0:22 'r07' ( temp int) 81 0:23 Branch: Return with expression 82 0:23 'ps_output' ( temp structure{ temp 4-component vector of float color}) 83 0:5 Function Definition: main( ( temp void) 84 0:5 Function Parameters: 85 0:? Sequence 86 0:5 Sequence 87 0:5 move second child to first child ( temp 4-component vector of float) 88 0:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 89 0:5 color: direct index for structure ( temp 4-component vector of float) 90 0:5 Function Call: @main( ( temp structure{ temp 4-component vector of float color}) 91 0:5 Constant: 92 0:5 0 (const int) 93 0:? Linker Objects 94 0:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 95 96 97 Linked fragment stage: 98 99 100 Shader version: 500 101 gl_FragCoord origin is upper left 102 0:? Sequence 103 0:5 Function Definition: @main( ( temp structure{ temp 4-component vector of float color}) 104 0:5 Function Parameters: 105 0:? Sequence 106 0:7 Sequence 107 0:7 move second child to first child ( temp float) 108 0:7 'r00' ( temp float) 109 0:7 Constant: 110 0:7 1.000000 111 0:8 Sequence 112 0:8 move second child to first child ( temp uint) 113 0:8 'r01' ( temp uint) 114 0:8 Constant: 115 0:8 1 (const uint) 116 0:9 Sequence 117 0:9 move second child to first child ( temp uint) 118 0:9 'r02' ( temp uint) 119 0:9 Constant: 120 0:9 2 (const uint) 121 0:10 Sequence 122 0:10 move second child to first child ( temp uint) 123 0:10 'r03' ( temp uint) 124 0:10 Constant: 125 0:10 2748 (const uint) 126 0:11 Sequence 127 0:11 move second child to first child ( temp uint) 128 0:11 'r04' ( temp uint) 129 0:11 Constant: 130 0:11 2748 (const uint) 131 0:12 Sequence 132 0:12 move second child to first child ( temp int) 133 0:12 'r05' ( temp int) 134 0:12 Constant: 135 0:12 5 (const int) 136 0:13 Sequence 137 0:13 move second child to first child ( temp int) 138 0:13 'r06' ( temp int) 139 0:13 Constant: 140 0:13 6 (const int) 141 0:14 Sequence 142 0:14 move second child to first child ( temp int) 143 0:14 'r07' ( temp int) 144 0:14 Constant: 145 0:14 57 (const int) 146 0:15 Sequence 147 0:15 move second child to first child ( temp uint) 148 0:15 'r08' ( temp uint) 149 0:15 Constant: 150 0:15 58 (const uint) 151 0:16 Sequence 152 0:16 move second child to first child ( temp float) 153 0:16 'r09' ( temp float) 154 0:16 Constant: 155 0:16 1.000000 156 0:17 Sequence 157 0:17 move second child to first child ( temp float) 158 0:17 'r10' ( temp float) 159 0:17 Constant: 160 0:17 1.000000 161 0:18 Sequence 162 0:18 move second child to first child ( temp float) 163 0:18 'r11' ( temp float) 164 0:18 Constant: 165 0:18 1.100000 166 0:19 Sequence 167 0:19 move second child to first child ( temp float) 168 0:19 'r12' ( temp float) 169 0:19 Constant: 170 0:19 1.100000 171 0:22 move second child to first child ( temp 4-component vector of float) 172 0:22 color: direct index for structure ( temp 4-component vector of float) 173 0:22 'ps_output' ( temp structure{ temp 4-component vector of float color}) 174 0:22 Constant: 175 0:22 0 (const int) 176 0:22 Construct vec4 ( temp 4-component vector of float) 177 0:22 Convert int to float ( temp float) 178 0:22 'r07' ( temp int) 179 0:23 Branch: Return with expression 180 0:23 'ps_output' ( temp structure{ temp 4-component vector of float color}) 181 0:5 Function Definition: main( ( temp void) 182 0:5 Function Parameters: 183 0:? Sequence 184 0:5 Sequence 185 0:5 move second child to first child ( temp 4-component vector of float) 186 0:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 187 0:5 color: direct index for structure ( temp 4-component vector of float) 188 0:5 Function Call: @main( ( temp structure{ temp 4-component vector of float color}) 189 0:5 Constant: 190 0:5 0 (const int) 191 0:? Linker Objects 192 0:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 193 194 // Module Version 10000 195 // Generated by (magic number): 80007 196 // Id's are bound by 54 197 198 Capability Shader 199 1: ExtInstImport "GLSL.std.450" 200 MemoryModel Logical GLSL450 201 EntryPoint Fragment 4 "main" 51 202 ExecutionMode 4 OriginUpperLeft 203 Source HLSL 500 204 Name 4 "main" 205 Name 8 "PS_OUTPUT" 206 MemberName 8(PS_OUTPUT) 0 "color" 207 Name 10 "@main(" 208 Name 13 "r00" 209 Name 17 "r01" 210 Name 19 "r02" 211 Name 21 "r03" 212 Name 23 "r04" 213 Name 26 "r05" 214 Name 28 "r06" 215 Name 30 "r07" 216 Name 32 "r08" 217 Name 34 "r09" 218 Name 35 "r10" 219 Name 36 "r11" 220 Name 38 "r12" 221 Name 40 "ps_output" 222 Name 51 "@entryPointOutput.color" 223 Decorate 51(@entryPointOutput.color) Location 0 224 2: TypeVoid 225 3: TypeFunction 2 226 6: TypeFloat 32 227 7: TypeVector 6(float) 4 228 8(PS_OUTPUT): TypeStruct 7(fvec4) 229 9: TypeFunction 8(PS_OUTPUT) 230 12: TypePointer Function 6(float) 231 14: 6(float) Constant 1065353216 232 15: TypeInt 32 0 233 16: TypePointer Function 15(int) 234 18: 15(int) Constant 1 235 20: 15(int) Constant 2 236 22: 15(int) Constant 2748 237 24: TypeInt 32 1 238 25: TypePointer Function 24(int) 239 27: 24(int) Constant 5 240 29: 24(int) Constant 6 241 31: 24(int) Constant 57 242 33: 15(int) Constant 58 243 37: 6(float) Constant 1066192077 244 39: TypePointer Function 8(PS_OUTPUT) 245 41: 24(int) Constant 0 246 45: TypePointer Function 7(fvec4) 247 50: TypePointer Output 7(fvec4) 248 51(@entryPointOutput.color): 50(ptr) Variable Output 249 4(main): 2 Function None 3 250 5: Label 251 52:8(PS_OUTPUT) FunctionCall 10(@main() 252 53: 7(fvec4) CompositeExtract 52 0 253 Store 51(@entryPointOutput.color) 53 254 Return 255 FunctionEnd 256 10(@main():8(PS_OUTPUT) Function None 9 257 11: Label 258 13(r00): 12(ptr) Variable Function 259 17(r01): 16(ptr) Variable Function 260 19(r02): 16(ptr) Variable Function 261 21(r03): 16(ptr) Variable Function 262 23(r04): 16(ptr) Variable Function 263 26(r05): 25(ptr) Variable Function 264 28(r06): 25(ptr) Variable Function 265 30(r07): 25(ptr) Variable Function 266 32(r08): 16(ptr) Variable Function 267 34(r09): 12(ptr) Variable Function 268 35(r10): 12(ptr) Variable Function 269 36(r11): 12(ptr) Variable Function 270 38(r12): 12(ptr) Variable Function 271 40(ps_output): 39(ptr) Variable Function 272 Store 13(r00) 14 273 Store 17(r01) 18 274 Store 19(r02) 20 275 Store 21(r03) 22 276 Store 23(r04) 22 277 Store 26(r05) 27 278 Store 28(r06) 29 279 Store 30(r07) 31 280 Store 32(r08) 33 281 Store 34(r09) 14 282 Store 35(r10) 14 283 Store 36(r11) 37 284 Store 38(r12) 37 285 42: 24(int) Load 30(r07) 286 43: 6(float) ConvertSToF 42 287 44: 7(fvec4) CompositeConstruct 43 43 43 43 288 46: 45(ptr) AccessChain 40(ps_output) 41 289 Store 46 44 290 47:8(PS_OUTPUT) Load 40(ps_output) 291 ReturnValue 47 292 FunctionEnd 293