blob: 2fb0b8b0ad20d0e0c55b729a35c8643285972f16 [file] [log] [blame]
; Test: SpvParserMemoryTest_EmitStatement_StoreBoolConst.spvasm
; SPIR-V
; Version: 1.0
; Generator: Khronos SPIR-V Tools Assembler; 0
; Bound: 101
; Schema: 0
OpCapability Shader
OpMemoryModel Logical Simple
OpEntryPoint Fragment %100 "main"
OpExecutionMode %100 OriginUpperLeft
%void = OpTypeVoid
%3 = OpTypeFunction %void
%bool = OpTypeBool
%true = OpConstantTrue %bool
%false = OpConstantFalse %bool
%7 = OpConstantNull %bool
%_ptr_Function_bool = OpTypePointer Function %bool
%100 = OpFunction %void None %3
%9 = OpLabel
%1 = OpVariable %_ptr_Function_bool Function
OpStore %1 %true
OpStore %1 %false
OpStore %1 %7
OpReturn
OpFunctionEnd