mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-11 00:53:41 +00:00
GLSL uses not() for vectors, and ! for scalars. Bug: tint:1444 Change-Id: I7fa9bdf0b546224737f9cda18428dea7051fe9e5 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82362 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
17 lines
189 B
GLSL
17 lines
189 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
|
|
void main_1() {
|
|
bvec2 x_1 = not(bvec2(true, false));
|
|
return;
|
|
}
|
|
|
|
void tint_symbol() {
|
|
main_1();
|
|
}
|
|
|
|
void main() {
|
|
tint_symbol();
|
|
return;
|
|
}
|