Debian Codegraph @

test/diff/diff_files/different_decorations_vertex_dst.spvasm

raw
1 OpCapability Shader
2 OpMemoryModel Logical GLSL450
3 OpEntryPoint Vertex %40 "main" %4 %5 %6 %8 %25
4 OpSource GLSL 450
5 OpName %4 "_ub"
6 OpName %5 "_uc"
7 OpName %6 "_ud"
8 OpName %8 "_ue"
9 OpName %9 "defaultUniformsVS"
10 OpMemberName %9 0 "_ua"
11 OpName %11 ""
12 OpName %16 "ANGLEDepthRangeParams"
13 OpMemberName %16 0 "near"
14 OpMemberName %16 1 "far"
15 OpMemberName %16 2 "diff"
16 OpMemberName %16 3 "reserved"
17 OpName %17 "ANGLEUniformBlock"
18 OpMemberName %17 0 "viewport"
19 OpMemberName %17 1 "clipDistancesEnabled"
20 OpMemberName %17 2 "xfbActiveUnpaused"
21 OpMemberName %17 3 "xfbVerticesPerInstance"
22 OpMemberName %17 4 "numSamples"
23 OpMemberName %17 5 "xfbBufferOffsets"
24 OpMemberName %17 6 "acbBufferOffsets"
25 OpMemberName %17 7 "depthRange"
26 OpName %19 "ANGLEUniforms"
27 OpName %23 "gl_PerVertex"
28 OpMemberName %23 0 "gl_Position"
29 OpName %25 ""
30 OpName %29 "_ua"
31 OpName %28 "_uf"
32 OpName %33 "_uf"
33 OpName %32 "_ug"
34 OpName %40 "main"
35 OpName %42 "param"
36 OpName %50 "param"
37 OpName %53 "param"
38 OpDecorate %4 Location 1
39 OpDecorate %5 Location 2
40 OpDecorate %6 Location 0
41 OpDecorate %8 Location 1
42 OpMemberDecorate %9 0 Offset 0
43 OpDecorate %9 Block
44 OpDecorate %11 DescriptorSet 0
45 OpDecorate %11 Binding 1
46 OpMemberDecorate %16 0 Offset 0
47 OpMemberDecorate %16 1 Offset 4
48 OpMemberDecorate %16 2 Offset 8
49 OpMemberDecorate %16 3 Offset 12
50 OpMemberDecorate %17 0 Offset 0
51 OpMemberDecorate %17 1 Offset 16
52 OpMemberDecorate %17 2 Offset 20
53 OpMemberDecorate %17 3 Offset 24
54 OpMemberDecorate %17 4 Offset 28
55 OpMemberDecorate %17 5 Offset 32
56 OpMemberDecorate %17 6 Offset 48
57 OpMemberDecorate %17 7 Offset 64
58 OpMemberDecorate %17 2 RelaxedPrecision
59 OpMemberDecorate %17 4 RelaxedPrecision
60 OpDecorate %17 Block
61 OpDecorate %19 DescriptorSet 2
62 OpDecorate %19 Binding 0
63 OpMemberDecorate %23 0 BuiltIn Position
64 OpDecorate %23 Block
65 OpDecorate %28 RelaxedPrecision
66 OpDecorate %29 RelaxedPrecision
67 OpDecorate %31 RelaxedPrecision
68 OpDecorate %32 RelaxedPrecision
69 OpDecorate %33 RelaxedPrecision
70 OpDecorate %35 RelaxedPrecision
71 OpDecorate %36 RelaxedPrecision
72 OpDecorate %37 RelaxedPrecision
73 OpDecorate %44 RelaxedPrecision
74 OpDecorate %52 RelaxedPrecision
75 OpDecorate %55 RelaxedPrecision
76 OpDecorate %56 RelaxedPrecision
77 %1 = OpTypeFloat 32
78 %2 = OpTypeVector %1 4
79 %9 = OpTypeStruct %2
80 %12 = OpTypeInt 32 0
81 %13 = OpTypeInt 32 1
82 %14 = OpTypeVector %13 4
83 %15 = OpTypeVector %12 4
84 %16 = OpTypeStruct %1 %1 %1 %1
85 %17 = OpTypeStruct %2 %12 %12 %13 %13 %14 %15 %16
86 %21 = OpConstant %12 8
87 %22 = OpTypeArray %1 %21
88 %23 = OpTypeStruct %2
89 %38 = OpTypeVoid
90 %45 = OpConstant %12 0
91 %58 = OpTypePointer Private %2
92 %3 = OpTypePointer Input %2
93 %59 = OpTypePointer Private %2
94 %7 = OpTypePointer Output %2
95 %10 = OpTypePointer Uniform %9
96 %18 = OpTypePointer Uniform %17
97 %24 = OpTypePointer Output %23
98 %26 = OpTypePointer Function %2
99 %46 = OpTypePointer Uniform %2
100 %27 = OpTypeFunction %2 %26
101 %39 = OpTypeFunction %38
102 %4 = OpVariable %3 Input
103 %5 = OpVariable %3 Input
104 %6 = OpVariable %3 Input
105 %8 = OpVariable %7 Output
106 %11 = OpVariable %10 Uniform
107 %19 = OpVariable %18 Uniform
108 %20 = OpVariable %59 Private
109 %25 = OpVariable %24 Output
110 %60 = OpConstant %13 0
111 %61 = OpConstant %1 0.5
112 %28 = OpFunction %2 None %27
113 %29 = OpFunctionParameter %26
114 %30 = OpLabel
115 %31 = OpLoad %2 %29
116 OpReturnValue %31
117 OpFunctionEnd
118 %32 = OpFunction %2 None %27
119 %33 = OpFunctionParameter %26
120 %34 = OpLabel
121 %35 = OpLoad %2 %33
122 %36 = OpLoad %2 %33
123 %37 = OpFAdd %2 %35 %36
124 OpReturnValue %37
125 OpFunctionEnd
126 %40 = OpFunction %38 None %39
127 %41 = OpLabel
128 %42 = OpVariable %26 Function
129 %50 = OpVariable %26 Function
130 %53 = OpVariable %26 Function
131 %43 = OpLoad %2 %4
132 OpStore %42 %43
133 %44 = OpFunctionCall %2 %28 %42
134 %47 = OpAccessChain %46 %11 %45
135 %48 = OpLoad %2 %47
136 %49 = OpFAdd %2 %44 %48
137 OpStore %8 %49
138 %51 = OpLoad %2 %5
139 OpStore %50 %51
140 %52 = OpFunctionCall %2 %32 %50
141 %54 = OpLoad %2 %6
142 OpStore %53 %54
143 %55 = OpFunctionCall %2 %28 %53
144 %56 = OpFAdd %2 %52 %55
145 %57 = OpAccessChain %7 %25 %45
146 OpStore %57 %56
147 %62 = OpAccessChain %7 %25 %60
148 %63 = OpLoad %2 %62
149 %64 = OpCompositeExtract %1 %63 0
150 %65 = OpCompositeExtract %1 %63 1
151 %66 = OpCompositeExtract %1 %63 2
152 %67 = OpCompositeExtract %1 %63 3
153 %69 = OpFNegate %1 %64
154 %70 = OpFAdd %1 %66 %67
155 %71 = OpFMul %1 %70 %61
156 %68 = OpCompositeConstruct %2 %65 %69 %71 %67
157 OpStore %62 %68
158 OpReturn
159 OpFunctionEnd