blob: ae6e51e97cbd72080b74afb57be378e760ae6926 [file] [log] [blame]
; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 8
; Bound: 12
; Schema: 0
;
; OpMemoryModel is called with a non 'GLSL450' value, here
; 'Simple' is used instead.
;
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical Simple
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 %void None %3
%5 = OpLabel
OpStore %oColor %11
OpReturn
OpFunctionEnd