mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-05 03:35:56 +00:00
Some now pass, some still fail. If we fix bugs and they begin to pass, we have a better chance of noticing and marking the issues as fixed. Change-Id: I7278f960967a570ccde8865dcf2aa580235559bf Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/54062 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com>
18 lines
511 B
Plaintext
18 lines
511 B
Plaintext
bug/tint/294.wgsl:8:24 warning: use of deprecated language feature: declare access with var<storage, read> instead of using [[access]] decoration
|
|
[[set(0), binding(1)]] var<storage> lights : [[access(read)]] Lights;
|
|
^^^
|
|
|
|
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
struct Light {
|
|
/* 0x0000 */ packed_float3 position;
|
|
/* 0x000c */ int8_t tint_pad_0[4];
|
|
/* 0x0010 */ packed_float3 colour;
|
|
/* 0x001c */ int8_t tint_pad_1[4];
|
|
};
|
|
struct Lights {
|
|
/* 0x0000 */ Light light[1];
|
|
};
|
|
|