mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-03 05:01:27 +00:00
These are expressions, and not specific to `var`s. Break the tests up into finer granularity. Bug: tint:656 Change-Id: I6873407127871dfaec55d90f02e0490eef929a30 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/56071 Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
15 lines
220 B
HLSL
15 lines
220 B
HLSL
[numthreads(1, 1, 1)]
|
|
void unused_entry_point() {
|
|
return;
|
|
}
|
|
|
|
uint get_u32() {
|
|
return 1u;
|
|
}
|
|
|
|
void f() {
|
|
uint2 v2 = uint2((get_u32()).xx);
|
|
uint3 v3 = uint3((get_u32()).xxx);
|
|
uint4 v4 = uint4((get_u32()).xxxx);
|
|
}
|