John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 1 | hlsl.attribute.frag |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 2 | Shader version: 500 |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -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: @PixelShaderFunction(vf4; ( temp void) |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -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 | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 8 | 0:? Sequence |
John Kessenich | 3047656 | 2018-01-31 08:23:01 -0700 | [diff] [blame] | 9 | 0:11 Test condition and select ( temp void): DontFlatten |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 10 | 0:11 Condition |
| 11 | 0:11 Constant: |
John Kessenich | 7e997e2 | 2017-03-30 22:09:30 -0600 | [diff] [blame] | 12 | 0:11 false (const bool) |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 13 | 0:11 true case is null |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 14 | 0:2 Function Definition: PixelShaderFunction( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 15 | 0:2 Function Parameters: |
| 16 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 17 | 0:2 move second child to first child ( temp 4-component vector of float) |
| 18 | 0:? 'input' ( temp 4-component vector of float) |
| 19 | 0:? 'input' (layout( location=0) in 4-component vector of float) |
| 20 | 0:2 Function Call: @PixelShaderFunction(vf4; ( temp void) |
| 21 | 0:? 'input' ( temp 4-component vector of float) |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 22 | 0:? Linker Objects |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 23 | 0:? 'input' (layout( location=0) in 4-component vector of float) |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 24 | |
| 25 | |
| 26 | Linked fragment stage: |
| 27 | |
| 28 | |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 29 | Shader version: 500 |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 30 | gl_FragCoord origin is upper left |
| 31 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 32 | 0:2 Function Definition: @PixelShaderFunction(vf4; ( temp void) |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 33 | 0:2 Function Parameters: |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 34 | 0:2 'input' ( in 4-component vector of float) |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 35 | 0:? Sequence |
John Kessenich | 3047656 | 2018-01-31 08:23:01 -0700 | [diff] [blame] | 36 | 0:11 Test condition and select ( temp void): DontFlatten |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 37 | 0:11 Condition |
| 38 | 0:11 Constant: |
John Kessenich | 7e997e2 | 2017-03-30 22:09:30 -0600 | [diff] [blame] | 39 | 0:11 false (const bool) |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 40 | 0:11 true case is null |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 41 | 0:2 Function Definition: PixelShaderFunction( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 42 | 0:2 Function Parameters: |
| 43 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 44 | 0:2 move second child to first child ( temp 4-component vector of float) |
| 45 | 0:? 'input' ( temp 4-component vector of float) |
| 46 | 0:? 'input' (layout( location=0) in 4-component vector of float) |
| 47 | 0:2 Function Call: @PixelShaderFunction(vf4; ( temp void) |
| 48 | 0:? 'input' ( temp 4-component vector of float) |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 49 | 0:? Linker Objects |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 50 | 0:? 'input' (layout( location=0) in 4-component vector of float) |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 51 | |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 52 | // Module Version 10000 |
John Kessenich | d6c9755 | 2018-06-04 15:33:31 -0600 | [diff] [blame^] | 53 | // Generated by (magic number): 80007 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 54 | // Id's are bound by 24 |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 55 | |
| 56 | Capability Shader |
| 57 | 1: ExtInstImport "GLSL.std.450" |
| 58 | MemoryModel Logical GLSL450 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 59 | EntryPoint Fragment 4 "PixelShaderFunction" 19 |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 60 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 61 | Source HLSL 500 |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 62 | Name 4 "PixelShaderFunction" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 63 | Name 11 "@PixelShaderFunction(vf4;" |
| 64 | Name 10 "input" |
| 65 | Name 17 "input" |
| 66 | Name 19 "input" |
| 67 | Name 21 "param" |
| 68 | Decorate 19(input) Location 0 |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 69 | 2: TypeVoid |
| 70 | 3: TypeFunction 2 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 71 | 6: TypeFloat 32 |
| 72 | 7: TypeVector 6(float) 4 |
| 73 | 8: TypePointer Function 7(fvec4) |
| 74 | 9: TypeFunction 2 8(ptr) |
John Kessenich | 7e997e2 | 2017-03-30 22:09:30 -0600 | [diff] [blame] | 75 | 13: TypeBool |
| 76 | 14: 13(bool) ConstantFalse |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 77 | 18: TypePointer Input 7(fvec4) |
| 78 | 19(input): 18(ptr) Variable Input |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 79 | 4(PixelShaderFunction): 2 Function None 3 |
| 80 | 5: Label |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 81 | 17(input): 8(ptr) Variable Function |
| 82 | 21(param): 8(ptr) Variable Function |
| 83 | 20: 7(fvec4) Load 19(input) |
| 84 | Store 17(input) 20 |
| 85 | 22: 7(fvec4) Load 17(input) |
| 86 | Store 21(param) 22 |
| 87 | 23: 2 FunctionCall 11(@PixelShaderFunction(vf4;) 21(param) |
| 88 | Return |
| 89 | FunctionEnd |
| 90 | 11(@PixelShaderFunction(vf4;): 2 Function None 9 |
| 91 | 10(input): 8(ptr) FunctionParameter |
| 92 | 12: Label |
Rex Xu | 57e6592 | 2017-07-04 23:23:40 +0800 | [diff] [blame] | 93 | SelectionMerge 16 DontFlatten |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 94 | BranchConditional 14 15 16 |
| 95 | 15: Label |
| 96 | Branch 16 |
| 97 | 16: Label |
John Kessenich | 0d2b6de | 2016-06-05 11:23:11 -0600 | [diff] [blame] | 98 | Return |
| 99 | FunctionEnd |