vk: Initialize dynamic state binding points to NULL
We rely on these being initialized to NULL so meta can reliably detect whether or not they've been set. ds_state is also allowed to not be present so we need a well-defined value for that.
This commit is contained in:
@@ -2353,6 +2353,9 @@ VkResult anv_CreateCommandBuffer(
|
||||
cmd_buffer->dirty = 0;
|
||||
cmd_buffer->vb_dirty = 0;
|
||||
cmd_buffer->pipeline = NULL;
|
||||
cmd_buffer->vp_state = NULL;
|
||||
cmd_buffer->rs_state = NULL;
|
||||
cmd_buffer->ds_state = NULL;
|
||||
|
||||
*pCmdBuffer = (VkCmdBuffer) cmd_buffer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user