vulkan: silence an unused variable warning
Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32810>
This commit is contained in:
@@ -1165,7 +1165,7 @@ vk_cmd_build_acceleration_structures(VkCommandBuffer commandBuffer,
|
|||||||
progress = false;
|
progress = false;
|
||||||
|
|
||||||
bool update;
|
bool update;
|
||||||
uint32_t encode_key;
|
uint32_t encode_key = 0;
|
||||||
for (uint32_t i = 0; i < infoCount; ++i) {
|
for (uint32_t i = 0; i < infoCount; ++i) {
|
||||||
if (bvh_states[i].last_encode_pass == pass + 1)
|
if (bvh_states[i].last_encode_pass == pass + 1)
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user