projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9dba80
)
anv/cmd_buffer: Add a default descriptor type case
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 14 Nov 2015 17:16:53 +0000
(09:16 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 14 Nov 2015 17:16:55 +0000
(09:16 -0800)
This silences a bunch of compiler warnings.
src/vulkan/anv_cmd_buffer.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_cmd_buffer.c
b/src/vulkan/anv_cmd_buffer.c
index 6763278c5ef02353cb591af8963439798a16397b..0f404e29b4a5f8d1bb2ad8901e6ce72eb98b6efb 100644
(file)
--- 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;