Deprecate Ignore()
It's been removed from the spec: https://github.com/gpuweb/gpuweb/pull/2127 Fixed: tint:1213 Change-Id: I163fe807765bb1ac0580b398f4897daea555216a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/67067 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com> Reviewed-by: James Price <jrprice@google.com>
This commit is contained in:
parent
c2fa68e551
commit
7b776f18b0
|
@ -8,6 +8,10 @@
|
||||||
* Deprecated texture builtin functions that accepted a `read` access controlled storage texture have been removed.
|
* Deprecated texture builtin functions that accepted a `read` access controlled storage texture have been removed.
|
||||||
* Storage textures must now only use the `write` access control.
|
* Storage textures must now only use the `write` access control.
|
||||||
|
|
||||||
|
### Deprecated Features
|
||||||
|
|
||||||
|
* The `ignore()` builtin has been replaced with phony-assignment. [gpuweb#2127](https://github.com/gpuweb/gpuweb/pull/2127)
|
||||||
|
|
||||||
### New Features
|
### New Features
|
||||||
|
|
||||||
* `any()` and `all()` now support a `bool` parameter. These simply return the passed argument. [tint:1253](https://crbug.com/tint/1253)
|
* `any()` and `all()` now support a `bool` parameter. These simply return the passed argument. [tint:1253](https://crbug.com/tint/1253)
|
||||||
|
|
|
@ -7774,7 +7774,7 @@ constexpr OverloadInfo kOverloads[] = {
|
||||||
/* parameters */ &kParameters[534],
|
/* parameters */ &kParameters[534],
|
||||||
/* return matcher indices */ nullptr,
|
/* return matcher indices */ nullptr,
|
||||||
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
|
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
|
||||||
/* is_deprecated */ false,
|
/* is_deprecated */ true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
/* [250] */
|
/* [250] */
|
||||||
|
|
|
@ -324,7 +324,7 @@ fn frexp<N: num>(vec<N, f32>) -> _frexp_result_vec<N>
|
||||||
[[stage("fragment")]] fn fwidthCoarse<N: num>(vec<N, f32>) -> vec<N, f32>
|
[[stage("fragment")]] fn fwidthCoarse<N: num>(vec<N, f32>) -> vec<N, f32>
|
||||||
[[stage("fragment")]] fn fwidthFine(f32) -> f32
|
[[stage("fragment")]] fn fwidthFine(f32) -> f32
|
||||||
[[stage("fragment")]] fn fwidthFine<N: num>(vec<N, f32>) -> vec<N, f32>
|
[[stage("fragment")]] fn fwidthFine<N: num>(vec<N, f32>) -> vec<N, f32>
|
||||||
fn ignore<T>(T)
|
[[deprecated]] fn ignore<T>(T)
|
||||||
fn inverseSqrt(f32) -> f32
|
fn inverseSqrt(f32) -> f32
|
||||||
fn inverseSqrt<N: num>(vec<N, f32>) -> vec<N, f32>
|
fn inverseSqrt<N: num>(vec<N, f32>) -> vec<N, f32>
|
||||||
fn isFinite(f32) -> bool
|
fn isFinite(f32) -> bool
|
||||||
|
|
|
@ -919,7 +919,7 @@ void DecomposeMemoryAccess::Run(CloneContext& ctx, const DataMap&, DataMap&) {
|
||||||
if (auto* call_expr = node->As<ast::CallExpression>()) {
|
if (auto* call_expr = node->As<ast::CallExpression>()) {
|
||||||
auto* call = sem.Get(call_expr);
|
auto* call = sem.Get(call_expr);
|
||||||
if (auto* intrinsic = call->Target()->As<sem::Intrinsic>()) {
|
if (auto* intrinsic = call->Target()->As<sem::Intrinsic>()) {
|
||||||
if (intrinsic->Type() == sem::IntrinsicType::kIgnore) {
|
if (intrinsic->Type() == sem::IntrinsicType::kIgnore) { // [DEPRECATED]
|
||||||
// ignore(X)
|
// ignore(X)
|
||||||
// If X is an memory access, don't transform it into a load, as it
|
// If X is an memory access, don't transform it into a load, as it
|
||||||
// may refer to a structure holding a runtime array, which cannot be
|
// may refer to a structure holding a runtime array, which cannot be
|
||||||
|
|
|
@ -397,7 +397,7 @@ bool GeneratorImpl::EmitCall(std::ostream& out,
|
||||||
} else if (intrinsic->Type() == sem::IntrinsicType::kIsNormal) {
|
} else if (intrinsic->Type() == sem::IntrinsicType::kIsNormal) {
|
||||||
return EmitIsNormalCall(out, expr, intrinsic);
|
return EmitIsNormalCall(out, expr, intrinsic);
|
||||||
} else if (intrinsic->Type() == sem::IntrinsicType::kIgnore) {
|
} else if (intrinsic->Type() == sem::IntrinsicType::kIgnore) {
|
||||||
return EmitExpression(out, expr->args[0]);
|
return EmitExpression(out, expr->args[0]); // [DEPRECATED]
|
||||||
} else if (intrinsic->IsDataPacking()) {
|
} else if (intrinsic->IsDataPacking()) {
|
||||||
return EmitDataPackingCall(out, expr, intrinsic);
|
return EmitDataPackingCall(out, expr, intrinsic);
|
||||||
} else if (intrinsic->IsDataUnpacking()) {
|
} else if (intrinsic->IsDataUnpacking()) {
|
||||||
|
|
|
@ -610,7 +610,7 @@ bool GeneratorImpl::EmitCall(std::ostream& out,
|
||||||
} else if (intrinsic->Type() == sem::IntrinsicType::kIsNormal) {
|
} else if (intrinsic->Type() == sem::IntrinsicType::kIsNormal) {
|
||||||
return EmitIsNormalCall(out, expr, intrinsic);
|
return EmitIsNormalCall(out, expr, intrinsic);
|
||||||
} else if (intrinsic->Type() == sem::IntrinsicType::kIgnore) {
|
} else if (intrinsic->Type() == sem::IntrinsicType::kIgnore) {
|
||||||
return EmitExpression(out, expr->args[0]);
|
return EmitExpression(out, expr->args[0]); // [DEPRECATED]
|
||||||
} else if (intrinsic->IsDataPacking()) {
|
} else if (intrinsic->IsDataPacking()) {
|
||||||
return EmitDataPackingCall(out, expr, intrinsic);
|
return EmitDataPackingCall(out, expr, intrinsic);
|
||||||
} else if (intrinsic->IsDataUnpacking()) {
|
} else if (intrinsic->IsDataUnpacking()) {
|
||||||
|
|
|
@ -596,7 +596,7 @@ bool GeneratorImpl::EmitIntrinsicCall(std::ostream& out,
|
||||||
out << "threadgroup_barrier(mem_flags::mem_threadgroup)";
|
out << "threadgroup_barrier(mem_flags::mem_threadgroup)";
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
case sem::IntrinsicType::kIgnore: {
|
case sem::IntrinsicType::kIgnore: { // [DEPRECATED]
|
||||||
out << "(void) ";
|
out << "(void) ";
|
||||||
if (!EmitExpression(out, expr->args[0])) {
|
if (!EmitExpression(out, expr->args[0])) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -2436,7 +2436,7 @@ uint32_t Builder::GenerateIntrinsic(const ast::CallExpression* call,
|
||||||
case IntrinsicType::kFwidthFine:
|
case IntrinsicType::kFwidthFine:
|
||||||
op = spv::Op::OpFwidthFine;
|
op = spv::Op::OpFwidthFine;
|
||||||
break;
|
break;
|
||||||
case IntrinsicType::kIgnore:
|
case IntrinsicType::kIgnore: // [DEPRECATED]
|
||||||
// Evaluate the single argument, return the non-zero result_id which isn't
|
// Evaluate the single argument, return the non-zero result_id which isn't
|
||||||
// associated with any op (ignore returns void, so this cannot be used in
|
// associated with any op (ignore returns void, so this cannot be used in
|
||||||
// an expression).
|
// an expression).
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/2a6ac2.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
Texture2DMS<float4> arg_0 : register(t0, space1);
|
Texture2DMS<float4> arg_0 : register(t0, space1);
|
||||||
|
|
||||||
void ignore_2a6ac2() {
|
void ignore_2a6ac2() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/2a6ac2.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/2a6ac2.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/2a6ac2.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
[[group(1), binding(0)]] var arg_0 : texture_depth_multisampled_2d;
|
[[group(1), binding(0)]] var arg_0 : texture_depth_multisampled_2d;
|
||||||
|
|
||||||
fn ignore_2a6ac2() {
|
fn ignore_2a6ac2() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/5016e5.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
SamplerState arg_0 : register(s0, space1);
|
SamplerState arg_0 : register(s0, space1);
|
||||||
|
|
||||||
void ignore_5016e5() {
|
void ignore_5016e5() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/5016e5.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/5016e5.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/5016e5.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
[[group(1), binding(0)]] var arg_0 : sampler;
|
[[group(1), binding(0)]] var arg_0 : sampler;
|
||||||
|
|
||||||
fn ignore_5016e5() {
|
fn ignore_5016e5() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/509355.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
TextureCube arg_0 : register(t0, space1);
|
TextureCube arg_0 : register(t0, space1);
|
||||||
|
|
||||||
void ignore_509355() {
|
void ignore_509355() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/509355.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/509355.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/509355.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
[[group(1), binding(0)]] var arg_0 : texture_depth_cube;
|
[[group(1), binding(0)]] var arg_0 : texture_depth_cube;
|
||||||
|
|
||||||
fn ignore_509355() {
|
fn ignore_509355() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/51aeb7.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(1);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
void ignore_51aeb7() {
|
void ignore_51aeb7() {
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/51aeb7.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(1);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/51aeb7.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(1);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/51aeb7.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(1);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
fn ignore_51aeb7() {
|
fn ignore_51aeb7() {
|
||||||
ignore(1);
|
ignore(1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/5c9edf.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
Texture2D<float4> arg_0 : register(t0, space1);
|
Texture2D<float4> arg_0 : register(t0, space1);
|
||||||
|
|
||||||
void ignore_5c9edf() {
|
void ignore_5c9edf() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/5c9edf.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/5c9edf.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/5c9edf.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
[[group(1), binding(0)]] var arg_0 : texture_external;
|
[[group(1), binding(0)]] var arg_0 : texture_external;
|
||||||
|
|
||||||
fn ignore_5c9edf() {
|
fn ignore_5c9edf() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/6698df.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(1u);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
void ignore_6698df() {
|
void ignore_6698df() {
|
||||||
1u;
|
1u;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/6698df.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(1u);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/6698df.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(1u);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/6698df.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(1u);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
fn ignore_6698df() {
|
fn ignore_6698df() {
|
||||||
ignore(1u);
|
ignore(1u);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/ad88be.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
TextureCubeArray arg_0 : register(t0, space1);
|
TextureCubeArray arg_0 : register(t0, space1);
|
||||||
|
|
||||||
void ignore_ad88be() {
|
void ignore_ad88be() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/ad88be.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/ad88be.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/ad88be.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
[[group(1), binding(0)]] var arg_0 : texture_depth_cube_array;
|
[[group(1), binding(0)]] var arg_0 : texture_depth_cube_array;
|
||||||
|
|
||||||
fn ignore_ad88be() {
|
fn ignore_ad88be() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/b469af.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
SamplerComparisonState arg_0 : register(s0, space1);
|
SamplerComparisonState arg_0 : register(s0, space1);
|
||||||
|
|
||||||
void ignore_b469af() {
|
void ignore_b469af() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/b469af.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/b469af.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/b469af.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
[[group(1), binding(0)]] var arg_0 : sampler_comparison;
|
[[group(1), binding(0)]] var arg_0 : sampler_comparison;
|
||||||
|
|
||||||
fn ignore_b469af() {
|
fn ignore_b469af() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/c8a0ee.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
Texture2DArray arg_0 : register(t0, space1);
|
Texture2DArray arg_0 : register(t0, space1);
|
||||||
|
|
||||||
void ignore_c8a0ee() {
|
void ignore_c8a0ee() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/c8a0ee.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/c8a0ee.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/c8a0ee.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
[[group(1), binding(0)]] var arg_0 : texture_depth_2d_array;
|
[[group(1), binding(0)]] var arg_0 : texture_depth_2d_array;
|
||||||
|
|
||||||
fn ignore_c8a0ee() {
|
fn ignore_c8a0ee() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/d91a2f.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(1.0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
void ignore_d91a2f() {
|
void ignore_d91a2f() {
|
||||||
1.0f;
|
1.0f;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/d91a2f.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(1.0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/d91a2f.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(1.0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/d91a2f.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(1.0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
fn ignore_d91a2f() {
|
fn ignore_d91a2f() {
|
||||||
ignore(1.0);
|
ignore(1.0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/e0187b.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
Texture2D arg_0 : register(t0, space1);
|
Texture2D arg_0 : register(t0, space1);
|
||||||
|
|
||||||
void ignore_e0187b() {
|
void ignore_e0187b() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/e0187b.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/e0187b.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/e0187b.wgsl:29:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(arg_0);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
[[group(1), binding(0)]] var arg_0 : texture_depth_2d;
|
[[group(1), binding(0)]] var arg_0 : texture_depth_2d;
|
||||||
|
|
||||||
fn ignore_e0187b() {
|
fn ignore_e0187b() {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/f414a6.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(bool());
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
void ignore_f414a6() {
|
void ignore_f414a6() {
|
||||||
false;
|
false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/f414a6.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(bool());
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/f414a6.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(bool());
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/gen/ignore/f414a6.wgsl:28:3 warning: use of deprecated intrinsic
|
||||||
|
ignore(bool());
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
fn ignore_f414a6() {
|
fn ignore_f414a6() {
|
||||||
ignore(bool());
|
ignore(bool());
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/ignore/call.wgsl:7:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(f(1, 2, 3));
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
int f(int a, int b, int c) {
|
int f(int a, int b, int c) {
|
||||||
return ((a * b) + c);
|
return ((a * b) + c);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/ignore/call.wgsl:7:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(f(1, 2, 3));
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/ignore/call.wgsl:7:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(f(1, 2, 3));
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/ignore/call.wgsl:7:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(f(1, 2, 3));
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
fn f(a : i32, b : i32, c : i32) -> i32 {
|
fn f(a : i32, b : i32, c : i32) -> i32 {
|
||||||
return ((a * b) + c);
|
return ((a * b) + c);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/ignore/runtime_array.wgsl:10:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(s.arr);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
RWByteAddressBuffer s : register(u0, space0);
|
RWByteAddressBuffer s : register(u0, space0);
|
||||||
|
|
||||||
[numthreads(1, 1, 1)]
|
[numthreads(1, 1, 1)]
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/ignore/runtime_array.wgsl:10:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(s.arr);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/ignore/runtime_array.wgsl:10:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(s.arr);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
intrinsics/ignore/runtime_array.wgsl:10:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(s.arr);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
struct S {
|
struct S {
|
||||||
arr : array<i32>;
|
arr : array<i32>;
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
intrinsics/ignore/storage_buffer.wgsl:10:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(s);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
|
intrinsics/ignore/storage_buffer.wgsl:11:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(s.i);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
RWByteAddressBuffer s : register(u0, space0);
|
RWByteAddressBuffer s : register(u0, space0);
|
||||||
|
|
||||||
[numthreads(1, 1, 1)]
|
[numthreads(1, 1, 1)]
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
intrinsics/ignore/storage_buffer.wgsl:10:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(s);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
|
intrinsics/ignore/storage_buffer.wgsl:11:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(s.i);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
intrinsics/ignore/storage_buffer.wgsl:10:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(s);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
|
intrinsics/ignore/storage_buffer.wgsl:11:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(s.i);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
intrinsics/ignore/storage_buffer.wgsl:10:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(s);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
|
intrinsics/ignore/storage_buffer.wgsl:11:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(s.i);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
struct S {
|
struct S {
|
||||||
i : i32;
|
i : i32;
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
intrinsics/ignore/uniform_buffer.wgsl:10:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(u);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
|
intrinsics/ignore/uniform_buffer.wgsl:11:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(u.i);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
cbuffer cbuffer_u : register(b0, space0) {
|
cbuffer cbuffer_u : register(b0, space0) {
|
||||||
uint4 u[1];
|
uint4 u[1];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
intrinsics/ignore/uniform_buffer.wgsl:10:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(u);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
|
intrinsics/ignore/uniform_buffer.wgsl:11:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(u.i);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
#include <metal_stdlib>
|
#include <metal_stdlib>
|
||||||
|
|
||||||
using namespace metal;
|
using namespace metal;
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
intrinsics/ignore/uniform_buffer.wgsl:10:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(u);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
|
intrinsics/ignore/uniform_buffer.wgsl:11:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(u.i);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
; SPIR-V
|
; SPIR-V
|
||||||
; Version: 1.3
|
; Version: 1.3
|
||||||
; Generator: Google Tint Compiler; 0
|
; Generator: Google Tint Compiler; 0
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
intrinsics/ignore/uniform_buffer.wgsl:10:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(u);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
|
intrinsics/ignore/uniform_buffer.wgsl:11:5 warning: use of deprecated intrinsic
|
||||||
|
ignore(u.i);
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
struct S {
|
struct S {
|
||||||
i : i32;
|
i : i32;
|
||||||
|
|
Loading…
Reference in New Issue