mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-05 19:55:37 +00:00
Take advantage of the fact that all AST nodes now use an `ast::Identifier` instead of directly using Symbols. This will be important for ensuring that un-keyworded identifiers will be preserved. Bug: tint:1810 Change-Id: If5c3e9f00b4c1c14a6f11bd617bd8b895250fb7e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/119285 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@chromium.org>
16 lines
228 B
GLSL
16 lines
228 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 f() {
|
|
{
|
|
int vec3f = 1;
|
|
int b = vec3f;
|
|
}
|
|
vec3 c = vec3(0.0f);
|
|
vec3 d = vec3(0.0f);
|
|
}
|
|
|