mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 05:57:51 +00:00
GLSL: standardize layout() formatting (whitespace change).
Change-Id: Id0c879c597e02da32350b2ee4878991fe78c470f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78221 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
committed by
Tint LUCI CQ
parent
8e01c45e54
commit
c8c0e2ea38
@@ -17,10 +17,10 @@ struct S {
|
||||
|
||||
ivec4 src_private[4] = ivec4[4](ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0));
|
||||
shared ivec4 src_workgroup[4];
|
||||
layout (binding = 0) uniform S_1 {
|
||||
layout(binding = 0) uniform S_1 {
|
||||
ivec4 arr[4];
|
||||
} src_uniform;
|
||||
layout (binding = 1) buffer S_2 {
|
||||
layout(binding = 1) buffer S_2 {
|
||||
ivec4 arr[4];
|
||||
} src_storage;
|
||||
|
||||
|
||||
@@ -17,10 +17,10 @@ struct S {
|
||||
|
||||
ivec4 src_private[4] = ivec4[4](ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0));
|
||||
shared ivec4 src_workgroup[4];
|
||||
layout (binding = 0) uniform S_1 {
|
||||
layout(binding = 0) uniform S_1 {
|
||||
ivec4 arr[4];
|
||||
} src_uniform;
|
||||
layout (binding = 1) buffer S_2 {
|
||||
layout(binding = 1) buffer S_2 {
|
||||
ivec4 arr[4];
|
||||
} src_storage;
|
||||
ivec4 dst[4] = ivec4[4](ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0));
|
||||
|
||||
@@ -20,16 +20,16 @@ struct S_nested {
|
||||
|
||||
ivec4 src_private[4] = ivec4[4](ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0));
|
||||
shared ivec4 src_workgroup[4];
|
||||
layout (binding = 0) uniform S_1 {
|
||||
layout(binding = 0) uniform S_1 {
|
||||
ivec4 arr[4];
|
||||
} src_uniform;
|
||||
layout (binding = 1) buffer S_2 {
|
||||
layout(binding = 1) buffer S_2 {
|
||||
ivec4 arr[4];
|
||||
} src_storage;
|
||||
layout (binding = 2) buffer S_3 {
|
||||
layout(binding = 2) buffer S_3 {
|
||||
ivec4 arr[4];
|
||||
} dst;
|
||||
layout (binding = 3) buffer S_nested_1 {
|
||||
layout(binding = 3) buffer S_nested_1 {
|
||||
int arr[4][3][2];
|
||||
} dst_nested;
|
||||
|
||||
|
||||
@@ -17,10 +17,10 @@ struct S {
|
||||
|
||||
ivec4 src_private[4] = ivec4[4](ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0));
|
||||
shared ivec4 src_workgroup[4];
|
||||
layout (binding = 0) uniform S_1 {
|
||||
layout(binding = 0) uniform S_1 {
|
||||
ivec4 arr[4];
|
||||
} src_uniform;
|
||||
layout (binding = 1) buffer S_2 {
|
||||
layout(binding = 1) buffer S_2 {
|
||||
ivec4 arr[4];
|
||||
} src_storage;
|
||||
shared ivec4 dst[4];
|
||||
|
||||
Reference in New Issue
Block a user