mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-05 03:35:56 +00:00
Rules for shift left of concrete values are now split between signed and unsigned. Shifting unsigned values no longer fails with "sign change" errors. Furthermore, shifting unsigned values must only shift out 0s. See https://github.com/gpuweb/gpuweb/pull/3539. Bug: tint:1701 Bug: tint:1717 Change-Id: Iba2799f4b02cdc77cc58a6c7c104aaa408f0f0f9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/106381 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
11 lines
158 B
GLSL
11 lines
158 B
GLSL
#version 310 es
|
|
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
void unused_entry_point() {
|
|
return;
|
|
}
|
|
uint f() {
|
|
return 2147483648u;
|
|
}
|
|
|