2016-08-22 22:13:47 +00:00
|
|
|
hlsl.stringtoken.frag
|
2017-04-07 21:33:08 +00:00
|
|
|
Shader version: 500
|
2016-08-22 22:13:47 +00:00
|
|
|
gl_FragCoord origin is upper left
|
|
|
|
0:? Sequence
|
2017-03-15 01:43:13 +00:00
|
|
|
0:16 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
|
2016-08-22 22:13:47 +00:00
|
|
|
0:16 Function Parameters:
|
|
|
|
0:? Sequence
|
2017-03-15 01:43:13 +00:00
|
|
|
0:18 move second child to first child ( temp 4-component vector of float)
|
|
|
|
0:18 Color: direct index for structure ( temp 4-component vector of float)
|
|
|
|
0:18 'psout' ( temp structure{ temp 4-component vector of float Color})
|
2016-08-22 22:13:47 +00:00
|
|
|
0:18 Constant:
|
|
|
|
0:18 0 (const int)
|
|
|
|
0:? Constant:
|
|
|
|
0:? 0.000000
|
|
|
|
0:? 0.000000
|
|
|
|
0:? 0.000000
|
|
|
|
0:? 1.000000
|
2017-01-19 22:41:47 +00:00
|
|
|
0:19 Branch: Return with expression
|
2017-03-15 01:43:13 +00:00
|
|
|
0:19 'psout' ( temp structure{ temp 4-component vector of float Color})
|
|
|
|
0:16 Function Definition: main( ( temp void)
|
2017-01-19 22:41:47 +00:00
|
|
|
0:16 Function Parameters:
|
|
|
|
0:? Sequence
|
|
|
|
0:16 Sequence
|
2017-03-15 01:43:13 +00:00
|
|
|
0:16 move second child to first child ( temp 4-component vector of float)
|
|
|
|
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
|
|
|
0:16 Color: direct index for structure ( temp 4-component vector of float)
|
|
|
|
0:16 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
|
2017-01-19 22:41:47 +00:00
|
|
|
0:16 Constant:
|
|
|
|
0:16 0 (const int)
|
2016-08-22 22:13:47 +00:00
|
|
|
0:? Linker Objects
|
2017-03-15 01:43:13 +00:00
|
|
|
0:? 'TestTexture' ( uniform texture2D)
|
2017-03-23 05:21:34 +00:00
|
|
|
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float TestUF})
|
2017-03-15 01:43:13 +00:00
|
|
|
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
2016-08-22 22:13:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
|
|
|
2017-04-07 21:33:08 +00:00
|
|
|
Shader version: 500
|
2016-08-22 22:13:47 +00:00
|
|
|
gl_FragCoord origin is upper left
|
|
|
|
0:? Sequence
|
2017-03-15 01:43:13 +00:00
|
|
|
0:16 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
|
2016-08-22 22:13:47 +00:00
|
|
|
0:16 Function Parameters:
|
|
|
|
0:? Sequence
|
2017-03-15 01:43:13 +00:00
|
|
|
0:18 move second child to first child ( temp 4-component vector of float)
|
|
|
|
0:18 Color: direct index for structure ( temp 4-component vector of float)
|
|
|
|
0:18 'psout' ( temp structure{ temp 4-component vector of float Color})
|
2016-08-22 22:13:47 +00:00
|
|
|
0:18 Constant:
|
|
|
|
0:18 0 (const int)
|
|
|
|
0:? Constant:
|
|
|
|
0:? 0.000000
|
|
|
|
0:? 0.000000
|
|
|
|
0:? 0.000000
|
|
|
|
0:? 1.000000
|
2017-01-19 22:41:47 +00:00
|
|
|
0:19 Branch: Return with expression
|
2017-03-15 01:43:13 +00:00
|
|
|
0:19 'psout' ( temp structure{ temp 4-component vector of float Color})
|
|
|
|
0:16 Function Definition: main( ( temp void)
|
2017-01-19 22:41:47 +00:00
|
|
|
0:16 Function Parameters:
|
|
|
|
0:? Sequence
|
|
|
|
0:16 Sequence
|
2017-03-15 01:43:13 +00:00
|
|
|
0:16 move second child to first child ( temp 4-component vector of float)
|
|
|
|
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
|
|
|
0:16 Color: direct index for structure ( temp 4-component vector of float)
|
|
|
|
0:16 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
|
2017-01-19 22:41:47 +00:00
|
|
|
0:16 Constant:
|
|
|
|
0:16 0 (const int)
|
2016-08-22 22:13:47 +00:00
|
|
|
0:? Linker Objects
|
2017-03-15 01:43:13 +00:00
|
|
|
0:? 'TestTexture' ( uniform texture2D)
|
2017-03-23 05:21:34 +00:00
|
|
|
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float TestUF})
|
2017-03-15 01:43:13 +00:00
|
|
|
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
2016-08-22 22:13:47 +00:00
|
|
|
|
|
|
|
// Module Version 10000
|
|
|
|
// Generated by (magic number): 80001
|
2017-01-19 22:41:47 +00:00
|
|
|
// Id's are bound by 34
|
2016-08-22 22:13:47 +00:00
|
|
|
|
|
|
|
Capability Shader
|
|
|
|
1: ExtInstImport "GLSL.std.450"
|
|
|
|
MemoryModel Logical GLSL450
|
2017-01-19 22:41:47 +00:00
|
|
|
EntryPoint Fragment 4 "main" 25
|
2016-08-22 22:13:47 +00:00
|
|
|
ExecutionMode 4 OriginUpperLeft
|
2017-04-07 21:33:08 +00:00
|
|
|
Source HLSL 500
|
2016-08-22 22:13:47 +00:00
|
|
|
Name 4 "main"
|
|
|
|
Name 8 "PS_OUTPUT"
|
|
|
|
MemberName 8(PS_OUTPUT) 0 "Color"
|
2017-01-19 22:41:47 +00:00
|
|
|
Name 10 "@main("
|
|
|
|
Name 13 "psout"
|
|
|
|
Name 25 "Color"
|
|
|
|
Name 30 "TestTexture"
|
|
|
|
Name 31 "$Global"
|
|
|
|
MemberName 31($Global) 0 "TestUF"
|
|
|
|
Name 33 ""
|
|
|
|
Decorate 25(Color) Location 0
|
|
|
|
Decorate 30(TestTexture) DescriptorSet 0
|
|
|
|
MemberDecorate 31($Global) 0 Offset 0
|
|
|
|
Decorate 31($Global) Block
|
|
|
|
Decorate 33 DescriptorSet 0
|
2016-08-22 22:13:47 +00:00
|
|
|
2: TypeVoid
|
|
|
|
3: TypeFunction 2
|
|
|
|
6: TypeFloat 32
|
|
|
|
7: TypeVector 6(float) 4
|
|
|
|
8(PS_OUTPUT): TypeStruct 7(fvec4)
|
2017-01-19 22:41:47 +00:00
|
|
|
9: TypeFunction 8(PS_OUTPUT)
|
|
|
|
12: TypePointer Function 8(PS_OUTPUT)
|
|
|
|
14: TypeInt 32 1
|
|
|
|
15: 14(int) Constant 0
|
|
|
|
16: 6(float) Constant 0
|
|
|
|
17: 6(float) Constant 1065353216
|
|
|
|
18: 7(fvec4) ConstantComposite 16 16 16 17
|
|
|
|
19: TypePointer Function 7(fvec4)
|
|
|
|
24: TypePointer Output 7(fvec4)
|
|
|
|
25(Color): 24(ptr) Variable Output
|
|
|
|
28: TypeImage 6(float) 2D sampled format:Unknown
|
|
|
|
29: TypePointer UniformConstant 28
|
|
|
|
30(TestTexture): 29(ptr) Variable UniformConstant
|
|
|
|
31($Global): TypeStruct 7(fvec4)
|
|
|
|
32: TypePointer Uniform 31($Global)
|
|
|
|
33: 32(ptr) Variable Uniform
|
2016-08-22 22:13:47 +00:00
|
|
|
4(main): 2 Function None 3
|
|
|
|
5: Label
|
2017-01-19 22:41:47 +00:00
|
|
|
26:8(PS_OUTPUT) FunctionCall 10(@main()
|
|
|
|
27: 7(fvec4) CompositeExtract 26 0
|
|
|
|
Store 25(Color) 27
|
2016-08-28 21:00:23 +00:00
|
|
|
Return
|
2016-08-22 22:13:47 +00:00
|
|
|
FunctionEnd
|
2017-01-19 22:41:47 +00:00
|
|
|
10(@main():8(PS_OUTPUT) Function None 9
|
|
|
|
11: Label
|
|
|
|
13(psout): 12(ptr) Variable Function
|
|
|
|
20: 19(ptr) AccessChain 13(psout) 15
|
|
|
|
Store 20 18
|
|
|
|
21:8(PS_OUTPUT) Load 13(psout)
|
|
|
|
ReturnValue 21
|
|
|
|
FunctionEnd
|