Debian Codegraph @

test/diff/diff_files/int_vs_uint_constants_dst.spvasm

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