John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 1 | hlsl.float4.frag |
John Kessenich | 96e9f47 | 2016-07-29 14:28:39 -0600 | [diff] [blame] | 2 | WARNING: 0:5: 'register' : ignoring shader_profile |
| 3 | WARNING: 0:6: 'register' : ignoring shader_profile |
| 4 | |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 5 | Shader version: 500 |
John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 6 | gl_FragCoord origin is upper left |
| 7 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 8 | 0:9 Function Definition: ShaderFunction(vf4; ( temp 4-component vector of float) |
John Kessenich | 630dd7d | 2016-06-12 23:52:12 -0600 | [diff] [blame] | 9 | 0:9 Function Parameters: |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 10 | 0:9 'input' ( in 4-component vector of float) |
John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 11 | 0:? Sequence |
John Kessenich | 630dd7d | 2016-06-12 23:52:12 -0600 | [diff] [blame] | 12 | 0:10 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 13 | 0:10 component-wise multiply ( temp 4-component vector of float) |
| 14 | 0:10 'input' ( in 4-component vector of float) |
John Kessenich | 000c818 | 2017-03-22 23:21:34 -0600 | [diff] [blame] | 15 | 0:10 AmbientColor: direct index for structure ( uniform 4-component vector of float) |
| 16 | 0:10 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float AmbientColor, uniform bool ff1, layout( offset=20) uniform float ff2, layout( binding=0 offset=32) uniform 4-component vector of float ff3, layout( binding=1 offset=48) uniform 4-component vector of float ff4}) |
John Kessenich | 4e55988 | 2016-09-27 23:09:32 -0600 | [diff] [blame] | 17 | 0:10 Constant: |
| 18 | 0:10 0 (const uint) |
John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 19 | 0:? Linker Objects |
John Kessenich | 000c818 | 2017-03-22 23:21:34 -0600 | [diff] [blame] | 20 | 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float AmbientColor, uniform bool ff1, layout( offset=20) uniform float ff2, layout( binding=0 offset=32) uniform 4-component vector of float ff3, layout( binding=1 offset=48) uniform 4-component vector of float ff4}) |
John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 21 | |
| 22 | |
| 23 | Linked fragment stage: |
| 24 | |
John Kessenich | e50dc53 | 2016-11-26 13:45:18 -0700 | [diff] [blame] | 25 | WARNING: Linking fragment stage: Entry point not found |
John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 26 | |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 27 | Shader version: 500 |
John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 28 | gl_FragCoord origin is upper left |
| 29 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 30 | 0:9 Function Definition: ShaderFunction(vf4; ( temp 4-component vector of float) |
John Kessenich | 630dd7d | 2016-06-12 23:52:12 -0600 | [diff] [blame] | 31 | 0:9 Function Parameters: |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 32 | 0:9 'input' ( in 4-component vector of float) |
John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 33 | 0:? Sequence |
John Kessenich | 630dd7d | 2016-06-12 23:52:12 -0600 | [diff] [blame] | 34 | 0:10 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 35 | 0:10 component-wise multiply ( temp 4-component vector of float) |
| 36 | 0:10 'input' ( in 4-component vector of float) |
John Kessenich | 000c818 | 2017-03-22 23:21:34 -0600 | [diff] [blame] | 37 | 0:10 AmbientColor: direct index for structure ( uniform 4-component vector of float) |
| 38 | 0:10 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float AmbientColor, uniform bool ff1, layout( offset=20) uniform float ff2, layout( binding=0 offset=32) uniform 4-component vector of float ff3, layout( binding=1 offset=48) uniform 4-component vector of float ff4}) |
John Kessenich | 4e55988 | 2016-09-27 23:09:32 -0600 | [diff] [blame] | 39 | 0:10 Constant: |
| 40 | 0:10 0 (const uint) |
John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 41 | 0:? Linker Objects |
John Kessenich | 000c818 | 2017-03-22 23:21:34 -0600 | [diff] [blame] | 42 | 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float AmbientColor, uniform bool ff1, layout( offset=20) uniform float ff2, layout( binding=0 offset=32) uniform 4-component vector of float ff3, layout( binding=1 offset=48) uniform 4-component vector of float ff4}) |
John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 43 | |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 44 | // Module Version 10000 |
John Kessenich | 31c3370 | 2019-11-02 21:26:40 -0600 | [diff] [blame] | 45 | // Generated by (magic number): 80008 |
John Kessenich | 4e55988 | 2016-09-27 23:09:32 -0600 | [diff] [blame] | 46 | // Id's are bound by 26 |
John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 47 | |
| 48 | Capability Shader |
| 49 | 1: ExtInstImport "GLSL.std.450" |
| 50 | MemoryModel Logical GLSL450 |
| 51 | EntryPoint Fragment 4 "PixelShaderFunction" |
| 52 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 53 | Source HLSL 500 |
John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 54 | Name 4 "PixelShaderFunction" |
| 55 | Name 11 "ShaderFunction(vf4;" |
| 56 | Name 10 "input" |
John Kessenich | 4e55988 | 2016-09-27 23:09:32 -0600 | [diff] [blame] | 57 | Name 15 "$Global" |
| 58 | MemberName 15($Global) 0 "AmbientColor" |
| 59 | MemberName 15($Global) 1 "ff1" |
| 60 | MemberName 15($Global) 2 "ff2" |
| 61 | MemberName 15($Global) 3 "ff3" |
| 62 | MemberName 15($Global) 4 "ff4" |
| 63 | Name 17 "" |
| 64 | MemberDecorate 15($Global) 0 Offset 0 |
| 65 | MemberDecorate 15($Global) 1 Offset 16 |
John Kessenich | 4e55988 | 2016-09-27 23:09:32 -0600 | [diff] [blame] | 66 | MemberDecorate 15($Global) 2 Offset 20 |
| 67 | MemberDecorate 15($Global) 3 Offset 32 |
| 68 | MemberDecorate 15($Global) 4 Offset 48 |
| 69 | Decorate 15($Global) Block |
| 70 | Decorate 17 DescriptorSet 0 |
Jeff Bolz | 0a93cfb | 2018-12-11 20:53:59 -0600 | [diff] [blame] | 71 | Decorate 17 Binding 0 |
John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 72 | 2: TypeVoid |
| 73 | 3: TypeFunction 2 |
| 74 | 6: TypeFloat 32 |
| 75 | 7: TypeVector 6(float) 4 |
| 76 | 8: TypePointer Function 7(fvec4) |
| 77 | 9: TypeFunction 7(fvec4) 8(ptr) |
John Kessenich | 4e55988 | 2016-09-27 23:09:32 -0600 | [diff] [blame] | 78 | 14: TypeInt 32 0 |
| 79 | 15($Global): TypeStruct 7(fvec4) 14(int) 6(float) 7(fvec4) 7(fvec4) |
| 80 | 16: TypePointer Uniform 15($Global) |
| 81 | 17: 16(ptr) Variable Uniform |
| 82 | 18: TypeInt 32 1 |
| 83 | 19: 18(int) Constant 0 |
| 84 | 20: TypePointer Uniform 7(fvec4) |
John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 85 | 4(PixelShaderFunction): 2 Function None 3 |
| 86 | 5: Label |
John Kessenich | fca8262 | 2016-11-26 13:23:20 -0700 | [diff] [blame] | 87 | Return |
John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 88 | FunctionEnd |
| 89 | 11(ShaderFunction(vf4;): 7(fvec4) Function None 9 |
| 90 | 10(input): 8(ptr) FunctionParameter |
| 91 | 12: Label |
John Kessenich | 4e55988 | 2016-09-27 23:09:32 -0600 | [diff] [blame] | 92 | 13: 7(fvec4) Load 10(input) |
| 93 | 21: 20(ptr) AccessChain 17 19 |
| 94 | 22: 7(fvec4) Load 21 |
| 95 | 23: 7(fvec4) FMul 13 22 |
| 96 | ReturnValue 23 |
John Kessenich | e5f2939 | 2016-05-16 17:39:50 -0600 | [diff] [blame] | 97 | FunctionEnd |