Debian Codegraph @

third_party/spirv-cross/shaders-msl/asm/frag/default-member-names.asm.frag

raw
1 ; SPIR-V
2 ; Version: 1.0
3 ; Generator: Khronos Glslang Reference Front End; 1
4 ; Bound: 43
5 ; Schema: 0
6 OpCapability Shader
7 %1 = OpExtInstImport "GLSL.std.450"
8 OpMemoryModel Logical GLSL450
9 OpEntryPoint Fragment %2 "main" %3
10 OpExecutionMode %2 OriginUpperLeft
11 OpDecorate %3 Location 0
12 %void = OpTypeVoid
13 %9 = OpTypeFunction %void
14 %float = OpTypeFloat 32
15 %v4float = OpTypeVector %float 4
16 %12 = OpTypeFunction %v4float
17 %_struct_5 = OpTypeStruct %float
18 %_struct_6 = OpTypeStruct %float %float %float %float %float %float %float %float %float %float %float %float %_struct_5
19 %_ptr_Function__struct_6 = OpTypePointer Function %_struct_6
20 %int = OpTypeInt 32 1
21 %int_0 = OpConstant %int 0
22 %_ptr_Function_float = OpTypePointer Function %float
23 %int_1 = OpConstant %int 1
24 %int_2 = OpConstant %int 2
25 %int_3 = OpConstant %int 3
26 %_ptr_Output_v4float = OpTypePointer Output %v4float
27 %3 = OpVariable %_ptr_Output_v4float Output
28 %_ptr_Function_v4float = OpTypePointer Function %v4float
29 %2 = OpFunction %void None %9
30 %22 = OpLabel
31 %23 = OpVariable %_ptr_Function__struct_6 Function
32 %24 = OpAccessChain %_ptr_Function_float %23 %int_0
33 %25 = OpLoad %float %24
34 %26 = OpAccessChain %_ptr_Function_float %23 %int_1
35 %27 = OpLoad %float %26
36 %28 = OpAccessChain %_ptr_Function_float %23 %int_2
37 %29 = OpLoad %float %28
38 %30 = OpAccessChain %_ptr_Function_float %23 %int_3
39 %31 = OpLoad %float %30
40 %32 = OpCompositeConstruct %v4float %25 %27 %29 %31
41 OpStore %3 %32
42 OpReturn
43 OpFunctionEnd
44 %4 = OpFunction %v4float None %12
45 %33 = OpLabel
46 %7 = OpVariable %_ptr_Function__struct_6 Function
47 %34 = OpAccessChain %_ptr_Function_float %7 %int_0
48 %35 = OpLoad %float %34
49 %36 = OpAccessChain %_ptr_Function_float %7 %int_1
50 %37 = OpLoad %float %36
51 %38 = OpAccessChain %_ptr_Function_float %7 %int_2
52 %39 = OpLoad %float %38
53 %40 = OpAccessChain %_ptr_Function_float %7 %int_3
54 %41 = OpLoad %float %40
55 %42 = OpCompositeConstruct %v4float %35 %37 %39 %41
56 OpReturnValue %42
57 OpFunctionEnd