anv: pCreateInfo->pApplicationInfo parameter to vkCreateInstance may be NULL
[mesa.git] / src / vulkan / anv_allocator.c
index 4be149ea695aa783eb185a30a9d6aa5966d09006..1f858bbdff4fa886f283dc44fca3b89049944665 100644 (file)
@@ -712,7 +712,7 @@ anv_state_stream_init(struct anv_state_stream *stream,
 void
 anv_state_stream_finish(struct anv_state_stream *stream)
 {
-   const uint32_t block_size = stream->block_pool->block_size;
+   VG(const uint32_t block_size = stream->block_pool->block_size);
 
    struct anv_state_stream_block *next = stream->block;
    while (next != NULL) {