projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ffbab5
)
vk: Don't crash on partial descriptor sets
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 30 May 2015 03:43:10 +0000
(20:43 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 30 May 2015 03:43:10 +0000
(20:43 -0700)
src/vulkan/device.c
patch
|
blob
|
history
diff --git
a/src/vulkan/device.c
b/src/vulkan/device.c
index 27165e229b6b3745683e41fb3e849230f5fb875f..13137751a75646620908695c5f5bf6863b7f2103 100644
(file)
--- a/
src/vulkan/device.c
+++ b/
src/vulkan/device.c
@@
-2967,6
+2967,9
@@
cmd_buffer_emit_binding_table(struct anv_cmd_buffer *cmd_buffer,
struct anv_surface_view *view =
d->set->descriptors[surface_slots[b].index].view;
+ if (!view)
+ continue;
+
struct anv_state state =
anv_cmd_buffer_alloc_surface_state(cmd_buffer, 64, 64);