blob: 8e8c821f454d40acc342e289b091496de031e0c0 [file] [log] [blame]
John Kesseniche5f29392016-05-16 17:39:50 -06001hlsl.float4.frag
John Kessenich96e9f472016-07-29 14:28:39 -06002WARNING: 0:5: 'register' : ignoring shader_profile
3WARNING: 0:6: 'register' : ignoring shader_profile
4
John Kessenich6fa17642017-04-07 15:33:08 -06005Shader version: 500
John Kesseniche5f29392016-05-16 17:39:50 -06006gl_FragCoord origin is upper left
70:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -060080:9 Function Definition: ShaderFunction(vf4; ( temp 4-component vector of float)
John Kessenich630dd7d2016-06-12 23:52:12 -060090:9 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -0600100:9 'input' ( in 4-component vector of float)
John Kesseniche5f29392016-05-16 17:39:50 -0600110:? Sequence
John Kessenich630dd7d2016-06-12 23:52:12 -0600120:10 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600130:10 component-wise multiply ( temp 4-component vector of float)
140:10 'input' ( in 4-component vector of float)
John Kessenich000c8182017-03-22 23:21:34 -0600150:10 AmbientColor: direct index for structure ( uniform 4-component vector of float)
160: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 Kessenich4e559882016-09-27 23:09:32 -0600170:10 Constant:
180:10 0 (const uint)
John Kesseniche5f29392016-05-16 17:39:50 -0600190:? Linker Objects
John Kessenich000c8182017-03-22 23:21:34 -0600200:? '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 Kesseniche5f29392016-05-16 17:39:50 -060021
22
23Linked fragment stage:
24
John Kesseniche50dc532016-11-26 13:45:18 -070025WARNING: Linking fragment stage: Entry point not found
John Kesseniche5f29392016-05-16 17:39:50 -060026
John Kessenich6fa17642017-04-07 15:33:08 -060027Shader version: 500
John Kesseniche5f29392016-05-16 17:39:50 -060028gl_FragCoord origin is upper left
290:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600300:9 Function Definition: ShaderFunction(vf4; ( temp 4-component vector of float)
John Kessenich630dd7d2016-06-12 23:52:12 -0600310:9 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -0600320:9 'input' ( in 4-component vector of float)
John Kesseniche5f29392016-05-16 17:39:50 -0600330:? Sequence
John Kessenich630dd7d2016-06-12 23:52:12 -0600340:10 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600350:10 component-wise multiply ( temp 4-component vector of float)
360:10 'input' ( in 4-component vector of float)
John Kessenich000c8182017-03-22 23:21:34 -0600370:10 AmbientColor: direct index for structure ( uniform 4-component vector of float)
380: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 Kessenich4e559882016-09-27 23:09:32 -0600390:10 Constant:
400:10 0 (const uint)
John Kesseniche5f29392016-05-16 17:39:50 -0600410:? Linker Objects
John Kessenich000c8182017-03-22 23:21:34 -0600420:? '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 Kesseniche5f29392016-05-16 17:39:50 -060043
John Kessenich2b5ea9f2018-01-31 18:35:56 -070044// Module Version 10000
John Kessenich31c33702019-11-02 21:26:40 -060045// Generated by (magic number): 80008
John Kessenich4e559882016-09-27 23:09:32 -060046// Id's are bound by 26
John Kesseniche5f29392016-05-16 17:39:50 -060047
48 Capability Shader
49 1: ExtInstImport "GLSL.std.450"
50 MemoryModel Logical GLSL450
51 EntryPoint Fragment 4 "PixelShaderFunction"
52 ExecutionMode 4 OriginUpperLeft
John Kessenich6fa17642017-04-07 15:33:08 -060053 Source HLSL 500
John Kesseniche5f29392016-05-16 17:39:50 -060054 Name 4 "PixelShaderFunction"
55 Name 11 "ShaderFunction(vf4;"
56 Name 10 "input"
John Kessenich4e559882016-09-27 23:09:32 -060057 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 Kessenich4e559882016-09-27 23:09:32 -060066 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 Bolz0a93cfb2018-12-11 20:53:59 -060071 Decorate 17 Binding 0
John Kesseniche5f29392016-05-16 17:39:50 -060072 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 Kessenich4e559882016-09-27 23:09:32 -060078 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 Kesseniche5f29392016-05-16 17:39:50 -0600854(PixelShaderFunction): 2 Function None 3
86 5: Label
John Kessenichfca82622016-11-26 13:23:20 -070087 Return
John Kesseniche5f29392016-05-16 17:39:50 -060088 FunctionEnd
8911(ShaderFunction(vf4;): 7(fvec4) Function None 9
90 10(input): 8(ptr) FunctionParameter
91 12: Label
John Kessenich4e559882016-09-27 23:09:32 -060092 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 Kesseniche5f29392016-05-16 17:39:50 -060097 FunctionEnd