[Mesa-dev] [PATCH 1/2] radv: Use the KHR dedicated alloc for the WSI.
Luke A. Guest
laguest at archeia.com
Sat Jul 15 18:31:13 UTC 2017
can confirm this fixes the current radv rendering rubbish.
Luke.
On 15/07/17 18:56, Bas Nieuwenhuizen wrote:
> NV isn't valid for external images anymore.
>
> Signed-off-by: Bas Nieuwenhuizen <basni at google.com>
> Fixes: 6ddc64b93ea "radv: Add support for VK_KHR_dedicated_allocation."
> ---
> src/amd/vulkan/radv_wsi.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/amd/vulkan/radv_wsi.c b/src/amd/vulkan/radv_wsi.c
> index cdb04ca9628..ab3dcd67d5f 100644
> --- a/src/amd/vulkan/radv_wsi.c
> +++ b/src/amd/vulkan/radv_wsi.c
> @@ -185,8 +185,8 @@ radv_wsi_image_create(VkDevice device_h,
>
> VkDeviceMemory memory_h;
>
> - const VkDedicatedAllocationMemoryAllocateInfoNV ded_alloc = {
> - .sType = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV,
> + const VkMemoryDedicatedAllocateInfoKHR ded_alloc = {
> + .sType = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_KHR,
> .pNext = NULL,
> .buffer = VK_NULL_HANDLE,
> .image = image_h
More information about the mesa-dev
mailing list