Debian Codegraph @

third_party/spirv-cross/shaders-msl/asm/frag/inf-nan-constant.asm.frag

raw
1 ; SPIR-V
2 ; Version: 1.0
3 ; Generator: Khronos Glslang Reference Front End; 7
4 ; Bound: 14
5 ; Schema: 0
6 OpCapability Shader
7 %1 = OpExtInstImport "GLSL.std.450"
8 OpMemoryModel Logical GLSL450
9 OpEntryPoint Fragment %main "main" %FragColor
10 OpExecutionMode %main OriginUpperLeft
11 OpSource ESSL 310
12 OpName %main "main"
13 OpName %FragColor "FragColor"
14 OpDecorate %FragColor Location 0
15 %void = OpTypeVoid
16 %3 = OpTypeFunction %void
17 %float = OpTypeFloat 32
18 %v3float = OpTypeVector %float 3
19 %_ptr_Output_v3float = OpTypePointer Output %v3float
20 %FragColor = OpVariable %_ptr_Output_v3float Output
21 %float_0x1p_128 = OpConstant %float 0x1p+128
22 %float_n0x1p_128 = OpConstant %float -0x1p+128
23 %float_0x1_8p_128 = OpConstant %float 0x1.8p+128
24 %13 = OpConstantComposite %v3float %float_0x1p_128 %float_n0x1p_128 %float_0x1_8p_128
25 %main = OpFunction %void None %3
26 %5 = OpLabel
27 OpStore %FragColor %13
28 OpReturn
29 OpFunctionEnd