blob: 0dcf01481257e1ccef8ad886a7745c2c151017e9 [file] [log] [blame]
spv.ext.ShaderTileImage.depth_stencil.frag
WARNING: 0:6: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
"precision mediump int; precision highp float;"
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 26
Capability Shader
Capability TileImageDepthReadAccessEXT
Capability TileImageStencilReadAccessEXT
Extension "SPV_EXT_shader_tile_image"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 16 22
ExecutionMode 4 OriginUpperLeft
Source GLSL 460
SourceExtension "GL_EXT_shader_tile_image"
Name 4 "main"
Name 8 "depth"
Name 12 "stencil_value"
Name 16 "stencil_out"
Name 22 "depth_out"
Decorate 13 RelaxedPrecision
Decorate 16(stencil_out) Location 0
Decorate 22(depth_out) Location 1
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypePointer Function 6(float)
10: TypeInt 32 0
11: TypePointer Function 10(int)
14: TypeVector 10(int) 4
15: TypePointer Output 14(ivec4)
16(stencil_out): 15(ptr) Variable Output
18: 10(int) Constant 0
20: TypeVector 6(float) 4
21: TypePointer Output 20(fvec4)
22(depth_out): 21(ptr) Variable Output
24: 6(float) Constant 0
4(main): 2 Function None 3
5: Label
8(depth): 7(ptr) Variable Function
12(stencil_value): 11(ptr) Variable Function
9: 6(float) DepthAttachmentReadEXT
Store 8(depth) 9
13: 10(int) StencilAttachmentReadEXT
Store 12(stencil_value) 13
17: 10(int) Load 12(stencil_value)
19: 14(ivec4) CompositeConstruct 17 18 18 18
Store 16(stencil_out) 19
23: 6(float) Load 8(depth)
25: 20(fvec4) CompositeConstruct 23 24 24 24
Store 22(depth_out) 25
Return
FunctionEnd