hlsl.templatetypes.frag Shader version: 500 gl_FragCoord origin is upper left 0:? Sequence 0:3 Function Definition: @PixelShaderFunction( ( temp float) 0:3 Function Parameters: 0:? Sequence 0:4 Sequence 0:4 move second child to first child ( temp 4-component vector of float) 0:4 'r00' ( temp 4-component vector of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:5 Sequence 0:5 move second child to first child ( temp 4-component vector of float) 0:5 'r01' ( temp 4-component vector of float) 0:? Constant: 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:? 5.000000 0:7 Sequence 0:7 move second child to first child ( temp 1-component vector of bool) 0:7 'r12' ( temp 1-component vector of bool) 0:7 Constant: 0:7 false (const bool) 0:8 Sequence 0:8 move second child to first child ( temp 1-component vector of int) 0:8 'r13' ( temp 1-component vector of int) 0:8 Constant: 0:8 1 (const int) 0:9 Sequence 0:9 move second child to first child ( temp 1-component vector of float) 0:9 'r14' ( temp 1-component vector of float) 0:9 Constant: 0:9 1.000000 0:10 Sequence 0:10 move second child to first child ( temp 1-component vector of double) 0:10 'r15' ( temp 1-component vector of double) 0:10 Constant: 0:10 1.000000 0:11 Sequence 0:11 move second child to first child ( temp 1-component vector of uint) 0:11 'r16' ( temp 1-component vector of uint) 0:11 Constant: 0:11 1 (const uint) 0:13 Sequence 0:13 move second child to first child ( temp 2-component vector of bool) 0:13 'r20' ( temp 2-component vector of bool) 0:? Constant: 0:? false (const bool) 0:? true (const bool) 0:14 Sequence 0:14 move second child to first child ( temp 2-component vector of int) 0:14 'r21' ( temp 2-component vector of int) 0:? Constant: 0:? 1 (const int) 0:? 2 (const int) 0:15 Sequence 0:15 move second child to first child ( temp 2-component vector of float) 0:15 'r22' ( temp 2-component vector of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:16 Sequence 0:16 move second child to first child ( temp 2-component vector of double) 0:16 'r23' ( temp 2-component vector of double) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:17 Sequence 0:17 move second child to first child ( temp 2-component vector of uint) 0:17 'r24' ( temp 2-component vector of uint) 0:? Constant: 0:? 1 (const uint) 0:? 2 (const uint) 0:19 Sequence 0:19 move second child to first child ( temp 3-component vector of bool) 0:19 'r30' ( temp 3-component vector of bool) 0:? Constant: 0:? false (const bool) 0:? true (const bool) 0:? true (const bool) 0:20 Sequence 0:20 move second child to first child ( temp 3-component vector of int) 0:20 'r31' ( temp 3-component vector of int) 0:? Constant: 0:? 1 (const int) 0:? 2 (const int) 0:? 3 (const int) 0:21 Sequence 0:21 move second child to first child ( temp 3-component vector of float) 0:21 'r32' ( temp 3-component vector of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:22 Sequence 0:22 move second child to first child ( temp 3-component vector of double) 0:22 'r33' ( temp 3-component vector of double) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:23 Sequence 0:23 move second child to first child ( temp 3-component vector of uint) 0:23 'r34' ( temp 3-component vector of uint) 0:? Constant: 0:? 1 (const uint) 0:? 2 (const uint) 0:? 3 (const uint) 0:25 Sequence 0:25 move second child to first child ( temp 4-component vector of bool) 0:25 'r40' ( temp 4-component vector of bool) 0:? Constant: 0:? false (const bool) 0:? true (const bool) 0:? true (const bool) 0:? false (const bool) 0:26 Sequence 0:26 move second child to first child ( temp 4-component vector of int) 0:26 'r41' ( temp 4-component vector of int) 0:? Constant: 0:? 1 (const int) 0:? 2 (const int) 0:? 3 (const int) 0:? 4 (const int) 0:27 Sequence 0:27 move second child to first child ( temp 4-component vector of float) 0:27 'r42' ( temp 4-component vector of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:28 Sequence 0:28 move second child to first child ( temp 4-component vector of double) 0:28 'r43' ( temp 4-component vector of double) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:29 Sequence 0:29 move second child to first child ( temp 4-component vector of uint) 0:29 'r44' ( temp 4-component vector of uint) 0:? Constant: 0:? 1 (const uint) 0:? 2 (const uint) 0:? 3 (const uint) 0:? 4 (const uint) 0:31 Sequence 0:31 move second child to first child ( temp 4X4 matrix of float) 0:31 'r50' ( temp 4X4 matrix of float) 0:? Constant: 0:? 0.000000 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:? 5.000000 0:? 6.000000 0:? 7.000000 0:? 8.000000 0:? 9.000000 0:? 10.000000 0:? 11.000000 0:? 12.000000 0:? 13.000000 0:? 14.000000 0:? 15.000000 0:32 Sequence 0:32 move second child to first child ( temp 4X4 matrix of float) 0:32 'r51' ( temp 4X4 matrix of float) 0:? Constant: 0:? 0.000000 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:? 5.000000 0:? 6.000000 0:? 7.000000 0:? 8.000000 0:? 9.000000 0:? 10.000000 0:? 11.000000 0:? 12.000000 0:? 13.000000 0:? 14.000000 0:? 15.000000 0:35 Sequence 0:35 move second child to first child ( temp 2X3 matrix of float) 0:35 'r61' ( temp 2X3 matrix of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:? 5.000000 0:? 6.000000 0:36 Sequence 0:36 move second child to first child ( temp 3X2 matrix of float) 0:36 'r62' ( temp 3X2 matrix of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:? 5.000000 0:? 6.000000 0:39 Sequence 0:39 move second child to first child ( temp 4X2 matrix of float) 0:39 'r65' ( temp 4X2 matrix of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:? 5.000000 0:? 6.000000 0:? 7.000000 0:? 8.000000 0:40 Sequence 0:40 move second child to first child ( temp 4X3 matrix of float) 0:40 'r66' ( temp 4X3 matrix of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:? 5.000000 0:? 6.000000 0:? 7.000000 0:? 8.000000 0:? 9.000000 0:? 10.000000 0:? 11.000000 0:? 12.000000 0:45 Branch: Return with expression 0:45 Constant: 0:45 0.000000 0:3 Function Definition: PixelShaderFunction( ( temp void) 0:3 Function Parameters: 0:? Sequence 0:3 move second child to first child ( temp float) 0:? '@entryPointOutput' (layout( location=0) out float) 0:3 Function Call: @PixelShaderFunction( ( temp float) 0:? Linker Objects 0:? '@entryPointOutput' (layout( location=0) out float) Linked fragment stage: Shader version: 500 gl_FragCoord origin is upper left 0:? Sequence 0:3 Function Definition: @PixelShaderFunction( ( temp float) 0:3 Function Parameters: 0:? Sequence 0:4 Sequence 0:4 move second child to first child ( temp 4-component vector of float) 0:4 'r00' ( temp 4-component vector of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:5 Sequence 0:5 move second child to first child ( temp 4-component vector of float) 0:5 'r01' ( temp 4-component vector of float) 0:? Constant: 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:? 5.000000 0:7 Sequence 0:7 move second child to first child ( temp 1-component vector of bool) 0:7 'r12' ( temp 1-component vector of bool) 0:7 Constant: 0:7 false (const bool) 0:8 Sequence 0:8 move second child to first child ( temp 1-component vector of int) 0:8 'r13' ( temp 1-component vector of int) 0:8 Constant: 0:8 1 (const int) 0:9 Sequence 0:9 move second child to first child ( temp 1-component vector of float) 0:9 'r14' ( temp 1-component vector of float) 0:9 Constant: 0:9 1.000000 0:10 Sequence 0:10 move second child to first child ( temp 1-component vector of double) 0:10 'r15' ( temp 1-component vector of double) 0:10 Constant: 0:10 1.000000 0:11 Sequence 0:11 move second child to first child ( temp 1-component vector of uint) 0:11 'r16' ( temp 1-component vector of uint) 0:11 Constant: 0:11 1 (const uint) 0:13 Sequence 0:13 move second child to first child ( temp 2-component vector of bool) 0:13 'r20' ( temp 2-component vector of bool) 0:? Constant: 0:? false (const bool) 0:? true (const bool) 0:14 Sequence 0:14 move second child to first child ( temp 2-component vector of int) 0:14 'r21' ( temp 2-component vector of int) 0:? Constant: 0:? 1 (const int) 0:? 2 (const int) 0:15 Sequence 0:15 move second child to first child ( temp 2-component vector of float) 0:15 'r22' ( temp 2-component vector of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:16 Sequence 0:16 move second child to first child ( temp 2-component vector of double) 0:16 'r23' ( temp 2-component vector of double) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:17 Sequence 0:17 move second child to first child ( temp 2-component vector of uint) 0:17 'r24' ( temp 2-component vector of uint) 0:? Constant: 0:? 1 (const uint) 0:? 2 (const uint) 0:19 Sequence 0:19 move second child to first child ( temp 3-component vector of bool) 0:19 'r30' ( temp 3-component vector of bool) 0:? Constant: 0:? false (const bool) 0:? true (const bool) 0:? true (const bool) 0:20 Sequence 0:20 move second child to first child ( temp 3-component vector of int) 0:20 'r31' ( temp 3-component vector of int) 0:? Constant: 0:? 1 (const int) 0:? 2 (const int) 0:? 3 (const int) 0:21 Sequence 0:21 move second child to first child ( temp 3-component vector of float) 0:21 'r32' ( temp 3-component vector of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:22 Sequence 0:22 move second child to first child ( temp 3-component vector of double) 0:22 'r33' ( temp 3-component vector of double) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:23 Sequence 0:23 move second child to first child ( temp 3-component vector of uint) 0:23 'r34' ( temp 3-component vector of uint) 0:? Constant: 0:? 1 (const uint) 0:? 2 (const uint) 0:? 3 (const uint) 0:25 Sequence 0:25 move second child to first child ( temp 4-component vector of bool) 0:25 'r40' ( temp 4-component vector of bool) 0:? Constant: 0:? false (const bool) 0:? true (const bool) 0:? true (const bool) 0:? false (const bool) 0:26 Sequence 0:26 move second child to first child ( temp 4-component vector of int) 0:26 'r41' ( temp 4-component vector of int) 0:? Constant: 0:? 1 (const int) 0:? 2 (const int) 0:? 3 (const int) 0:? 4 (const int) 0:27 Sequence 0:27 move second child to first child ( temp 4-component vector of float) 0:27 'r42' ( temp 4-component vector of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:28 Sequence 0:28 move second child to first child ( temp 4-component vector of double) 0:28 'r43' ( temp 4-component vector of double) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:29 Sequence 0:29 move second child to first child ( temp 4-component vector of uint) 0:29 'r44' ( temp 4-component vector of uint) 0:? Constant: 0:? 1 (const uint) 0:? 2 (const uint) 0:? 3 (const uint) 0:? 4 (const uint) 0:31 Sequence 0:31 move second child to first child ( temp 4X4 matrix of float) 0:31 'r50' ( temp 4X4 matrix of float) 0:? Constant: 0:? 0.000000 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:? 5.000000 0:? 6.000000 0:? 7.000000 0:? 8.000000 0:? 9.000000 0:? 10.000000 0:? 11.000000 0:? 12.000000 0:? 13.000000 0:? 14.000000 0:? 15.000000 0:32 Sequence 0:32 move second child to first child ( temp 4X4 matrix of float) 0:32 'r51' ( temp 4X4 matrix of float) 0:? Constant: 0:? 0.000000 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:? 5.000000 0:? 6.000000 0:? 7.000000 0:? 8.000000 0:? 9.000000 0:? 10.000000 0:? 11.000000 0:? 12.000000 0:? 13.000000 0:? 14.000000 0:? 15.000000 0:35 Sequence 0:35 move second child to first child ( temp 2X3 matrix of float) 0:35 'r61' ( temp 2X3 matrix of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:? 5.000000 0:? 6.000000 0:36 Sequence 0:36 move second child to first child ( temp 3X2 matrix of float) 0:36 'r62' ( temp 3X2 matrix of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:? 5.000000 0:? 6.000000 0:39 Sequence 0:39 move second child to first child ( temp 4X2 matrix of float) 0:39 'r65' ( temp 4X2 matrix of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:? 5.000000 0:? 6.000000 0:? 7.000000 0:? 8.000000 0:40 Sequence 0:40 move second child to first child ( temp 4X3 matrix of float) 0:40 'r66' ( temp 4X3 matrix of float) 0:? Constant: 0:? 1.000000 0:? 2.000000 0:? 3.000000 0:? 4.000000 0:? 5.000000 0:? 6.000000 0:? 7.000000 0:? 8.000000 0:? 9.000000 0:? 10.000000 0:? 11.000000 0:? 12.000000 0:45 Branch: Return with expression 0:45 Constant: 0:45 0.000000 0:3 Function Definition: PixelShaderFunction( ( temp void) 0:3 Function Parameters: 0:? Sequence 0:3 move second child to first child ( temp float) 0:? '@entryPointOutput' (layout( location=0) out float) 0:3 Function Call: @PixelShaderFunction( ( temp float) 0:? Linker Objects 0:? '@entryPointOutput' (layout( location=0) out float) // Module Version 10000 // Generated by (magic number): 80001 // Id's are bound by 153 Capability Shader Capability Float64 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 4 "PixelShaderFunction" 151 ExecutionMode 4 OriginUpperLeft Source HLSL 500 Name 4 "PixelShaderFunction" Name 8 "@PixelShaderFunction(" Name 12 "r00" Name 18 "r01" Name 23 "r12" Name 27 "r13" Name 30 "r14" Name 33 "r15" Name 37 "r16" Name 41 "r20" Name 46 "r21" Name 51 "r22" Name 55 "r23" Name 60 "r24" Name 65 "r30" Name 69 "r31" Name 74 "r32" Name 78 "r33" Name 83 "r34" Name 88 "r40" Name 92 "r41" Name 95 "r42" Name 98 "r43" Name 103 "r44" Name 108 "r50" Name 125 "r51" Name 128 "r61" Name 133 "r62" Name 139 "r65" Name 144 "r66" Name 151 "@entryPointOutput" Decorate 151(@entryPointOutput) Location 0 2: TypeVoid 3: TypeFunction 2 6: TypeFloat 32 7: TypeFunction 6(float) 10: TypeVector 6(float) 4 11: TypePointer Function 10(fvec4) 13: 6(float) Constant 1065353216 14: 6(float) Constant 1073741824 15: 6(float) Constant 1077936128 16: 6(float) Constant 1082130432 17: 10(fvec4) ConstantComposite 13 14 15 16 19: 6(float) Constant 1084227584 20: 10(fvec4) ConstantComposite 14 15 16 19 21: TypeBool 22: TypePointer Function 21(bool) 24: 21(bool) ConstantFalse 25: TypeInt 32 1 26: TypePointer Function 25(int) 28: 25(int) Constant 1 29: TypePointer Function 6(float) 31: TypeFloat 64 32: TypePointer Function 31(float) 34: 31(float) Constant 0 1072693248 35: TypeInt 32 0 36: TypePointer Function 35(int) 38: 35(int) Constant 1 39: TypeVector 21(bool) 2 40: TypePointer Function 39(bvec2) 42: 21(bool) ConstantTrue 43: 39(bvec2) ConstantComposite 24 42 44: TypeVector 25(int) 2 45: TypePointer Function 44(ivec2) 47: 25(int) Constant 2 48: 44(ivec2) ConstantComposite 28 47 49: TypeVector 6(float) 2 50: TypePointer Function 49(fvec2) 52: 49(fvec2) ConstantComposite 13 14 53: TypeVector 31(float) 2 54: TypePointer Function 53(fvec2) 56: 31(float) Constant 0 1073741824 57: 53(fvec2) ConstantComposite 34 56 58: TypeVector 35(int) 2 59: TypePointer Function 58(ivec2) 61: 35(int) Constant 2 62: 58(ivec2) ConstantComposite 38 61 63: TypeVector 21(bool) 3 64: TypePointer Function 63(bvec3) 66: 63(bvec3) ConstantComposite 24 42 42 67: TypeVector 25(int) 3 68: TypePointer Function 67(ivec3) 70: 25(int) Constant 3 71: 67(ivec3) ConstantComposite 28 47 70 72: TypeVector 6(float) 3 73: TypePointer Function 72(fvec3) 75: 72(fvec3) ConstantComposite 13 14 15 76: TypeVector 31(float) 3 77: TypePointer Function 76(fvec3) 79: 31(float) Constant 0 1074266112 80: 76(fvec3) ConstantComposite 34 56 79 81: TypeVector 35(int) 3 82: TypePointer Function 81(ivec3) 84: 35(int) Constant 3 85: 81(ivec3) ConstantComposite 38 61 84 86: TypeVector 21(bool) 4 87: TypePointer Function 86(bvec4) 89: 86(bvec4) ConstantComposite 24 42 42 24 90: TypeVector 25(int) 4 91: TypePointer Function 90(ivec4) 93: 25(int) Constant 4 94: 90(ivec4) ConstantComposite 28 47 70 93 96: TypeVector 31(float) 4 97: TypePointer Function 96(fvec4) 99: 31(float) Constant 0 1074790400 100: 96(fvec4) ConstantComposite 34 56 79 99 101: TypeVector 35(int) 4 102: TypePointer Function 101(ivec4) 104: 35(int) Constant 4 105: 101(ivec4) ConstantComposite 38 61 84 104 106: TypeMatrix 10(fvec4) 4 107: TypePointer Function 106 109: 6(float) Constant 0 110: 10(fvec4) ConstantComposite 109 13 14 15 111: 6(float) Constant 1086324736 112: 6(float) Constant 1088421888 113: 10(fvec4) ConstantComposite 16 19 111 112 114: 6(float) Constant 1090519040 115: 6(float) Constant 1091567616 116: 6(float) Constant 1092616192 117: 6(float) Constant 1093664768 118: 10(fvec4) ConstantComposite 114 115 116 117 119: 6(float) Constant 1094713344 120: 6(float) Constant 1095761920 121: 6(float) Constant 1096810496 122: 6(float) Constant 1097859072 123: 10(fvec4) ConstantComposite 119 120 121 122 124: 106 ConstantComposite 110 113 118 123 126: TypeMatrix 72(fvec3) 2 127: TypePointer Function 126 129: 72(fvec3) ConstantComposite 16 19 111 130: 126 ConstantComposite 75 129 131: TypeMatrix 49(fvec2) 3 132: TypePointer Function 131 134: 49(fvec2) ConstantComposite 15 16 135: 49(fvec2) ConstantComposite 19 111 136: 131 ConstantComposite 52 134 135 137: TypeMatrix 49(fvec2) 4 138: TypePointer Function 137 140: 49(fvec2) ConstantComposite 112 114 141: 137 ConstantComposite 52 134 135 140 142: TypeMatrix 72(fvec3) 4 143: TypePointer Function 142 145: 72(fvec3) ConstantComposite 112 114 115 146: 72(fvec3) ConstantComposite 116 117 119 147: 142 ConstantComposite 75 129 145 146 150: TypePointer Output 6(float) 151(@entryPointOutput): 150(ptr) Variable Output 4(PixelShaderFunction): 2 Function None 3 5: Label 152: 6(float) FunctionCall 8(@PixelShaderFunction() Store 151(@entryPointOutput) 152 Return FunctionEnd 8(@PixelShaderFunction(): 6(float) Function None 7 9: Label 12(r00): 11(ptr) Variable Function 18(r01): 11(ptr) Variable Function 23(r12): 22(ptr) Variable Function 27(r13): 26(ptr) Variable Function 30(r14): 29(ptr) Variable Function 33(r15): 32(ptr) Variable Function 37(r16): 36(ptr) Variable Function 41(r20): 40(ptr) Variable Function 46(r21): 45(ptr) Variable Function 51(r22): 50(ptr) Variable Function 55(r23): 54(ptr) Variable Function 60(r24): 59(ptr) Variable Function 65(r30): 64(ptr) Variable Function 69(r31): 68(ptr) Variable Function 74(r32): 73(ptr) Variable Function 78(r33): 77(ptr) Variable Function 83(r34): 82(ptr) Variable Function 88(r40): 87(ptr) Variable Function 92(r41): 91(ptr) Variable Function 95(r42): 11(ptr) Variable Function 98(r43): 97(ptr) Variable Function 103(r44): 102(ptr) Variable Function 108(r50): 107(ptr) Variable Function 125(r51): 107(ptr) Variable Function 128(r61): 127(ptr) Variable Function 133(r62): 132(ptr) Variable Function 139(r65): 138(ptr) Variable Function 144(r66): 143(ptr) Variable Function Store 12(r00) 17 Store 18(r01) 20 Store 23(r12) 24 Store 27(r13) 28 Store 30(r14) 13 Store 33(r15) 34 Store 37(r16) 38 Store 41(r20) 43 Store 46(r21) 48 Store 51(r22) 52 Store 55(r23) 57 Store 60(r24) 62 Store 65(r30) 66 Store 69(r31) 71 Store 74(r32) 75 Store 78(r33) 80 Store 83(r34) 85 Store 88(r40) 89 Store 92(r41) 94 Store 95(r42) 17 Store 98(r43) 100 Store 103(r44) 105 Store 108(r50) 124 Store 125(r51) 124 Store 128(r61) 130 Store 133(r62) 136 Store 139(r65) 141 Store 144(r66) 147 ReturnValue 109 FunctionEnd