mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-05 14:13:39 +00:00
Don't construct these with undefined values Change-Id: I6225d9be0973ebc1a8594526aa32ec6775b5e865 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51300 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com>
10 lines
181 B
HLSL
10 lines
181 B
HLSL
[numthreads(1, 1, 1)]
|
|
void main() {
|
|
float3 v = float3(0.0f, 0.0f, 0.0f);
|
|
const float scalar = v.y;
|
|
const float2 swizzle2 = v.xz;
|
|
const float3 swizzle3 = v.xzy;
|
|
return;
|
|
}
|
|
|