mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 03:11:29 +00:00
- reduce output location value - texture_depth_multisampled_2d - matrix stride handling - ldexp for unsigned second argument Change-Id: Ib0782838dfa93fc637118cbf1faea67cf2406dd5 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/60460 Auto-Submit: David Neto <dneto@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
16 lines
207 B
WebGPU Shading Language
16 lines
207 B
WebGPU Shading Language
[[block]]
|
|
struct S {
|
|
field0 : [[stride(64)]] array<vec2<f32>, 3>;
|
|
};
|
|
|
|
[[group(0), binding(0)]] var<storage, read_write> myvar : S;
|
|
|
|
fn main_1() {
|
|
return;
|
|
}
|
|
|
|
[[stage(fragment)]]
|
|
fn main() {
|
|
main_1();
|
|
}
|