2016-10-10 21:24:57 +00:00
hlsl.load.buffer.float.dx10.frag
2017-04-07 21:33:08 +00:00
Shader version: 500
2016-10-10 21:24:57 +00:00
gl_FragCoord origin is upper left
0:? Sequence
2017-03-15 01:43:13 +00:00
0:24 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
2016-10-10 21:24:57 +00:00
0:24 Function Parameters:
0:? Sequence
0:28 Sequence
2017-03-15 01:43:13 +00:00
0:28 move second child to first child ( temp float)
0:28 'r00' ( temp float)
0:28 Construct float ( temp float)
2017-03-31 20:39:30 +00:00
0:? textureFetch ( temp 4-component vector of float)
2017-03-31 23:40:09 +00:00
0:28 'g_tTexbfs' (layout( r32f) uniform textureBuffer)
2017-03-23 05:21:34 +00:00
0:28 c1: direct index for structure ( uniform int)
0:28 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
2016-10-14 22:40:32 +00:00
0:28 Constant:
0:28 0 (const uint)
2016-10-10 21:24:57 +00:00
0:29 Sequence
2017-03-15 01:43:13 +00:00
0:29 move second child to first child ( temp int)
0:29 'r01' ( temp int)
0:29 Construct int ( temp int)
2017-03-31 20:39:30 +00:00
0:? textureFetch ( temp 4-component vector of int)
2017-03-31 23:40:09 +00:00
0:29 'g_tTexbis' (layout( r32i) uniform itextureBuffer)
2017-03-23 05:21:34 +00:00
0:29 c1: direct index for structure ( uniform int)
0:29 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
2016-10-14 22:40:32 +00:00
0:29 Constant:
0:29 0 (const uint)
2016-10-10 21:24:57 +00:00
0:30 Sequence
2017-03-15 01:43:13 +00:00
0:30 move second child to first child ( temp uint)
0:30 'r02' ( temp uint)
0:30 Construct uint ( temp uint)
2017-03-31 20:39:30 +00:00
0:? textureFetch ( temp 4-component vector of uint)
2017-03-31 23:40:09 +00:00
0:30 'g_tTexbus' (layout( r32ui) uniform utextureBuffer)
2017-03-23 05:21:34 +00:00
0:30 c1: direct index for structure ( uniform int)
0:30 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
2016-10-14 22:40:32 +00:00
0:30 Constant:
0:30 0 (const uint)
2017-03-15 01:43:13 +00:00
0:34 move second child to first child ( temp 4-component vector of float)
0:34 Color: direct index for structure ( temp 4-component vector of float)
0:34 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
2016-10-10 21:24:57 +00:00
0:34 Constant:
0:34 0 (const int)
0:34 Constant:
0:34 1.000000
0:34 1.000000
0:34 1.000000
0:34 1.000000
2017-03-15 01:43:13 +00:00
0:35 move second child to first child ( temp float)
0:35 Depth: direct index for structure ( temp float)
0:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
2016-10-10 21:24:57 +00:00
0:35 Constant:
0:35 1 (const int)
0:35 Constant:
0:35 1.000000
2017-01-19 22:41:47 +00:00
0:37 Branch: Return with expression
2017-03-15 01:43:13 +00:00
0:37 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:24 Function Definition: main( ( temp void)
2017-01-19 22:41:47 +00:00
0:24 Function Parameters:
0:? Sequence
0:24 Sequence
2017-03-15 01:43:13 +00:00
0:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:24 move second child to first child ( temp 4-component vector of float)
2017-08-09 20:29:29 +00:00
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
2017-03-15 01:43:13 +00:00
0:24 Color: direct index for structure ( temp 4-component vector of float)
0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
2017-01-19 22:41:47 +00:00
0:24 Constant:
0:24 0 (const int)
2017-03-15 01:43:13 +00:00
0:24 move second child to first child ( temp float)
2017-08-09 20:29:29 +00:00
0:? '@entryPointOutput.Depth' ( out float FragDepth)
2017-03-15 01:43:13 +00:00
0:24 Depth: direct index for structure ( temp float)
0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
2017-01-19 22:41:47 +00:00
0:24 Constant:
0:24 1 (const int)
2016-10-10 21:24:57 +00:00
0:? Linker Objects
2017-03-31 23:40:09 +00:00
0:? 'g_tTexbfs_test' (layout( binding=0 r32f) uniform textureBuffer)
0:? 'g_tTexbfs' (layout( r32f) uniform textureBuffer)
0:? 'g_tTexbis' (layout( r32i) uniform itextureBuffer)
0:? 'g_tTexbus' (layout( r32ui) uniform utextureBuffer)
2017-03-23 05:21:34 +00:00
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
2017-08-09 20:29:29 +00:00
0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
2016-10-10 21:24:57 +00:00
Linked fragment stage:
2017-04-07 21:33:08 +00:00
Shader version: 500
2016-10-10 21:24:57 +00:00
gl_FragCoord origin is upper left
0:? Sequence
2017-03-15 01:43:13 +00:00
0:24 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
2016-10-10 21:24:57 +00:00
0:24 Function Parameters:
0:? Sequence
0:28 Sequence
2017-03-15 01:43:13 +00:00
0:28 move second child to first child ( temp float)
0:28 'r00' ( temp float)
0:28 Construct float ( temp float)
2017-03-31 20:39:30 +00:00
0:? textureFetch ( temp 4-component vector of float)
2017-03-31 23:40:09 +00:00
0:28 'g_tTexbfs' (layout( r32f) uniform textureBuffer)
2017-03-23 05:21:34 +00:00
0:28 c1: direct index for structure ( uniform int)
0:28 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
2016-10-14 22:40:32 +00:00
0:28 Constant:
0:28 0 (const uint)
2016-10-10 21:24:57 +00:00
0:29 Sequence
2017-03-15 01:43:13 +00:00
0:29 move second child to first child ( temp int)
0:29 'r01' ( temp int)
0:29 Construct int ( temp int)
2017-03-31 20:39:30 +00:00
0:? textureFetch ( temp 4-component vector of int)
2017-03-31 23:40:09 +00:00
0:29 'g_tTexbis' (layout( r32i) uniform itextureBuffer)
2017-03-23 05:21:34 +00:00
0:29 c1: direct index for structure ( uniform int)
0:29 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
2016-10-14 22:40:32 +00:00
0:29 Constant:
0:29 0 (const uint)
2016-10-10 21:24:57 +00:00
0:30 Sequence
2017-03-15 01:43:13 +00:00
0:30 move second child to first child ( temp uint)
0:30 'r02' ( temp uint)
0:30 Construct uint ( temp uint)
2017-03-31 20:39:30 +00:00
0:? textureFetch ( temp 4-component vector of uint)
2017-03-31 23:40:09 +00:00
0:30 'g_tTexbus' (layout( r32ui) uniform utextureBuffer)
2017-03-23 05:21:34 +00:00
0:30 c1: direct index for structure ( uniform int)
0:30 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
2016-10-14 22:40:32 +00:00
0:30 Constant:
0:30 0 (const uint)
2017-03-15 01:43:13 +00:00
0:34 move second child to first child ( temp 4-component vector of float)
0:34 Color: direct index for structure ( temp 4-component vector of float)
0:34 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
2016-10-10 21:24:57 +00:00
0:34 Constant:
0:34 0 (const int)
0:34 Constant:
0:34 1.000000
0:34 1.000000
0:34 1.000000
0:34 1.000000
2017-03-15 01:43:13 +00:00
0:35 move second child to first child ( temp float)
0:35 Depth: direct index for structure ( temp float)
0:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
2016-10-10 21:24:57 +00:00
0:35 Constant:
0:35 1 (const int)
0:35 Constant:
0:35 1.000000
2017-01-19 22:41:47 +00:00
0:37 Branch: Return with expression
2017-03-15 01:43:13 +00:00
0:37 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:24 Function Definition: main( ( temp void)
2017-01-19 22:41:47 +00:00
0:24 Function Parameters:
0:? Sequence
0:24 Sequence
2017-03-15 01:43:13 +00:00
0:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:24 move second child to first child ( temp 4-component vector of float)
2017-08-09 20:29:29 +00:00
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
2017-03-15 01:43:13 +00:00
0:24 Color: direct index for structure ( temp 4-component vector of float)
0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
2017-01-19 22:41:47 +00:00
0:24 Constant:
0:24 0 (const int)
2017-03-15 01:43:13 +00:00
0:24 move second child to first child ( temp float)
2017-08-09 20:29:29 +00:00
0:? '@entryPointOutput.Depth' ( out float FragDepth)
2017-03-15 01:43:13 +00:00
0:24 Depth: direct index for structure ( temp float)
0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
2017-01-19 22:41:47 +00:00
0:24 Constant:
0:24 1 (const int)
2016-10-10 21:24:57 +00:00
0:? Linker Objects
2017-03-31 23:40:09 +00:00
0:? 'g_tTexbfs_test' (layout( binding=0 r32f) uniform textureBuffer)
0:? 'g_tTexbfs' (layout( r32f) uniform textureBuffer)
0:? 'g_tTexbis' (layout( r32i) uniform itextureBuffer)
0:? 'g_tTexbus' (layout( r32ui) uniform utextureBuffer)
2017-03-23 05:21:34 +00:00
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
2017-08-09 20:29:29 +00:00
0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
2016-10-10 21:24:57 +00:00
2018-02-01 01:35:56 +00:00
// Module Version 10000
2018-03-07 18:24:50 +00:00
// Generated by (magic number): 80006
2017-03-31 23:40:09 +00:00
// Id's are bound by 75
2016-10-10 21:24:57 +00:00
Capability Shader
Capability SampledBuffer
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
2017-03-31 23:40:09 +00:00
EntryPoint Fragment 4 "main" 67 71
2016-10-10 21:24:57 +00:00
ExecutionMode 4 OriginUpperLeft
2017-04-07 21:33:08 +00:00
Source HLSL 500
2016-10-10 21:24:57 +00:00
Name 4 "main"
2017-01-19 22:41:47 +00:00
Name 8 "PS_OUTPUT"
MemberName 8(PS_OUTPUT) 0 "Color"
MemberName 8(PS_OUTPUT) 1 "Depth"
Name 10 "@main("
Name 13 "r00"
2017-03-31 23:40:09 +00:00
Name 16 "g_tTexbfs"
Name 22 "$Global"
MemberName 22($Global) 0 "c1"
MemberName 22($Global) 1 "c2"
MemberName 22($Global) 2 "c3"
MemberName 22($Global) 3 "c4"
MemberName 22($Global) 4 "o1"
MemberName 22($Global) 5 "o2"
MemberName 22($Global) 6 "o3"
MemberName 22($Global) 7 "o4"
Name 24 ""
Name 32 "r01"
Name 35 "g_tTexbis"
Name 43 "r02"
Name 46 "g_tTexbus"
Name 54 "psout"
Name 64 "flattenTemp"
2017-08-09 20:29:29 +00:00
Name 67 "@entryPointOutput.Color"
Name 71 "@entryPointOutput.Depth"
2017-03-31 23:40:09 +00:00
Name 74 "g_tTexbfs_test"
Decorate 16(g_tTexbfs) DescriptorSet 0
MemberDecorate 22($Global) 0 Offset 0
2017-07-13 17:39:16 +00:00
MemberDecorate 22($Global) 1 Offset 8
2017-03-31 23:40:09 +00:00
MemberDecorate 22($Global) 2 Offset 16
MemberDecorate 22($Global) 3 Offset 32
MemberDecorate 22($Global) 4 Offset 48
2017-07-13 17:39:16 +00:00
MemberDecorate 22($Global) 5 Offset 56
2017-03-31 23:40:09 +00:00
MemberDecorate 22($Global) 6 Offset 64
MemberDecorate 22($Global) 7 Offset 80
Decorate 22($Global) Block
Decorate 24 DescriptorSet 0
Decorate 35(g_tTexbis) DescriptorSet 0
Decorate 46(g_tTexbus) DescriptorSet 0
2017-08-09 20:29:29 +00:00
Decorate 67(@entryPointOutput.Color) Location 0
Decorate 71(@entryPointOutput.Depth) BuiltIn FragDepth
2017-03-31 23:40:09 +00:00
Decorate 74(g_tTexbfs_test) DescriptorSet 0
Decorate 74(g_tTexbfs_test) Binding 0
2016-10-10 21:24:57 +00:00
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
2017-01-19 22:41:47 +00:00
7: TypeVector 6(float) 4
8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
9: TypeFunction 8(PS_OUTPUT)
12: TypePointer Function 6(float)
2017-03-31 20:39:30 +00:00
14: TypeImage 6(float) Buffer sampled format:R32f
2017-03-31 23:40:09 +00:00
15: TypePointer UniformConstant 14
16(g_tTexbfs): 15(ptr) Variable UniformConstant
18: TypeInt 32 1
19: TypeVector 18(int) 2
20: TypeVector 18(int) 3
21: TypeVector 18(int) 4
22($Global): TypeStruct 18(int) 19(ivec2) 20(ivec3) 21(ivec4) 18(int) 19(ivec2) 20(ivec3) 21(ivec4)
23: TypePointer Uniform 22($Global)
24: 23(ptr) Variable Uniform
25: 18(int) Constant 0
26: TypePointer Uniform 18(int)
31: TypePointer Function 18(int)
33: TypeImage 18(int) Buffer sampled format:R32i
34: TypePointer UniformConstant 33
35(g_tTexbis): 34(ptr) Variable UniformConstant
41: TypeInt 32 0
42: TypePointer Function 41(int)
44: TypeImage 41(int) Buffer sampled format:R32ui
45: TypePointer UniformConstant 44
46(g_tTexbus): 45(ptr) Variable UniformConstant
50: TypeVector 41(int) 4
53: TypePointer Function 8(PS_OUTPUT)
55: 6(float) Constant 1065353216
56: 7(fvec4) ConstantComposite 55 55 55 55
57: TypePointer Function 7(fvec4)
59: 18(int) Constant 1
66: TypePointer Output 7(fvec4)
2017-08-09 20:29:29 +00:00
67(@entryPointOutput.Color): 66(ptr) Variable Output
2017-03-31 23:40:09 +00:00
70: TypePointer Output 6(float)
2017-08-09 20:29:29 +00:00
71(@entryPointOutput.Depth): 70(ptr) Variable Output
2017-03-31 23:40:09 +00:00
74(g_tTexbfs_test): 15(ptr) Variable UniformConstant
2016-10-10 21:24:57 +00:00
4(main): 2 Function None 3
5: Label
2017-03-31 23:40:09 +00:00
64(flattenTemp): 53(ptr) Variable Function
65:8(PS_OUTPUT) FunctionCall 10(@main()
Store 64(flattenTemp) 65
68: 57(ptr) AccessChain 64(flattenTemp) 25
69: 7(fvec4) Load 68
2017-08-09 20:29:29 +00:00
Store 67(@entryPointOutput.Color) 69
2017-03-31 23:40:09 +00:00
72: 12(ptr) AccessChain 64(flattenTemp) 59
73: 6(float) Load 72
2017-08-09 20:29:29 +00:00
Store 71(@entryPointOutput.Depth) 73
2016-10-10 21:24:57 +00:00
Return
FunctionEnd
2017-01-19 22:41:47 +00:00
10(@main():8(PS_OUTPUT) Function None 9
11: Label
13(r00): 12(ptr) Variable Function
2017-03-31 23:40:09 +00:00
32(r01): 31(ptr) Variable Function
43(r02): 42(ptr) Variable Function
54(psout): 53(ptr) Variable Function
17: 14 Load 16(g_tTexbfs)
27: 26(ptr) AccessChain 24 25
28: 18(int) Load 27
29: 7(fvec4) ImageFetch 17 28
30: 6(float) CompositeExtract 29 0
Store 13(r00) 30
36: 33 Load 35(g_tTexbis)
37: 26(ptr) AccessChain 24 25
38: 18(int) Load 37
39: 21(ivec4) ImageFetch 36 38
40: 18(int) CompositeExtract 39 0
Store 32(r01) 40
47: 44 Load 46(g_tTexbus)
48: 26(ptr) AccessChain 24 25
49: 18(int) Load 48
51: 50(ivec4) ImageFetch 47 49
52: 41(int) CompositeExtract 51 0
Store 43(r02) 52
58: 57(ptr) AccessChain 54(psout) 25
Store 58 56
60: 12(ptr) AccessChain 54(psout) 59
Store 60 55
61:8(PS_OUTPUT) Load 54(psout)
ReturnValue 61
2017-01-19 22:41:47 +00:00
FunctionEnd