mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 05:57:51 +00:00
Add new GLSL test expectations.
All failures are now SKIP'ed. Bug: tint:1358 Change-Id: If04d57b9e0b71dd877468b5dc277fbff82f36692 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/75220 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
committed by
Tint LUCI CQ
parent
6165cca1a6
commit
c1faee9395
@@ -0,0 +1,31 @@
|
||||
#version 310 es
|
||||
precision mediump float;
|
||||
|
||||
struct Simulation {
|
||||
uint i;
|
||||
};
|
||||
struct Particle {
|
||||
vec3 position[8];
|
||||
float lifetime;
|
||||
vec4 color;
|
||||
vec3 velocity;
|
||||
};
|
||||
|
||||
layout (binding = 3) buffer Particles_1 {
|
||||
Particle p[];
|
||||
} particles;
|
||||
layout (binding = 4) uniform Simulation_1 {
|
||||
uint i;
|
||||
} sim;
|
||||
|
||||
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
||||
void tint_symbol() {
|
||||
Particle particle = particles.p[0];
|
||||
particle.position[sim.i] = particle.position[sim.i];
|
||||
return;
|
||||
}
|
||||
void main() {
|
||||
tint_symbol();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user