mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-05 06:03:34 +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>
11 lines
178 B
HLSL
11 lines
178 B
HLSL
[numthreads(1, 1, 1)]
|
|
void unused_entry_point() {
|
|
return;
|
|
}
|
|
|
|
void f() {
|
|
float a = float2((1.0f).xx).y;
|
|
float b = float3((1.0f).xxx).z;
|
|
float c = float4((1.0f).xxxx).w;
|
|
}
|