mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
anv/cmd_buffer: Add a default descriptor type case
This silences a bunch of compiler warnings.
This commit is contained in:
parent
e9dba80430
commit
002db3ee15
1 changed files with 4 additions and 0 deletions
|
|
@ -679,6 +679,10 @@ anv_cmd_buffer_emit_binding_table(struct anv_cmd_buffer *cmd_buffer,
|
|||
case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
|
||||
assert(!"Unsupported descriptor type");
|
||||
break;
|
||||
|
||||
default:
|
||||
assert(!"Invalid descriptor type");
|
||||
continue;
|
||||
}
|
||||
|
||||
bt_map[bias + s] = surface_state.offset + state_offset;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue