mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-03 21:21:23 +00:00
An expression like `b--b` needs the `--` split into two symbols in order to parse correctly. This change was done previously, adding a test case to show the generated output. Bug: tint:988 Change-Id: Id389224e33b7702a90e4c157b02031fb605c1b14 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/106580 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Auto-Submit: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
12 lines
181 B
GLSL
12 lines
181 B
GLSL
#version 310 es
|
|
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
void unused_entry_point() {
|
|
return;
|
|
}
|
|
void tint_symbol() {
|
|
int b = 2;
|
|
int c = (b - -(b));
|
|
}
|
|
|