xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/spv.depthUnchanged.frag.out (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1spv.depthUnchanged.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 22
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Fragment 4  "main" 9 14 16
10                              ExecutionMode 4 OriginUpperLeft
11                              ExecutionMode 4 DepthReplacing
12                              ExecutionMode 4 DepthUnchanged
13                              Source GLSL 430
14                              Name 4  "main"
15                              Name 9  "outColor"
16                              Name 14  "gl_FragDepth"
17                              Name 16  "gl_FragCoord"
18                              Decorate 9(outColor) Location 0
19                              Decorate 14(gl_FragDepth) BuiltIn FragDepth
20                              Decorate 16(gl_FragCoord) BuiltIn FragCoord
21               2:             TypeVoid
22               3:             TypeFunction 2
23               6:             TypeFloat 32
24               7:             TypeVector 6(float) 4
25               8:             TypePointer Output 7(fvec4)
26     9(outColor):      8(ptr) Variable Output
27              10:    6(float) Constant 1065353216
28              11:    6(float) Constant 0
29              12:    7(fvec4) ConstantComposite 10 11 11 10
30              13:             TypePointer Output 6(float)
3114(gl_FragDepth):     13(ptr) Variable Output
32              15:             TypePointer Input 7(fvec4)
3316(gl_FragCoord):     15(ptr) Variable Input
34              17:             TypeInt 32 0
35              18:     17(int) Constant 1
36              19:             TypePointer Input 6(float)
37         4(main):           2 Function None 3
38               5:             Label
39                              Store 9(outColor) 12
40              20:     19(ptr) AccessChain 16(gl_FragCoord) 18
41              21:    6(float) Load 20
42                              Store 14(gl_FragDepth) 21
43                              Return
44                              FunctionEnd
45