mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-11 14:41:50 +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
@@ -144,7 +144,7 @@ struct Particles {
|
||||
Particle particles[5];
|
||||
};
|
||||
|
||||
layout (binding = 0) uniform SimParams_1 {
|
||||
layout(binding = 0) uniform SimParams_1 {
|
||||
float deltaT;
|
||||
float rule1Distance;
|
||||
float rule2Distance;
|
||||
@@ -153,10 +153,10 @@ layout (binding = 0) uniform SimParams_1 {
|
||||
float rule2Scale;
|
||||
float rule3Scale;
|
||||
} params;
|
||||
layout (binding = 1) buffer Particles_1 {
|
||||
layout(binding = 1) buffer Particles_1 {
|
||||
Particle particles[5];
|
||||
} particlesA;
|
||||
layout (binding = 2) buffer Particles_2 {
|
||||
layout(binding = 2) buffer Particles_2 {
|
||||
Particle particles[5];
|
||||
} particlesB;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ struct Uniforms {
|
||||
mat4 modelViewProjectionMatrix;
|
||||
};
|
||||
|
||||
layout (binding = 0) uniform Uniforms_1 {
|
||||
layout(binding = 0) uniform Uniforms_1 {
|
||||
mat4 modelViewProjectionMatrix;
|
||||
} uniforms;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user