dawn-cmake/test/deprecated/access_deco/storage_texture.wgsl.expected.msl
Ben Clayton fb6a6185fa 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>
2021-06-07 16:50:22 +00:00

26 lines
818 B
Plaintext

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<rgba32float>;
^
Validation Failure:
#include <metal_stdlib>
using namespace metal;
kernel void tint_symbol() {
int2 x = int2(tex.get_width(), tex.get_height());
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.