8ff7e7332c877b3bc57335490153a43c49c33198
[platform/upstream/glslang.git] / Test / baseResults / hlsl.depthGreater.frag.out
1 hlsl.depthGreater.frag
2 Shader version: 450
3 gl_FragCoord origin is upper left
4 using depth_greater
5 0:? Sequence
6 0:2  Function Definition: @PixelShaderFunction(f1; ( temp void)
7 0:2    Function Parameters: 
8 0:2      'depth' ( out float)
9 0:?     Sequence
10 0:3      move second child to first child ( temp float)
11 0:3        'depth' ( out float)
12 0:3        Constant:
13 0:3          0.200000
14 0:2  Function Definition: PixelShaderFunction( ( temp void)
15 0:2    Function Parameters: 
16 0:?     Sequence
17 0:2      Function Call: @PixelShaderFunction(f1; ( temp void)
18 0:?         'depth' ( temp float)
19 0:2      move second child to first child ( temp float)
20 0:?         'depth' ( out float FragDepth)
21 0:?         'depth' ( temp float)
22 0:?   Linker Objects
23 0:?     'depth' ( out float FragDepth)
24
25
26 Linked fragment stage:
27
28
29 Shader version: 450
30 gl_FragCoord origin is upper left
31 using depth_greater
32 0:? Sequence
33 0:2  Function Definition: @PixelShaderFunction(f1; ( temp void)
34 0:2    Function Parameters: 
35 0:2      'depth' ( out float)
36 0:?     Sequence
37 0:3      move second child to first child ( temp float)
38 0:3        'depth' ( out float)
39 0:3        Constant:
40 0:3          0.200000
41 0:2  Function Definition: PixelShaderFunction( ( temp void)
42 0:2    Function Parameters: 
43 0:?     Sequence
44 0:2      Function Call: @PixelShaderFunction(f1; ( temp void)
45 0:?         'depth' ( temp float)
46 0:2      move second child to first child ( temp float)
47 0:?         'depth' ( out float FragDepth)
48 0:?         'depth' ( temp float)
49 0:?   Linker Objects
50 0:?     'depth' ( out float FragDepth)
51
52 // Module Version 10000
53 // Generated by (magic number): 80001
54 // Id's are bound by 20
55
56                               Capability Shader
57                1:             ExtInstImport  "GLSL.std.450"
58                               MemoryModel Logical GLSL450
59                               EntryPoint Fragment 4  "PixelShaderFunction" 18
60                               ExecutionMode 4 OriginUpperLeft
61                               ExecutionMode 4 DepthGreater
62                               Name 4  "PixelShaderFunction"
63                               Name 10  "@PixelShaderFunction(f1;"
64                               Name 9  "depth"
65                               Name 13  "depth"
66                               Name 14  "param"
67                               Name 18  "depth"
68                               Decorate 18(depth) BuiltIn FragDepth
69                2:             TypeVoid
70                3:             TypeFunction 2
71                6:             TypeFloat 32
72                7:             TypePointer Function 6(float)
73                8:             TypeFunction 2 7(ptr)
74               12:    6(float) Constant 1045220557
75               17:             TypePointer Output 6(float)
76        18(depth):     17(ptr) Variable Output
77 4(PixelShaderFunction):           2 Function None 3
78                5:             Label
79        13(depth):      7(ptr) Variable Function
80        14(param):      7(ptr) Variable Function
81               15:           2 FunctionCall 10(@PixelShaderFunction(f1;) 14(param)
82               16:    6(float) Load 14(param)
83                               Store 13(depth) 16
84               19:    6(float) Load 13(depth)
85                               Store 18(depth) 19
86                               Return
87                               FunctionEnd
88 10(@PixelShaderFunction(f1;):           2 Function None 8
89         9(depth):      7(ptr) FunctionParameter
90               11:             Label
91                               Store 9(depth) 12
92                               Return
93                               FunctionEnd