mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
Update storage_buffer storage class.
This Cl updates the `storage_buffer` storage class to just be `storage`. Change-Id: Ibfaecbb0862bd60d39665eb937c0b6300899e177 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/38161 Auto-Submit: dan sinclair <dsinclair@chromium.org> Reviewed-by: David Neto <dneto@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
7edf1fbc20
commit
336bb0b4dd
@@ -57,8 +57,8 @@ fn frag_main() -> void {
|
||||
};
|
||||
|
||||
[[binding(0), group(0)]] var<uniform> params : [[access(read)]] SimParams;
|
||||
[[binding(1), group(0)]] var<storage_buffer> particlesA : [[access(read_write)]] Particles;
|
||||
[[binding(2), group(0)]] var<storage_buffer> particlesB : [[access(read_write)]] Particles;
|
||||
[[binding(1), group(0)]] var<storage> particlesA : [[access(read_write)]] Particles;
|
||||
[[binding(2), group(0)]] var<storage> particlesB : [[access(read_write)]] Particles;
|
||||
|
||||
[[builtin(global_invocation_id)]] var<in> gl_GlobalInvocationID : vec3<u32>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user