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