mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
radv: remove one useless check in radv_bind_descriptor_set()
'set' shouldn't be NULL. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
6bfbc7b38b
commit
826b3a8773
1 changed files with 1 additions and 2 deletions
|
|
@ -2401,9 +2401,8 @@ radv_bind_descriptor_set(struct radv_cmd_buffer *cmd_buffer,
|
|||
struct radeon_winsys *ws = cmd_buffer->device->ws;
|
||||
|
||||
radv_set_descriptor_set(cmd_buffer, bind_point, set, idx);
|
||||
if (!set)
|
||||
return;
|
||||
|
||||
assert(set);
|
||||
assert(!(set->layout->flags & VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR));
|
||||
|
||||
if (!cmd_buffer->device->use_global_bo_list) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue