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