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