blob: b0f3c5d75e57a333de5aaf4babb626e7eb84afc8 [file] [log] [blame]
David Netod1a026e2021-07-30 16:03:06 +00001; Test: SpvParserTest_EmitStatement_ScalarCallNoParamsUsedTwice.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 "x_100"
10OpExecutionMode %100 OriginUpperLeft
11%void = OpTypeVoid
12%3 = OpTypeFunction %void
13%uint = OpTypeInt 32 0
14%5 = OpTypeFunction %uint
15%uint_42 = OpConstant %uint 42
16%_ptr_Function_uint = OpTypePointer Function %uint
17%50 = OpFunction %uint None %5
18%8 = OpLabel
19OpReturnValue %uint_42
20OpFunctionEnd
21%100 = OpFunction %void None %3
22%9 = OpLabel
23%10 = OpVariable %_ptr_Function_uint Function
24%1 = OpFunctionCall %uint %50
25OpStore %10 %1
26OpStore %10 %1
27OpReturn
28OpFunctionEnd
29