mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 06:20:19 +01:00
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:
parent
1435bf4bc4
commit
5a317ef4cb
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue