mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 18:29:23 +00:00
Fix all Windows warnings
This commit is contained in:
committed by
Corentin Wallez
parent
8fca4a21b7
commit
83e779d8f2
@@ -110,7 +110,7 @@ namespace backend {
|
||||
|
||||
const auto& layoutInfo = layout->GetBindingInfo();
|
||||
for (size_t i = start, j = 0; i < start + count; ++i, ++j) {
|
||||
nxt::BufferUsageBit requiredBit;
|
||||
nxt::BufferUsageBit requiredBit = nxt::BufferUsageBit::None;
|
||||
switch (layoutInfo.types[i]) {
|
||||
case nxt::BindingType::UniformBuffer:
|
||||
requiredBit = nxt::BufferUsageBit::Uniform;
|
||||
|
||||
Reference in New Issue
Block a user