From fb6a6185fa09a677ebd2ecc22b25694547a4d82c Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Mon, 7 Jun 2021 16:50:22 +0000 Subject: [PATCH] test: SKIP deprecated/access_deco for MSL backend This does not pass validation. Change-Id: I3e63ad899d346321a4dea13f3a681d01546ed2bb Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/53621 Reviewed-by: Antonio Maiorano Kokoro: Kokoro Commit-Queue: Ben Clayton --- .../access_deco/storage_texture.wgsl.expected.msl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/deprecated/access_deco/storage_texture.wgsl.expected.msl b/test/deprecated/access_deco/storage_texture.wgsl.expected.msl index 44a2faff1b..3ed6e7ca76 100644 --- a/test/deprecated/access_deco/storage_texture.wgsl.expected.msl +++ b/test/deprecated/access_deco/storage_texture.wgsl.expected.msl @@ -1,7 +1,12 @@ +SKIP: FAILED + deprecated/access_deco/storage_texture.wgsl:1:84 warning: use of deprecated language feature: access control is expected as last parameter of storage textures [[group(0), binding(0)]] var tex : [[access(write)]] texture_storage_2d; ^ + + +Validation Failure: #include using namespace metal; @@ -10,3 +15,11 @@ kernel void tint_symbol() { return; } + +tint_Aillrb.metal:5:17: error: use of undeclared identifier 'tex' + int2 x = int2(tex.get_width(), tex.get_height()); + ^ +tint_Aillrb.metal:5:34: error: use of undeclared identifier 'tex' + int2 x = int2(tex.get_width(), tex.get_height()); + ^ +2 errors generated.