mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 10:49:14 +00:00
Fix compilation on MSVC
BUG= Change-Id: I9f33a4c26cc2ca1e6d6cdbc245d929175867b1e5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13961 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
This commit is contained in:
committed by
Commit Bot service account
parent
733842c59d
commit
8e9c3f663c
@@ -124,6 +124,7 @@ namespace {
|
||||
UniformData::Static, RenderBundle::No};
|
||||
|
||||
unsigned int unused[] = {
|
||||
0, // Avoid making a 0-sized array.
|
||||
AssignParam(std::get<Ts>(paramTuple), args)...,
|
||||
};
|
||||
DAWN_UNUSED(unused);
|
||||
|
||||
Reference in New Issue
Block a user