Debian Codegraph @

test/diff/diff_files/spec_constant_array_size_dst.spvasm

raw
1 ; SPIR-V
2 ; Version: 1.0
3 ; Generator: Google ANGLE Shader Compiler; 0
4 ; Bound: 27
5 ; Schema: 0
6 OpCapability Shader
7 OpMemoryModel Logical GLSL450
8 OpEntryPoint Vertex %22 "main" %4 %19
9 OpSource GLSL 450
10 OpName %4 "_ua_position"
11 OpName %17 "gl_PerVertex"
12 OpMemberName %17 0 "gl_Position"
13 OpMemberName %17 1 "gl_PointSize"
14 OpMemberName %17 2 "gl_ClipDistance"
15 OpMemberName %17 3 "gl_CullDistance"
16 OpName %19 ""
17 OpName %22 "main"
18 OpDecorate %4 Location 0
19 OpDecorate %15 SpecId 4
20 OpMemberDecorate %17 1 RelaxedPrecision
21 OpMemberDecorate %17 0 BuiltIn Position
22 OpMemberDecorate %17 1 BuiltIn PointSize
23 OpMemberDecorate %17 2 BuiltIn ClipDistance
24 OpMemberDecorate %17 3 BuiltIn CullDistance
25 OpDecorate %17 Block
26 %1 = OpTypeFloat 32
27 %2 = OpTypeVector %1 4
28 %5 = OpTypeInt 32 0
29 %8 = OpTypeVector %5 4
30 %15 = OpSpecConstant %5 8
31 %16 = OpTypeArray %1 %15
32 %17 = OpTypeStruct %2 %1 %16 %16
33 %20 = OpTypeVoid
34 %25 = OpConstant %5 0
35 %3 = OpTypePointer Input %2
36 %13 = OpTypePointer Output %2
37 %18 = OpTypePointer Output %17
38 %21 = OpTypeFunction %20
39 %4 = OpVariable %3 Input
40 %19 = OpVariable %18 Output
41 %22 = OpFunction %20 None %21
42 %23 = OpLabel
43 %24 = OpLoad %2 %4
44 %26 = OpAccessChain %13 %19 %25
45 OpStore %26 %24
46 OpReturn
47 OpFunctionEnd