summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_cmd_buffer.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-11-14 09:16:53 -0800
committerJason Ekstrand <[email protected]>2015-11-14 09:16:55 -0800
commit002db3ee15c6e4e9137a2cedd7661e540a8b6a34 (patch)
treeda43e759ca1d85acb1fc250bae3d71b325298428 /src/vulkan/anv_cmd_buffer.c
parente9dba8043026250b57d707975d3bcd0c43b1db0f (diff)
anv/cmd_buffer: Add a default descriptor type case
This silences a bunch of compiler warnings.
Diffstat (limited to 'src/vulkan/anv_cmd_buffer.c')
-rw-r--r--src/vulkan/anv_cmd_buffer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vulkan/anv_cmd_buffer.c b/src/vulkan/anv_cmd_buffer.c
index 6763278c5ef..0f404e29b4a 100644
--- a/src/vulkan/anv_cmd_buffer.c
+++ b/src/vulkan/anv_cmd_buffer.c
@@ -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;