• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvParserMemoryTest_EmitStatement_StoreBoolConst.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 101
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Fragment %100 "main"
10OpExecutionMode %100 OriginUpperLeft
11%void = OpTypeVoid
12%3 = OpTypeFunction %void
13%bool = OpTypeBool
14%true = OpConstantTrue %bool
15%false = OpConstantFalse %bool
16%7 = OpConstantNull %bool
17%_ptr_Function_bool = OpTypePointer Function %bool
18%100 = OpFunction %void None %3
19%9 = OpLabel
20%1 = OpVariable %_ptr_Function_bool Function
21OpStore %1 %true
22OpStore %1 %false
23OpStore %1 %7
24OpReturn
25OpFunctionEnd
26
27