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