27 lines
644 B
Plaintext
27 lines
644 B
Plaintext
; 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
|
|
|