mesa/src
Emil Velikov 5cc07d854c anv: fix enumeration of properties
Driver should enumerate only up-to min2(num_available, num_requested)
properties and return VK_INCOMPLETE if the # of requested props is
smaller than the ones available.

Presently we assert out in such cases.

Inspired by a similar fix for RADV.

v2: Use MIN2 + typed_memcpy (Jason).

Should fix: dEQP-VK.api.info.device.extensions

Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> (v1)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-11-23 14:13:47 +00:00
..
amd radv: move pipeline barrier image transitions after src flushing 2016-11-23 10:16:34 +10:00
compiler nir/spirv: implement ordered / unordered floating point comparisons properly 2016-11-23 08:07:44 +01:00
egl egl/x11: store xcb_screen_t *screen instead of int screen 2016-11-22 15:13:41 +00:00
gallium swr: [rasterizer core] fix cast for stencil clear value 2016-11-22 20:06:17 -06:00
gbm gbm: request correct version of the DRI2_FENCE extension 2016-11-22 15:56:44 +00:00
getopt Introduce .editorconfig 2016-08-31 17:06:54 -07:00
glx dri: make use of loader_get_extensions_name(..) helper 2016-11-15 18:15:16 +00:00
gtest Introduce .editorconfig 2016-08-31 17:06:54 -07:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel anv: fix enumeration of properties 2016-11-23 14:13:47 +00:00
loader loader: automake: whitespace cleanup 2016-11-21 14:46:40 +00:00
mapi mesa: add missing CONTEXT_ROBUST_ACCESS enum 2016-10-27 07:06:41 +03:00
mesa i965: Restructure fast clear eligibility decision 2016-11-23 11:06:53 +02:00
util util: import CRC32 implementation from gallium 2016-11-22 18:05:51 +01:00
vulkan/wsi wsi: fix VK_INCOMPLETE for vkGetSwapchainImagesKHR 2016-11-16 09:17:34 +10:00
Makefile.am amd: flatten amd/common makefile structure 2016-11-15 20:04:37 +00:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00