Debian Codegraph @

test/diff/diff_files/OpExtInst_in_variables_dst.spvasm

raw
1 OpCapability Shader
2 OpExtension "SPV_KHR_non_semantic_info"
3 %1 = OpExtInstImport "GLSL.std.450"
4 %30 = OpExtInstImport "NonSemantic.MadeUp"
5 OpMemoryModel Logical GLSL450
6 OpEntryPoint Fragment %4 "main" %9 %11
7 OpExecutionMode %4 OriginUpperLeft
8 OpSource ESSL 310
9 OpName %4 "main"
10 %31 = OpExtInst %2 %30 123
11 %32 = OpExtInst %2 %30 2340
12 OpName %9 "color"
13 OpName %11 "v"
14 OpDecorate %9 RelaxedPrecision
15 OpDecorate %9 Location 0
16 OpDecorate %11 RelaxedPrecision
17 OpDecorate %11 Location 0
18 %33 = OpExtInst %2 %30 3450
19 %34 = OpExtInst %2 %30 456
20 OpDecorate %12 RelaxedPrecision
21 OpDecorate %13 RelaxedPrecision
22 OpDecorate %14 RelaxedPrecision
23 %2 = OpTypeVoid
24 %3 = OpTypeFunction %2
25 %6 = OpTypeFloat 32
26 %7 = OpTypeVector %6 4
27 %8 = OpTypePointer Output %7
28 %9 = OpVariable %8 Output
29 %10 = OpTypePointer Input %6
30 %11 = OpVariable %10 Input
31 %35 = OpExtInst %2 %30 567
32 %36 = OpExtInst %2 %30 678
33 %4 = OpFunction %2 None %3
34 %5 = OpLabel
35 %12 = OpLoad %6 %11
36 %13 = OpExtInst %6 %1 Log2 %12
37 %14 = OpCompositeConstruct %7 %13 %13 %13 %13
38 OpStore %9 %14
39 OpReturn
40 OpFunctionEnd