anv/cmd_buffer: Add a default descriptor type case
This silences a bunch of compiler warnings.
This commit is contained in:
@@ -679,6 +679,10 @@ anv_cmd_buffer_emit_binding_table(struct anv_cmd_buffer *cmd_buffer,
|
|||||||
case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
|
case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
|
||||||
assert(!"Unsupported descriptor type");
|
assert(!"Unsupported descriptor type");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
assert(!"Invalid descriptor type");
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
bt_map[bias + s] = surface_state.offset + state_offset;
|
bt_map[bias + s] = surface_state.offset + state_offset;
|
||||||
|
Reference in New Issue
Block a user