• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1intrinsics/gen/isInf/7bd98f.wgsl:28:19 warning: use of deprecated intrinsic
2  var res: bool = isInf(1.0);
3                  ^^^^^
4
5; SPIR-V
6; Version: 1.3
7; Generator: Google Tint Compiler; 0
8; Bound: 32
9; Schema: 0
10               OpCapability Shader
11               OpMemoryModel Logical GLSL450
12               OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size
13               OpEntryPoint Fragment %fragment_main "fragment_main"
14               OpEntryPoint GLCompute %compute_main "compute_main"
15               OpExecutionMode %fragment_main OriginUpperLeft
16               OpExecutionMode %compute_main LocalSize 1 1 1
17               OpName %value "value"
18               OpName %vertex_point_size "vertex_point_size"
19               OpName %isInf_7bd98f "isInf_7bd98f"
20               OpName %res "res"
21               OpName %vertex_main_inner "vertex_main_inner"
22               OpName %vertex_main "vertex_main"
23               OpName %fragment_main "fragment_main"
24               OpName %compute_main "compute_main"
25               OpDecorate %value BuiltIn Position
26               OpDecorate %vertex_point_size BuiltIn PointSize
27      %float = OpTypeFloat 32
28    %v4float = OpTypeVector %float 4
29%_ptr_Output_v4float = OpTypePointer Output %v4float
30          %5 = OpConstantNull %v4float
31      %value = OpVariable %_ptr_Output_v4float Output %5
32%_ptr_Output_float = OpTypePointer Output %float
33          %8 = OpConstantNull %float
34%vertex_point_size = OpVariable %_ptr_Output_float Output %8
35       %void = OpTypeVoid
36          %9 = OpTypeFunction %void
37       %bool = OpTypeBool
38    %float_1 = OpConstant %float 1
39%_ptr_Function_bool = OpTypePointer Function %bool
40         %18 = OpConstantNull %bool
41         %19 = OpTypeFunction %v4float
42%isInf_7bd98f = OpFunction %void None %9
43         %12 = OpLabel
44        %res = OpVariable %_ptr_Function_bool Function %18
45         %13 = OpIsInf %bool %float_1
46               OpStore %res %13
47               OpReturn
48               OpFunctionEnd
49%vertex_main_inner = OpFunction %v4float None %19
50         %21 = OpLabel
51         %22 = OpFunctionCall %void %isInf_7bd98f
52               OpReturnValue %5
53               OpFunctionEnd
54%vertex_main = OpFunction %void None %9
55         %24 = OpLabel
56         %25 = OpFunctionCall %v4float %vertex_main_inner
57               OpStore %value %25
58               OpStore %vertex_point_size %float_1
59               OpReturn
60               OpFunctionEnd
61%fragment_main = OpFunction %void None %9
62         %27 = OpLabel
63         %28 = OpFunctionCall %void %isInf_7bd98f
64               OpReturn
65               OpFunctionEnd
66%compute_main = OpFunction %void None %9
67         %30 = OpLabel
68         %31 = OpFunctionCall %void %isInf_7bd98f
69               OpReturn
70               OpFunctionEnd
71