| intrinsics/repeated_use.wgsl:5:9 warning: use of deprecated intrinsic |
| _ = isNormal(vec4<f32>()); |
| ^^^^^^^^ |
| |
| intrinsics/repeated_use.wgsl:6:9 warning: use of deprecated intrinsic |
| _ = isNormal(vec4<f32>(1.)); |
| ^^^^^^^^ |
| |
| intrinsics/repeated_use.wgsl:7:9 warning: use of deprecated intrinsic |
| _ = isNormal(vec4<f32>(1., 2., 3., 4.)); |
| ^^^^^^^^ |
| |
| intrinsics/repeated_use.wgsl:9:9 warning: use of deprecated intrinsic |
| _ = isNormal(vec3<f32>()); |
| ^^^^^^^^ |
| |
| intrinsics/repeated_use.wgsl:10:9 warning: use of deprecated intrinsic |
| _ = isNormal(vec3<f32>(1.)); |
| ^^^^^^^^ |
| |
| intrinsics/repeated_use.wgsl:11:9 warning: use of deprecated intrinsic |
| _ = isNormal(vec3<f32>(1., 2., 3.)); |
| ^^^^^^^^ |
| |
| intrinsics/repeated_use.wgsl:13:9 warning: use of deprecated intrinsic |
| _ = isNormal(vec2<f32>()); |
| ^^^^^^^^ |
| |
| intrinsics/repeated_use.wgsl:14:9 warning: use of deprecated intrinsic |
| _ = isNormal(vec2<f32>(1.)); |
| ^^^^^^^^ |
| |
| intrinsics/repeated_use.wgsl:15:9 warning: use of deprecated intrinsic |
| _ = isNormal(vec2<f32>(1., 2.)); |
| ^^^^^^^^ |
| |
| intrinsics/repeated_use.wgsl:17:9 warning: use of deprecated intrinsic |
| _ = isNormal(1.); |
| ^^^^^^^^ |
| |
| intrinsics/repeated_use.wgsl:18:9 warning: use of deprecated intrinsic |
| _ = isNormal(2.); |
| ^^^^^^^^ |
| |
| intrinsics/repeated_use.wgsl:19:9 warning: use of deprecated intrinsic |
| _ = isNormal(3.); |
| ^^^^^^^^ |
| |
| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 109 |
| ; Schema: 0 |
| OpCapability Shader |
| %11 = OpExtInstImport "GLSL.std.450" |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" |
| OpExecutionMode %main LocalSize 1 1 1 |
| OpName %main "main" |
| %void = OpTypeVoid |
| %1 = OpTypeFunction %void |
| %bool = OpTypeBool |
| %v4bool = OpTypeVector %bool 4 |
| %float = OpTypeFloat 32 |
| %v4float = OpTypeVector %float 4 |
| %10 = OpConstantNull %v4float |
| %uint = OpTypeInt 32 0 |
| %uint_133693440 = OpConstant %uint 133693440 |
| %uint_524288 = OpConstant %uint 524288 |
| %uint_133169152 = OpConstant %uint 133169152 |
| %v4uint = OpTypeVector %uint 4 |
| %float_1 = OpConstant %float 1 |
| %25 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1 |
| %float_2 = OpConstant %float 2 |
| %float_3 = OpConstant %float 3 |
| %float_4 = OpConstant %float 4 |
| %36 = OpConstantComposite %v4float %float_1 %float_2 %float_3 %float_4 |
| %v3bool = OpTypeVector %bool 3 |
| %v3float = OpTypeVector %float 3 |
| %46 = OpConstantNull %v3float |
| %v3uint = OpTypeVector %uint 3 |
| %55 = OpConstantComposite %v3float %float_1 %float_1 %float_1 |
| %63 = OpConstantComposite %v3float %float_1 %float_2 %float_3 |
| %v2bool = OpTypeVector %bool 2 |
| %v2float = OpTypeVector %float 2 |
| %73 = OpConstantNull %v2float |
| %v2uint = OpTypeVector %uint 2 |
| %82 = OpConstantComposite %v2float %float_1 %float_1 |
| %90 = OpConstantComposite %v2float %float_1 %float_2 |
| %main = OpFunction %void None %1 |
| %4 = OpLabel |
| %17 = OpCompositeConstruct %v4uint %uint_133693440 %uint_133693440 %uint_133693440 %uint_133693440 |
| %18 = OpCompositeConstruct %v4uint %uint_524288 %uint_524288 %uint_524288 %uint_524288 |
| %19 = OpCompositeConstruct %v4uint %uint_133169152 %uint_133169152 %uint_133169152 %uint_133169152 |
| %20 = OpBitcast %v4uint %10 |
| %21 = OpBitwiseAnd %v4uint %20 %17 |
| %22 = OpExtInst %v4uint %11 UClamp %21 %18 %19 |
| %5 = OpIEqual %v4bool %21 %22 |
| %26 = OpCompositeConstruct %v4uint %uint_133693440 %uint_133693440 %uint_133693440 %uint_133693440 |
| %27 = OpCompositeConstruct %v4uint %uint_524288 %uint_524288 %uint_524288 %uint_524288 |
| %28 = OpCompositeConstruct %v4uint %uint_133169152 %uint_133169152 %uint_133169152 %uint_133169152 |
| %29 = OpBitcast %v4uint %25 |
| %30 = OpBitwiseAnd %v4uint %29 %26 |
| %31 = OpExtInst %v4uint %11 UClamp %30 %27 %28 |
| %23 = OpIEqual %v4bool %30 %31 |
| %37 = OpCompositeConstruct %v4uint %uint_133693440 %uint_133693440 %uint_133693440 %uint_133693440 |
| %38 = OpCompositeConstruct %v4uint %uint_524288 %uint_524288 %uint_524288 %uint_524288 |
| %39 = OpCompositeConstruct %v4uint %uint_133169152 %uint_133169152 %uint_133169152 %uint_133169152 |
| %40 = OpBitcast %v4uint %36 |
| %41 = OpBitwiseAnd %v4uint %40 %37 |
| %42 = OpExtInst %v4uint %11 UClamp %41 %38 %39 |
| %32 = OpIEqual %v4bool %41 %42 |
| %48 = OpCompositeConstruct %v3uint %uint_133693440 %uint_133693440 %uint_133693440 |
| %49 = OpCompositeConstruct %v3uint %uint_524288 %uint_524288 %uint_524288 |
| %50 = OpCompositeConstruct %v3uint %uint_133169152 %uint_133169152 %uint_133169152 |
| %51 = OpBitcast %v3uint %46 |
| %52 = OpBitwiseAnd %v3uint %51 %48 |
| %53 = OpExtInst %v3uint %11 UClamp %52 %49 %50 |
| %43 = OpIEqual %v3bool %52 %53 |
| %56 = OpCompositeConstruct %v3uint %uint_133693440 %uint_133693440 %uint_133693440 |
| %57 = OpCompositeConstruct %v3uint %uint_524288 %uint_524288 %uint_524288 |
| %58 = OpCompositeConstruct %v3uint %uint_133169152 %uint_133169152 %uint_133169152 |
| %59 = OpBitcast %v3uint %55 |
| %60 = OpBitwiseAnd %v3uint %59 %56 |
| %61 = OpExtInst %v3uint %11 UClamp %60 %57 %58 |
| %54 = OpIEqual %v3bool %60 %61 |
| %64 = OpCompositeConstruct %v3uint %uint_133693440 %uint_133693440 %uint_133693440 |
| %65 = OpCompositeConstruct %v3uint %uint_524288 %uint_524288 %uint_524288 |
| %66 = OpCompositeConstruct %v3uint %uint_133169152 %uint_133169152 %uint_133169152 |
| %67 = OpBitcast %v3uint %63 |
| %68 = OpBitwiseAnd %v3uint %67 %64 |
| %69 = OpExtInst %v3uint %11 UClamp %68 %65 %66 |
| %62 = OpIEqual %v3bool %68 %69 |
| %75 = OpCompositeConstruct %v2uint %uint_133693440 %uint_133693440 |
| %76 = OpCompositeConstruct %v2uint %uint_524288 %uint_524288 |
| %77 = OpCompositeConstruct %v2uint %uint_133169152 %uint_133169152 |
| %78 = OpBitcast %v2uint %73 |
| %79 = OpBitwiseAnd %v2uint %78 %75 |
| %80 = OpExtInst %v2uint %11 UClamp %79 %76 %77 |
| %70 = OpIEqual %v2bool %79 %80 |
| %83 = OpCompositeConstruct %v2uint %uint_133693440 %uint_133693440 |
| %84 = OpCompositeConstruct %v2uint %uint_524288 %uint_524288 |
| %85 = OpCompositeConstruct %v2uint %uint_133169152 %uint_133169152 |
| %86 = OpBitcast %v2uint %82 |
| %87 = OpBitwiseAnd %v2uint %86 %83 |
| %88 = OpExtInst %v2uint %11 UClamp %87 %84 %85 |
| %81 = OpIEqual %v2bool %87 %88 |
| %91 = OpCompositeConstruct %v2uint %uint_133693440 %uint_133693440 |
| %92 = OpCompositeConstruct %v2uint %uint_524288 %uint_524288 |
| %93 = OpCompositeConstruct %v2uint %uint_133169152 %uint_133169152 |
| %94 = OpBitcast %v2uint %90 |
| %95 = OpBitwiseAnd %v2uint %94 %91 |
| %96 = OpExtInst %v2uint %11 UClamp %95 %92 %93 |
| %89 = OpIEqual %v2bool %95 %96 |
| %98 = OpBitcast %uint %float_1 |
| %99 = OpBitwiseAnd %uint %98 %uint_133693440 |
| %100 = OpExtInst %uint %11 UClamp %99 %uint_524288 %uint_133169152 |
| %97 = OpIEqual %bool %99 %100 |
| %102 = OpBitcast %uint %float_2 |
| %103 = OpBitwiseAnd %uint %102 %uint_133693440 |
| %104 = OpExtInst %uint %11 UClamp %103 %uint_524288 %uint_133169152 |
| %101 = OpIEqual %bool %103 %104 |
| %106 = OpBitcast %uint %float_3 |
| %107 = OpBitwiseAnd %uint %106 %uint_133693440 |
| %108 = OpExtInst %uint %11 UClamp %107 %uint_524288 %uint_133169152 |
| %105 = OpIEqual %bool %107 %108 |
| OpReturn |
| OpFunctionEnd |