blob: e5ba4a487685117771fcdbf998b231418f01a251 [file] [log] [blame]
; Test: SpvParserMemoryTest_EmitStatement_LoadBool.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
%4 = OpTypeFunction %void
%bool = OpTypeBool
%true = OpConstantTrue %bool
%false = OpConstantFalse %bool
%8 = OpConstantNull %bool
%_ptr_Function_bool = OpTypePointer Function %bool
%100 = OpFunction %void None %4
%10 = OpLabel
%1 = OpVariable %_ptr_Function_bool Function %true
%2 = OpLoad %bool %1
OpReturn
OpFunctionEnd