mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 19:31:25 +00:00
Bug: tint:1301 Change-Id: Id3a591a2fa0dfdb112046d5c57defbae07483e0d Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/69480 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
21 lines
483 B
GLSL
21 lines
483 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
|
|
const int slen = 4;
|
|
const uint ulen = 4u;
|
|
|
|
void tint_symbol() {
|
|
float signed_literal[4] = float[4](0.0f, 0.0f, 0.0f, 0.0f);
|
|
float unsigned_literal[4] = float[4](0.0f, 0.0f, 0.0f, 0.0f);
|
|
float signed_constant[4] = float[4](0.0f, 0.0f, 0.0f, 0.0f);
|
|
float unsigned_constant[4] = float[4](0.0f, 0.0f, 0.0f, 0.0f);
|
|
signed_literal = unsigned_constant;
|
|
signed_constant = unsigned_literal;
|
|
return;
|
|
}
|
|
void main() {
|
|
tint_symbol();
|
|
}
|
|
|
|
|