dawn-cmake/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitSta...

25 lines
617 B
Plaintext
Raw Permalink Normal View History

; 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