summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-10-06 14:12:27 +0100
committerEmil Velikov <[email protected]>2016-11-23 14:13:47 +0000
commit5cc07d854c85e30c5aa1ced626b4b6500f8cd74c (patch)
tree9c8396ab4c7b4e9215f6f02d751ab43cba9cacf1 /scons
parent0a0ce884ea7602581df703a59130402d3899c855 (diff)
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" <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> (v1) Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions