steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 1 | hlsl.stringtoken.frag |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 2 | Shader version: 500 |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 3 | gl_FragCoord origin is upper left |
| 4 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 5 | 0:16 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 6 | 0:16 Function Parameters: |
| 7 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 8 | 0:18 move second child to first child ( temp 4-component vector of float) |
| 9 | 0:18 Color: direct index for structure ( temp 4-component vector of float) |
| 10 | 0:18 'psout' ( temp structure{ temp 4-component vector of float Color}) |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 11 | 0:18 Constant: |
| 12 | 0:18 0 (const int) |
| 13 | 0:? Constant: |
| 14 | 0:? 0.000000 |
| 15 | 0:? 0.000000 |
| 16 | 0:? 0.000000 |
| 17 | 0:? 1.000000 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 18 | 0:19 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 19 | 0:19 'psout' ( temp structure{ temp 4-component vector of float Color}) |
| 20 | 0:16 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 21 | 0:16 Function Parameters: |
| 22 | 0:? Sequence |
| 23 | 0:16 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 24 | 0:16 move second child to first child ( temp 4-component vector of float) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 25 | 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 26 | 0:16 Color: direct index for structure ( temp 4-component vector of float) |
| 27 | 0:16 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 28 | 0:16 Constant: |
| 29 | 0:16 0 (const int) |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 30 | 0:? Linker Objects |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 31 | 0:? 'TestTexture' ( uniform texture2D) |
John Kessenich | 000c818 | 2017-03-22 23:21:34 -0600 | [diff] [blame] | 32 | 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float TestUF}) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 33 | 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 34 | |
| 35 | |
| 36 | Linked fragment stage: |
| 37 | |
| 38 | |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 39 | Shader version: 500 |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 40 | gl_FragCoord origin is upper left |
| 41 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 42 | 0:16 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 43 | 0:16 Function Parameters: |
| 44 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 45 | 0:18 move second child to first child ( temp 4-component vector of float) |
| 46 | 0:18 Color: direct index for structure ( temp 4-component vector of float) |
| 47 | 0:18 'psout' ( temp structure{ temp 4-component vector of float Color}) |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 48 | 0:18 Constant: |
| 49 | 0:18 0 (const int) |
| 50 | 0:? Constant: |
| 51 | 0:? 0.000000 |
| 52 | 0:? 0.000000 |
| 53 | 0:? 0.000000 |
| 54 | 0:? 1.000000 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 55 | 0:19 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 56 | 0:19 'psout' ( temp structure{ temp 4-component vector of float Color}) |
| 57 | 0:16 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 58 | 0:16 Function Parameters: |
| 59 | 0:? Sequence |
| 60 | 0:16 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 61 | 0:16 move second child to first child ( temp 4-component vector of float) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 62 | 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 63 | 0:16 Color: direct index for structure ( temp 4-component vector of float) |
| 64 | 0:16 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 65 | 0:16 Constant: |
| 66 | 0:16 0 (const int) |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 67 | 0:? Linker Objects |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 68 | 0:? 'TestTexture' ( uniform texture2D) |
John Kessenich | 000c818 | 2017-03-22 23:21:34 -0600 | [diff] [blame] | 69 | 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float TestUF}) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 70 | 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 71 | |
| 72 | // Module Version 10000 |
John Kessenich | c72e593 | 2017-12-11 08:24:06 -0700 | [diff] [blame] | 73 | // Generated by (magic number): 80003 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 74 | // Id's are bound by 34 |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 75 | |
| 76 | Capability Shader |
| 77 | 1: ExtInstImport "GLSL.std.450" |
| 78 | MemoryModel Logical GLSL450 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 79 | EntryPoint Fragment 4 "main" 25 |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 80 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 81 | Source HLSL 500 |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 82 | Name 4 "main" |
| 83 | Name 8 "PS_OUTPUT" |
| 84 | MemberName 8(PS_OUTPUT) 0 "Color" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 85 | Name 10 "@main(" |
| 86 | Name 13 "psout" |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 87 | Name 25 "@entryPointOutput.Color" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 88 | Name 30 "TestTexture" |
| 89 | Name 31 "$Global" |
| 90 | MemberName 31($Global) 0 "TestUF" |
| 91 | Name 33 "" |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 92 | Decorate 25(@entryPointOutput.Color) Location 0 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 93 | Decorate 30(TestTexture) DescriptorSet 0 |
| 94 | MemberDecorate 31($Global) 0 Offset 0 |
| 95 | Decorate 31($Global) Block |
| 96 | Decorate 33 DescriptorSet 0 |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 97 | 2: TypeVoid |
| 98 | 3: TypeFunction 2 |
| 99 | 6: TypeFloat 32 |
| 100 | 7: TypeVector 6(float) 4 |
| 101 | 8(PS_OUTPUT): TypeStruct 7(fvec4) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 102 | 9: TypeFunction 8(PS_OUTPUT) |
| 103 | 12: TypePointer Function 8(PS_OUTPUT) |
| 104 | 14: TypeInt 32 1 |
| 105 | 15: 14(int) Constant 0 |
| 106 | 16: 6(float) Constant 0 |
| 107 | 17: 6(float) Constant 1065353216 |
| 108 | 18: 7(fvec4) ConstantComposite 16 16 16 17 |
| 109 | 19: TypePointer Function 7(fvec4) |
| 110 | 24: TypePointer Output 7(fvec4) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 111 | 25(@entryPointOutput.Color): 24(ptr) Variable Output |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 112 | 28: TypeImage 6(float) 2D sampled format:Unknown |
| 113 | 29: TypePointer UniformConstant 28 |
| 114 | 30(TestTexture): 29(ptr) Variable UniformConstant |
| 115 | 31($Global): TypeStruct 7(fvec4) |
| 116 | 32: TypePointer Uniform 31($Global) |
| 117 | 33: 32(ptr) Variable Uniform |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 118 | 4(main): 2 Function None 3 |
| 119 | 5: Label |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 120 | 26:8(PS_OUTPUT) FunctionCall 10(@main() |
| 121 | 27: 7(fvec4) CompositeExtract 26 0 |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 122 | Store 25(@entryPointOutput.Color) 27 |
John Kessenich | 6a70eb7 | 2016-08-28 15:00:23 -0600 | [diff] [blame] | 123 | Return |
steve-lunarg | efe9724 | 2016-08-22 16:13:47 -0600 | [diff] [blame] | 124 | FunctionEnd |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 125 | 10(@main():8(PS_OUTPUT) Function None 9 |
| 126 | 11: Label |
| 127 | 13(psout): 12(ptr) Variable Function |
| 128 | 20: 19(ptr) AccessChain 13(psout) 15 |
| 129 | Store 20 18 |
| 130 | 21:8(PS_OUTPUT) Load 13(psout) |
| 131 | ReturnValue 21 |
| 132 | FunctionEnd |