• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvParserMemoryTest_EmitStatement_StoreIntConst.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%int = OpTypeInt 32 1
14%int_42 = OpConstant %int 42
15%6 = OpConstantNull %int
16%_ptr_Function_int = OpTypePointer Function %int
17%100 = OpFunction %void None %3
18%8 = OpLabel
19%1 = OpVariable %_ptr_Function_int Function
20OpStore %1 %int_42
21OpStore %1 %6
22OpReturn
23OpFunctionEnd
24
25