mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-11 14:41:50 +00:00
writer/wgsl: Omit the newline after [[access()]] decorations
Produces ugly code for the common case. Change-Id: I8e5b1215e19fc6461dc40b8a91922db25f9cbd76 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/47764 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Reviewed-by: James Price <jrprice@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
bfae10525f
commit
ed8332a0d1
@@ -48,12 +48,9 @@ var g5 : [[access(read)]] texture_storage_2d<r32uint>;
|
||||
var g6 : [[access(write)]] texture_storage_2d<rg32float>;
|
||||
|
||||
[[builtin(position)]] var<uniform> g7 : vec3<f32>;
|
||||
[[group(10), binding(20)]] var<storage> g8 : [[access(write)]]
|
||||
S;
|
||||
[[group(10), binding(20)]] var<storage> g9 : [[access(read)]]
|
||||
S;
|
||||
[[group(10), binding(20)]] var<storage> g10 : [[access(read_write)]]
|
||||
S;
|
||||
[[group(10), binding(20)]] var<storage> g8 : [[access(write)]] S;
|
||||
[[group(10), binding(20)]] var<storage> g9 : [[access(read)]] S;
|
||||
[[group(10), binding(20)]] var<storage> g10 : [[access(read_write)]] S;
|
||||
|
||||
fn f0(p0 : bool) -> f32 {
|
||||
if (p0) {
|
||||
|
||||
Reference in New Issue
Block a user