radv: add support for NV_dedicated_allocation

Graphics / Mesa 3D Graphics Library / Mesa - Dave Airlie [redhat.com] - 26 February 2017 19:22 EST

This adds initial support for NV_dedicated_allocation, then uses it for the wsi image/memory allocation paths internally in the driver.

15f4702 radv: add support for NV_dedicated_allocation
src/amd/vulkan/radv_device.c | 40 +++++++++++++++++++++++++++++++++-
src/amd/vulkan/radv_entrypoints_gen.py | 1 +
src/amd/vulkan/radv_private.h | 7 +++++-
src/amd/vulkan/radv_wsi.c | 34 ++++++++++++++---------------
4 files changed, 62 insertions(+), 20 deletions(-)

Upstream: cgit.freedesktop.org


  • Share