mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-14 17:16:01 +00:00
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>
26 lines
818 B
Plaintext
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.
|