[dxbc] Fix compiler warning about uninitialized values

This commit is contained in:
Philip Rebohle 2018-11-10 17:15:40 +01:00
parent 94b0058e0d
commit ab17c49c4e
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 1 additions and 1 deletions

View File

@ -5126,7 +5126,7 @@ namespace dxvk {
result.id = m_module.constu32(reg.imm.u32_1);
} else if (reg.componentCount == DxbcComponentCount::Component4) {
// Create a u32 vector with as many components as needed
std::array<uint32_t, 4> indices;
std::array<uint32_t, 4> indices = { };
uint32_t indexId = 0;
for (uint32_t i = 0; i < indices.size(); i++) {