1hlsl.intrinsics.promote.outputs.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:20 Function Definition: @main( ( temp structure{ temp 4-component vector of float color}) 60:20 Function Parameters: 70:? Sequence 80:37 clamp ( temp float) 90:37 fpos: direct index for structure ( uniform float) 100:37 'anon@0' (layout( row_major std140) uniform block{ uniform int i, uniform uint u, uniform float f, uniform bool b, uniform 2-component vector of int i2, uniform 2-component vector of uint u2, uniform 2-component vector of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos}) 110:37 Constant: 120:37 9 (const uint) 130:37 Constant: 140:37 0.000000 150:37 Constant: 160:37 1.000000 170:40 Sequence 180:40 move second child to first child ( temp uint) 190:40 'sizeQueryTemp' ( temp uint) 200:40 textureSize ( temp uint) 210:40 'g_tTex1df4' ( uniform texture1D) 220:40 Constant: 230:40 0 (const int) 240:40 move second child to first child ( temp int) 250:40 'WidthI' ( temp int) 260:40 Convert uint to int ( temp int) 270:40 'sizeQueryTemp' ( temp uint) 280:41 Sequence 290:41 move second child to first child ( temp uint) 300:41 'sizeQueryTemp' ( temp uint) 310:41 textureSize ( temp uint) 320:41 'g_tTex1df4' ( uniform texture1D) 330:41 Constant: 340:41 6 (const uint) 350:41 move second child to first child ( temp int) 360:41 'WidthI' ( temp int) 370:41 Convert uint to int ( temp int) 380:41 'sizeQueryTemp' ( temp uint) 390:41 move second child to first child ( temp uint) 400:41 'NumberOfLevelsU' ( temp uint) 410:41 textureQueryLevels ( temp uint) 420:41 'g_tTex1df4' ( uniform texture1D) 430:42 Sequence 440:42 move second child to first child ( temp uint) 450:42 'sizeQueryTemp' ( temp uint) 460:42 textureSize ( temp uint) 470:42 'g_tTex1df4' ( uniform texture1D) 480:42 Constant: 490:42 6 (const uint) 500:42 move second child to first child ( temp uint) 510:42 'WidthU' ( temp uint) 520:42 'sizeQueryTemp' ( temp uint) 530:42 move second child to first child ( temp int) 540:42 'NumberOfLevelsI' ( temp int) 550:42 Convert uint to int ( temp int) 560:42 textureQueryLevels ( temp uint) 570:42 'g_tTex1df4' ( uniform texture1D) 580:43 Sequence 590:43 move second child to first child ( temp uint) 600:43 'sizeQueryTemp' ( temp uint) 610:43 textureSize ( temp uint) 620:43 'g_tTex1df4' ( uniform texture1D) 630:43 Constant: 640:43 6 (const uint) 650:43 move second child to first child ( temp int) 660:43 'WidthI' ( temp int) 670:43 Convert uint to int ( temp int) 680:43 'sizeQueryTemp' ( temp uint) 690:43 move second child to first child ( temp int) 700:43 'NumberOfLevelsI' ( temp int) 710:43 Convert uint to int ( temp int) 720:43 textureQueryLevels ( temp uint) 730:43 'g_tTex1df4' ( uniform texture1D) 740:47 move second child to first child ( temp 4-component vector of float) 750:47 color: direct index for structure ( temp 4-component vector of float) 760:47 'ps_output' ( temp structure{ temp 4-component vector of float color}) 770:47 Constant: 780:47 0 (const int) 790:47 Constant: 800:47 0.000000 810:47 0.000000 820:47 0.000000 830:47 0.000000 840:48 Branch: Return with expression 850:48 'ps_output' ( temp structure{ temp 4-component vector of float color}) 860:20 Function Definition: main( ( temp void) 870:20 Function Parameters: 880:? Sequence 890:20 Sequence 900:20 move second child to first child ( temp 4-component vector of float) 910:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 920:20 color: direct index for structure ( temp 4-component vector of float) 930:20 Function Call: @main( ( temp structure{ temp 4-component vector of float color}) 940:20 Constant: 950:20 0 (const int) 960:? Linker Objects 970:? 'anon@0' (layout( row_major std140) uniform block{ uniform int i, uniform uint u, uniform float f, uniform bool b, uniform 2-component vector of int i2, uniform 2-component vector of uint u2, uniform 2-component vector of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos}) 980:? 'g_tTexbfs' (layout( r32f) uniform textureBuffer) 990:? 'g_tTex1df4' ( uniform texture1D) 1000:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 101 102 103Linked fragment stage: 104 105 106Shader version: 500 107gl_FragCoord origin is upper left 1080:? Sequence 1090:20 Function Definition: @main( ( temp structure{ temp 4-component vector of float color}) 1100:20 Function Parameters: 1110:? Sequence 1120:37 clamp ( temp float) 1130:37 fpos: direct index for structure ( uniform float) 1140:37 'anon@0' (layout( row_major std140) uniform block{ uniform int i, uniform uint u, uniform float f, uniform bool b, uniform 2-component vector of int i2, uniform 2-component vector of uint u2, uniform 2-component vector of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos}) 1150:37 Constant: 1160:37 9 (const uint) 1170:37 Constant: 1180:37 0.000000 1190:37 Constant: 1200:37 1.000000 1210:40 Sequence 1220:40 move second child to first child ( temp uint) 1230:40 'sizeQueryTemp' ( temp uint) 1240:40 textureSize ( temp uint) 1250:40 'g_tTex1df4' ( uniform texture1D) 1260:40 Constant: 1270:40 0 (const int) 1280:40 move second child to first child ( temp int) 1290:40 'WidthI' ( temp int) 1300:40 Convert uint to int ( temp int) 1310:40 'sizeQueryTemp' ( temp uint) 1320:41 Sequence 1330:41 move second child to first child ( temp uint) 1340:41 'sizeQueryTemp' ( temp uint) 1350:41 textureSize ( temp uint) 1360:41 'g_tTex1df4' ( uniform texture1D) 1370:41 Constant: 1380:41 6 (const uint) 1390:41 move second child to first child ( temp int) 1400:41 'WidthI' ( temp int) 1410:41 Convert uint to int ( temp int) 1420:41 'sizeQueryTemp' ( temp uint) 1430:41 move second child to first child ( temp uint) 1440:41 'NumberOfLevelsU' ( temp uint) 1450:41 textureQueryLevels ( temp uint) 1460:41 'g_tTex1df4' ( uniform texture1D) 1470:42 Sequence 1480:42 move second child to first child ( temp uint) 1490:42 'sizeQueryTemp' ( temp uint) 1500:42 textureSize ( temp uint) 1510:42 'g_tTex1df4' ( uniform texture1D) 1520:42 Constant: 1530:42 6 (const uint) 1540:42 move second child to first child ( temp uint) 1550:42 'WidthU' ( temp uint) 1560:42 'sizeQueryTemp' ( temp uint) 1570:42 move second child to first child ( temp int) 1580:42 'NumberOfLevelsI' ( temp int) 1590:42 Convert uint to int ( temp int) 1600:42 textureQueryLevels ( temp uint) 1610:42 'g_tTex1df4' ( uniform texture1D) 1620:43 Sequence 1630:43 move second child to first child ( temp uint) 1640:43 'sizeQueryTemp' ( temp uint) 1650:43 textureSize ( temp uint) 1660:43 'g_tTex1df4' ( uniform texture1D) 1670:43 Constant: 1680:43 6 (const uint) 1690:43 move second child to first child ( temp int) 1700:43 'WidthI' ( temp int) 1710:43 Convert uint to int ( temp int) 1720:43 'sizeQueryTemp' ( temp uint) 1730:43 move second child to first child ( temp int) 1740:43 'NumberOfLevelsI' ( temp int) 1750:43 Convert uint to int ( temp int) 1760:43 textureQueryLevels ( temp uint) 1770:43 'g_tTex1df4' ( uniform texture1D) 1780:47 move second child to first child ( temp 4-component vector of float) 1790:47 color: direct index for structure ( temp 4-component vector of float) 1800:47 'ps_output' ( temp structure{ temp 4-component vector of float color}) 1810:47 Constant: 1820:47 0 (const int) 1830:47 Constant: 1840:47 0.000000 1850:47 0.000000 1860:47 0.000000 1870:47 0.000000 1880:48 Branch: Return with expression 1890:48 'ps_output' ( temp structure{ temp 4-component vector of float color}) 1900:20 Function Definition: main( ( temp void) 1910:20 Function Parameters: 1920:? Sequence 1930:20 Sequence 1940:20 move second child to first child ( temp 4-component vector of float) 1950:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 1960:20 color: direct index for structure ( temp 4-component vector of float) 1970:20 Function Call: @main( ( temp structure{ temp 4-component vector of float color}) 1980:20 Constant: 1990:20 0 (const int) 2000:? Linker Objects 2010:? 'anon@0' (layout( row_major std140) uniform block{ uniform int i, uniform uint u, uniform float f, uniform bool b, uniform 2-component vector of int i2, uniform 2-component vector of uint u2, uniform 2-component vector of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos}) 2020:? 'g_tTexbfs' (layout( r32f) uniform textureBuffer) 2030:? 'g_tTex1df4' ( uniform texture1D) 2040:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 205 206// Module Version 10000 207// Generated by (magic number): 8000a 208// Id's are bound by 80 209 210 Capability Shader 211 Capability Sampled1D 212 Capability SampledBuffer 213 Capability ImageQuery 214 1: ExtInstImport "GLSL.std.450" 215 MemoryModel Logical GLSL450 216 EntryPoint Fragment 4 "main" 74 217 ExecutionMode 4 OriginUpperLeft 218 Source HLSL 500 219 Name 4 "main" 220 Name 8 "PS_OUTPUT" 221 MemberName 8(PS_OUTPUT) 0 "color" 222 Name 10 "@main(" 223 Name 17 "$Global" 224 MemberName 17($Global) 0 "i" 225 MemberName 17($Global) 1 "u" 226 MemberName 17($Global) 2 "f" 227 MemberName 17($Global) 3 "b" 228 MemberName 17($Global) 4 "i2" 229 MemberName 17($Global) 5 "u2" 230 MemberName 17($Global) 6 "f2" 231 MemberName 17($Global) 7 "b2" 232 MemberName 17($Global) 8 "upos" 233 MemberName 17($Global) 9 "fpos" 234 Name 19 "" 235 Name 28 "sizeQueryTemp" 236 Name 31 "g_tTex1df4" 237 Name 36 "WidthI" 238 Name 39 "sizeQueryTemp" 239 Name 45 "NumberOfLevelsU" 240 Name 48 "sizeQueryTemp" 241 Name 51 "WidthU" 242 Name 53 "NumberOfLevelsI" 243 Name 57 "sizeQueryTemp" 244 Name 66 "ps_output" 245 Name 74 "@entryPointOutput.color" 246 Name 79 "g_tTexbfs" 247 MemberDecorate 17($Global) 0 Offset 0 248 MemberDecorate 17($Global) 1 Offset 4 249 MemberDecorate 17($Global) 2 Offset 8 250 MemberDecorate 17($Global) 3 Offset 12 251 MemberDecorate 17($Global) 4 Offset 16 252 MemberDecorate 17($Global) 5 Offset 24 253 MemberDecorate 17($Global) 6 Offset 32 254 MemberDecorate 17($Global) 7 Offset 40 255 MemberDecorate 17($Global) 8 Offset 48 256 MemberDecorate 17($Global) 9 Offset 52 257 Decorate 17($Global) Block 258 Decorate 19 DescriptorSet 0 259 Decorate 19 Binding 0 260 Decorate 31(g_tTex1df4) DescriptorSet 0 261 Decorate 31(g_tTex1df4) Binding 1 262 Decorate 74(@entryPointOutput.color) Location 0 263 Decorate 79(g_tTexbfs) DescriptorSet 0 264 Decorate 79(g_tTexbfs) Binding 0 265 2: TypeVoid 266 3: TypeFunction 2 267 6: TypeFloat 32 268 7: TypeVector 6(float) 4 269 8(PS_OUTPUT): TypeStruct 7(fvec4) 270 9: TypeFunction 8(PS_OUTPUT) 271 12: TypeInt 32 1 272 13: TypeInt 32 0 273 14: TypeVector 12(int) 2 274 15: TypeVector 13(int) 2 275 16: TypeVector 6(float) 2 276 17($Global): TypeStruct 12(int) 13(int) 6(float) 13(int) 14(ivec2) 15(ivec2) 16(fvec2) 15(ivec2) 13(int) 6(float) 277 18: TypePointer Uniform 17($Global) 278 19: 18(ptr) Variable Uniform 279 20: 12(int) Constant 9 280 21: TypePointer Uniform 6(float) 281 24: 6(float) Constant 0 282 25: 6(float) Constant 1065353216 283 27: TypePointer Function 13(int) 284 29: TypeImage 6(float) 1D sampled format:Unknown 285 30: TypePointer UniformConstant 29 286 31(g_tTex1df4): 30(ptr) Variable UniformConstant 287 33: 12(int) Constant 0 288 35: TypePointer Function 12(int) 289 41: 13(int) Constant 6 290 65: TypePointer Function 8(PS_OUTPUT) 291 67: 7(fvec4) ConstantComposite 24 24 24 24 292 68: TypePointer Function 7(fvec4) 293 73: TypePointer Output 7(fvec4) 29474(@entryPointOutput.color): 73(ptr) Variable Output 295 77: TypeImage 6(float) Buffer sampled format:R32f 296 78: TypePointer UniformConstant 77 297 79(g_tTexbfs): 78(ptr) Variable UniformConstant 298 4(main): 2 Function None 3 299 5: Label 300 75:8(PS_OUTPUT) FunctionCall 10(@main() 301 76: 7(fvec4) CompositeExtract 75 0 302 Store 74(@entryPointOutput.color) 76 303 Return 304 FunctionEnd 305 10(@main():8(PS_OUTPUT) Function None 9 306 11: Label 30728(sizeQueryTemp): 27(ptr) Variable Function 308 36(WidthI): 35(ptr) Variable Function 30939(sizeQueryTemp): 27(ptr) Variable Function 31045(NumberOfLevelsU): 27(ptr) Variable Function 31148(sizeQueryTemp): 27(ptr) Variable Function 312 51(WidthU): 27(ptr) Variable Function 31353(NumberOfLevelsI): 35(ptr) Variable Function 31457(sizeQueryTemp): 27(ptr) Variable Function 315 66(ps_output): 65(ptr) Variable Function 316 22: 21(ptr) AccessChain 19 20 317 23: 6(float) Load 22 318 26: 6(float) ExtInst 1(GLSL.std.450) 43(FClamp) 23 24 25 319 32: 29 Load 31(g_tTex1df4) 320 34: 13(int) ImageQuerySizeLod 32 33 321 Store 28(sizeQueryTemp) 34 322 37: 13(int) Load 28(sizeQueryTemp) 323 38: 12(int) Bitcast 37 324 Store 36(WidthI) 38 325 40: 29 Load 31(g_tTex1df4) 326 42: 13(int) ImageQuerySizeLod 40 41 327 Store 39(sizeQueryTemp) 42 328 43: 13(int) Load 39(sizeQueryTemp) 329 44: 12(int) Bitcast 43 330 Store 36(WidthI) 44 331 46: 29 Load 31(g_tTex1df4) 332 47: 13(int) ImageQueryLevels 46 333 Store 45(NumberOfLevelsU) 47 334 49: 29 Load 31(g_tTex1df4) 335 50: 13(int) ImageQuerySizeLod 49 41 336 Store 48(sizeQueryTemp) 50 337 52: 13(int) Load 48(sizeQueryTemp) 338 Store 51(WidthU) 52 339 54: 29 Load 31(g_tTex1df4) 340 55: 13(int) ImageQueryLevels 54 341 56: 12(int) Bitcast 55 342 Store 53(NumberOfLevelsI) 56 343 58: 29 Load 31(g_tTex1df4) 344 59: 13(int) ImageQuerySizeLod 58 41 345 Store 57(sizeQueryTemp) 59 346 60: 13(int) Load 57(sizeQueryTemp) 347 61: 12(int) Bitcast 60 348 Store 36(WidthI) 61 349 62: 29 Load 31(g_tTex1df4) 350 63: 13(int) ImageQueryLevels 62 351 64: 12(int) Bitcast 63 352 Store 53(NumberOfLevelsI) 64 353 69: 68(ptr) AccessChain 66(ps_output) 33 354 Store 69 67 355 70:8(PS_OUTPUT) Load 66(ps_output) 356 ReturnValue 70 357 FunctionEnd 358