mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 04:10:09 +01:00
vk: Don't crash on partial descriptor sets
This commit is contained in:
parent
4ffbab5ae0
commit
03ffa9ca31
1 changed files with 3 additions and 0 deletions
|
|
@ -2967,6 +2967,9 @@ cmd_buffer_emit_binding_table(struct anv_cmd_buffer *cmd_buffer,
|
|||
struct anv_surface_view *view =
|
||||
d->set->descriptors[surface_slots[b].index].view;
|
||||
|
||||
if (!view)
|
||||
continue;
|
||||
|
||||
struct anv_state state =
|
||||
anv_cmd_buffer_alloc_surface_state(cmd_buffer, 64, 64);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue