mirror of
https://github.com/Yours3lf/rpi-vk-driver.git
synced 2025-02-18 15:54:21 +01:00
zero out unused mappings
This commit is contained in:
parent
496a89e56e
commit
686e730cbf
@ -121,6 +121,11 @@ VkResult rpi_vkCreateShaderModule(VkDevice device, const VkShaderModuleCreateInf
|
||||
memcpy(shader->mappings[c], ci->mappings[c], sizeof(VkRpiAssemblyMappingEXT)*ci->numMappings[c]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
shader->numMappings[c] = 0;
|
||||
shader->mappings[c] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
assert(hadVertex == hadCoordinate);
|
||||
|
Loading…
x
Reference in New Issue
Block a user