mesa/src/intel
Nanley Chery fd16e64321 anv/descriptor_set: Fix binding partly undefined descriptor sets
Section 13.2.3. of the Vulkan spec requires that implementations be able to
bind sparsely-defined Descriptor Sets without any errors or exceptions.

When binding a descriptor set that contains a dynamic buffer binding/descriptor,
the driver attempts to dereference the descriptor's buffer_view field if it is
non-NULL. It currently segfaults on undefined descriptors as this field is never
zero-initialized. Zero undefined descriptors to avoid segfaulting. This
solution was suggested by Jason Ekstrand.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96850
Cc: 12.0 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-07-15 10:35:40 -07:00
..
genxml genxml: Make ScratchSpaceBasePointer an address instead of an offset 2016-06-22 12:39:42 -07:00
isl isl/state: Add support for handling auxiliary surfaces 2016-07-13 11:47:37 -07:00
vulkan anv/descriptor_set: Fix binding partly undefined descriptor sets 2016-07-15 10:35:40 -07:00
Makefile.am i965: Add a dependency on libisl 2016-04-21 20:44:27 -07:00