aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/hlsl.layoutOverride.vert.out
blob: a3b8960136438ff9917ba1dd3f332afc9d9d8852 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
hlsl.layoutOverride.vert
Shader version: 500
0:? Sequence
0:5  Function Definition: @main( ( temp 4-component vector of float)
0:5    Function Parameters: 
0:?     Sequence
0:6      Branch: Return with expression
0:6        texture ( temp 4-component vector of float)
0:6          Construct combined texture-sampler ( temp sampler2D)
0:6            'tex' (layout( set=2 binding=0) uniform texture2D)
0:6            'samp' ( uniform sampler)
0:6          Constant:
0:6            0.200000
0:6            0.300000
0:5  Function Definition: main( ( temp void)
0:5    Function Parameters: 
0:?     Sequence
0:5      move second child to first child ( temp 4-component vector of float)
0:?         '@entryPointOutput' ( out 4-component vector of float Position)
0:5        Function Call: @main( ( temp 4-component vector of float)
0:?   Linker Objects
0:?     'tex' (layout( set=2 binding=0) uniform texture2D)
0:?     'samp' ( uniform sampler)
0:?     '@entryPointOutput' ( out 4-component vector of float Position)


Linked vertex stage:


Shader version: 500
0:? Sequence
0:5  Function Definition: @main( ( temp 4-component vector of float)
0:5    Function Parameters: 
0:?     Sequence
0:6      Branch: Return with expression
0:6        texture ( temp 4-component vector of float)
0:6          Construct combined texture-sampler ( temp sampler2D)
0:6            'tex' (layout( set=2 binding=0) uniform texture2D)
0:6            'samp' ( uniform sampler)
0:6          Constant:
0:6            0.200000
0:6            0.300000
0:5  Function Definition: main( ( temp void)
0:5    Function Parameters: 
0:?     Sequence
0:5      move second child to first child ( temp 4-component vector of float)
0:?         '@entryPointOutput' ( out 4-component vector of float Position)
0:5        Function Call: @main( ( temp 4-component vector of float)
0:?   Linker Objects
0:?     'tex' (layout( set=2 binding=0) uniform texture2D)
0:?     'samp' ( uniform sampler)
0:?     '@entryPointOutput' ( out 4-component vector of float Position)

// Module Version 10000
// Generated by (magic number): 8000a
// Id's are bound by 32

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Vertex 4  "main" 30
                              Source HLSL 500
                              Name 4  "main"
                              Name 9  "@main("
                              Name 13  "tex"
                              Name 17  "samp"
                              Name 30  "@entryPointOutput"
                              Decorate 13(tex) DescriptorSet 2
                              Decorate 13(tex) Binding 0
                              Decorate 17(samp) DescriptorSet 0
                              Decorate 17(samp) Binding 0
                              Decorate 30(@entryPointOutput) BuiltIn Position
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
               7:             TypeVector 6(float) 4
               8:             TypeFunction 7(fvec4)
              11:             TypeImage 6(float) 2D sampled format:Unknown
              12:             TypePointer UniformConstant 11
         13(tex):     12(ptr) Variable UniformConstant
              15:             TypeSampler
              16:             TypePointer UniformConstant 15
        17(samp):     16(ptr) Variable UniformConstant
              19:             TypeSampledImage 11
              21:             TypeVector 6(float) 2
              22:    6(float) Constant 1045220557
              23:    6(float) Constant 1050253722
              24:   21(fvec2) ConstantComposite 22 23
              25:    6(float) Constant 0
              29:             TypePointer Output 7(fvec4)
30(@entryPointOutput):     29(ptr) Variable Output
         4(main):           2 Function None 3
               5:             Label
              31:    7(fvec4) FunctionCall 9(@main()
                              Store 30(@entryPointOutput) 31
                              Return
                              FunctionEnd
       9(@main():    7(fvec4) Function None 8
              10:             Label
              14:          11 Load 13(tex)
              18:          15 Load 17(samp)
              20:          19 SampledImage 14 18
              26:    7(fvec4) ImageSampleExplicitLod 20 24 Lod 25
                              ReturnValue 26
                              FunctionEnd