blob: c9bf556c135c034e3da994c8c07eabddf2d6260b [file] [log] [blame]
; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 8
; Bound: 13
; Schema: 0
;
; In the definition of %main, %void has been replaced with an undefined
; ID, representing an undefined type.
;
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main" %oColor
OpExecutionMode %main OriginLowerLeft
OpSource ESSL 320
OpName %main "main"
OpName %oColor "oColor"
OpDecorate %oColor RelaxedPrecision
OpDecorate %oColor Location 0
%void = OpTypeVoid
%3 = OpTypeFunction %void
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%_ptr_Output_v4float = OpTypePointer Output %v4float
%oColor = OpVariable %_ptr_Output_v4float Output
%float_0 = OpConstant %float 0
%11 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0
%main = OpFunction %13 None %3
%5 = OpLabel
OpStore %oColor %11
OpReturn
OpFunctionEnd