mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
writer/msl: Fix zero-valued matrix constructors
Fixed: tint:813 Change-Id: Ia22f4264de89da76ab0a10cf52f267fcb1e2dbd4 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51440 Auto-Submit: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@chromium.org> Reviewed-by: Ben Clayton <bclayton@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
cbe816f93d
commit
94867592cd
@@ -2,7 +2,7 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol() {
|
||||
float3x3 m = 0.0f;
|
||||
float3x3 m = float3x3(0.0f);
|
||||
float3 const v = m[1];
|
||||
float const f = v[1];
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user