• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvParserMemoryTest_EmitStatement_LoadBool.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%4 = OpTypeFunction %void
13%bool = OpTypeBool
14%true = OpConstantTrue %bool
15%false = OpConstantFalse %bool
16%8 = OpConstantNull %bool
17%_ptr_Function_bool = OpTypePointer Function %bool
18%100 = OpFunction %void None %4
19%10 = OpLabel
20%1 = OpVariable %_ptr_Function_bool Function %true
21%2 = OpLoad %bool %1
22OpReturn
23OpFunctionEnd
24
25