Debian Codegraph @

test/diff/diff_files/OpExtInst_in_dst_only_dst.spvasm

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