| 1 |
; SPIR-V |
| 2 |
; Version: 1.3 |
| 3 |
; Generator: Khronos Glslang Reference Front End; 8 |
| 4 |
; Bound: 37 |
| 5 |
; Schema: 0 |
| 6 |
OpCapability Shader |
| 7 |
OpCapability StencilExportEXT |
| 8 |
OpExtension "SPV_EXT_shader_stencil_export" |
| 9 |
%1 = OpExtInstImport "GLSL.std.450" |
| 10 |
OpMemoryModel Logical GLSL450 |
| 11 |
OpEntryPoint Fragment %main "main" %o0 %o1 %o2 %o3 %o4 %o5 %o6 %o7 %oDepth %oStencil |
| 12 |
OpExecutionMode %main OriginUpperLeft |
| 13 |
OpExecutionMode %main DepthReplacing |
| 14 |
OpSource GLSL 450 |
| 15 |
OpSourceExtension "GL_ARB_shader_stencil_export" |
| 16 |
OpName %main "main" |
| 17 |
OpName %o0 "o0" |
| 18 |
OpName %o1 "o1" |
| 19 |
OpName %o2 "o2" |
| 20 |
OpName %o3 "o3" |
| 21 |
OpName %o4 "o4" |
| 22 |
OpName %o5 "o5" |
| 23 |
OpName %o6 "o6" |
| 24 |
OpName %o7 "o7" |
| 25 |
OpName %oDepth "oDepth" |
| 26 |
OpName %oStencil "oStencil" |
| 27 |
OpDecorate %o0 Location 0 |
| 28 |
OpDecorate %o1 Location 1 |
| 29 |
OpDecorate %o2 Location 2 |
| 30 |
OpDecorate %o3 Location 3 |
| 31 |
OpDecorate %o4 Location 4 |
| 32 |
OpDecorate %o5 Location 5 |
| 33 |
OpDecorate %o6 Location 6 |
| 34 |
OpDecorate %o7 Location 7 |
| 35 |
OpDecorate %oDepth BuiltIn FragDepth |
| 36 |
OpDecorate %oStencil BuiltIn FragStencilRefEXT |
| 37 |
%void = OpTypeVoid |
| 38 |
%3 = OpTypeFunction %void |
| 39 |
%float = OpTypeFloat 32 |
| 40 |
%v4float = OpTypeVector %float 4 |
| 41 |
%_ptr_Output_v4float = OpTypePointer Output %v4float |
| 42 |
%o0 = OpVariable %_ptr_Output_v4float Output |
| 43 |
%float_0 = OpConstant %float 0 |
| 44 |
%float_1 = OpConstant %float 1 |
| 45 |
%12 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_1 |
| 46 |
%o1 = OpVariable %_ptr_Output_v4float Output |
| 47 |
%14 = OpConstantComposite %v4float %float_1 %float_0 %float_0 %float_1 |
| 48 |
%o2 = OpVariable %_ptr_Output_v4float Output |
| 49 |
%16 = OpConstantComposite %v4float %float_0 %float_1 %float_0 %float_1 |
| 50 |
%o3 = OpVariable %_ptr_Output_v4float Output |
| 51 |
%18 = OpConstantComposite %v4float %float_0 %float_0 %float_1 %float_1 |
| 52 |
%o4 = OpVariable %_ptr_Output_v4float Output |
| 53 |
%float_0_5 = OpConstant %float 0.5 |
| 54 |
%21 = OpConstantComposite %v4float %float_1 %float_0 %float_1 %float_0_5 |
| 55 |
%o5 = OpVariable %_ptr_Output_v4float Output |
| 56 |
%float_0_25 = OpConstant %float 0.25 |
| 57 |
%24 = OpConstantComposite %v4float %float_0_25 %float_0_25 %float_0_25 %float_0_25 |
| 58 |
%o6 = OpVariable %_ptr_Output_v4float Output |
| 59 |
%float_0_75 = OpConstant %float 0.75 |
| 60 |
%27 = OpConstantComposite %v4float %float_0_75 %float_0_75 %float_0_75 %float_0_75 |
| 61 |
%o7 = OpVariable %_ptr_Output_v4float Output |
| 62 |
%29 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1 |
| 63 |
%_ptr_Output_float = OpTypePointer Output %float |
| 64 |
%oDepth = OpVariable %_ptr_Output_float Output |
| 65 |
%float_0_899999976 = OpConstant %float 0.899999976 |
| 66 |
%int = OpTypeInt 32 1 |
| 67 |
%_ptr_Output_int = OpTypePointer Output %int |
| 68 |
%oStencil = OpVariable %_ptr_Output_int Output |
| 69 |
%int_127 = OpConstant %int 127 |
| 70 |
%main = OpFunction %void None %3 |
| 71 |
%5 = OpLabel |
| 72 |
OpStore %o0 %12 |
| 73 |
OpStore %o1 %14 |
| 74 |
OpStore %o2 %16 |
| 75 |
OpStore %o3 %18 |
| 76 |
OpStore %o4 %21 |
| 77 |
OpStore %o5 %24 |
| 78 |
OpStore %o6 %27 |
| 79 |
OpStore %o7 %29 |
| 80 |
OpStore %oDepth %float_0_899999976 |
| 81 |
OpStore %oStencil %int_127 |
| 82 |
OpReturn |
| 83 |
OpFunctionEnd |