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 <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
Ben Clayton 2021-06-07 16:50:22 +00:00 committed by Tint LUCI CQ
parent 6a665d1b85
commit fb6a6185fa
1 changed files with 13 additions and 0 deletions
test/deprecated/access_deco

View File

@ -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 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<rgba32float>; [[group(0), binding(0)]] var tex : [[access(write)]] texture_storage_2d<rgba32float>;
^ ^
Validation Failure:
#include <metal_stdlib> #include <metal_stdlib>
using namespace metal; using namespace metal;
@ -10,3 +15,11 @@ kernel void tint_symbol() {
return; 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.