HLSL: Remove recent change to put locations on SV_TARGET*.
[platform/upstream/glslang.git] / Test / baseResults / hlsl.stringtoken.frag.out
1 hlsl.stringtoken.frag
2 Shader version: 450
3 gl_FragCoord origin is upper left
4 0:? Sequence
5 0:21  Function Definition: main( (global structure{temp 4-component vector of float Color})
6 0:16    Function Parameters: 
7 0:?     Sequence
8 0:18      move second child to first child (temp 4-component vector of float)
9 0:18        Color: direct index for structure (temp 4-component vector of float)
10 0:18          'psout' (temp structure{temp 4-component vector of float Color})
11 0:18          Constant:
12 0:18            0 (const int)
13 0:?         Constant:
14 0:?           0.000000
15 0:?           0.000000
16 0:?           0.000000
17 0:?           1.000000
18 0:19      Sequence
19 0:19        move second child to first child (temp structure{temp 4-component vector of float Color})
20 0:?           '@entryPointOutput' (out structure{temp 4-component vector of float Color})
21 0:19          'psout' (temp structure{temp 4-component vector of float Color})
22 0:19        Branch: Return
23 0:?   Linker Objects
24 0:?     'TestTexture' (uniform texture2D)
25 0:?     'TestUF' (uniform 4-component vector of float)
26
27
28 Linked fragment stage:
29
30
31 Shader version: 450
32 gl_FragCoord origin is upper left
33 0:? Sequence
34 0:21  Function Definition: main( (global structure{temp 4-component vector of float Color})
35 0:16    Function Parameters: 
36 0:?     Sequence
37 0:18      move second child to first child (temp 4-component vector of float)
38 0:18        Color: direct index for structure (temp 4-component vector of float)
39 0:18          'psout' (temp structure{temp 4-component vector of float Color})
40 0:18          Constant:
41 0:18            0 (const int)
42 0:?         Constant:
43 0:?           0.000000
44 0:?           0.000000
45 0:?           0.000000
46 0:?           1.000000
47 0:19      Sequence
48 0:19        move second child to first child (temp structure{temp 4-component vector of float Color})
49 0:?           '@entryPointOutput' (out structure{temp 4-component vector of float Color})
50 0:19          'psout' (temp structure{temp 4-component vector of float Color})
51 0:19        Branch: Return
52 0:?   Linker Objects
53 0:?     'TestTexture' (uniform texture2D)
54 0:?     'TestUF' (uniform 4-component vector of float)
55
56 // Module Version 10000
57 // Generated by (magic number): 80001
58 // Id's are bound by 27
59
60                               Capability Shader
61                1:             ExtInstImport  "GLSL.std.450"
62                               MemoryModel Logical GLSL450
63                               EntryPoint Fragment 4  "main" 19
64                               ExecutionMode 4 OriginUpperLeft
65                               Name 4  "main"
66                               Name 8  "PS_OUTPUT"
67                               MemberName 8(PS_OUTPUT) 0  "Color"
68                               Name 10  "psout"
69                               Name 19  "@entryPointOutput"
70                               Name 24  "TestTexture"
71                               Name 26  "TestUF"
72                               Decorate 24(TestTexture) DescriptorSet 0
73                2:             TypeVoid
74                3:             TypeFunction 2
75                6:             TypeFloat 32
76                7:             TypeVector 6(float) 4
77     8(PS_OUTPUT):             TypeStruct 7(fvec4)
78                9:             TypePointer Function 8(PS_OUTPUT)
79               11:             TypeInt 32 1
80               12:     11(int) Constant 0
81               13:    6(float) Constant 0
82               14:    6(float) Constant 1065353216
83               15:    7(fvec4) ConstantComposite 13 13 13 14
84               16:             TypePointer Function 7(fvec4)
85               18:             TypePointer Output 8(PS_OUTPUT)
86 19(@entryPointOutput):     18(ptr) Variable Output
87               22:             TypeImage 6(float) 2D sampled format:Unknown
88               23:             TypePointer UniformConstant 22
89  24(TestTexture):     23(ptr) Variable UniformConstant
90               25:             TypePointer UniformConstant 7(fvec4)
91       26(TestUF):     25(ptr) Variable UniformConstant
92          4(main):           2 Function None 3
93                5:             Label
94        10(psout):      9(ptr) Variable Function
95               17:     16(ptr) AccessChain 10(psout) 12
96                               Store 17 15
97               20:8(PS_OUTPUT) Load 10(psout)
98                               Store 19(@entryPointOutput) 20
99                               Return
100                               FunctionEnd