From 22575af2127b021bfdd772f57c20907658316ed1 Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Thu, 10 Aug 2017 23:24:32 -0500 Subject: [PATCH] Fix AMD crashes from last commit --- src/xenia/gpu/vulkan/texture_cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/gpu/vulkan/texture_cache.cc b/src/xenia/gpu/vulkan/texture_cache.cc index d3b1182e1..1fae97432 100644 --- a/src/xenia/gpu/vulkan/texture_cache.cc +++ b/src/xenia/gpu/vulkan/texture_cache.cc @@ -130,7 +130,7 @@ TextureCache::TextureCache(Memory* memory, RegisterFile* register_file, std::vector(pool_sizes, std::end(pool_sizes))); wb_command_pool_ = std::make_unique( - *device_, VK_QUEUE_FAMILY_IGNORED); + *device_, device_->queue_family_index()); // Check some device limits // On low sampler counts: Rarely would we experience over 16 unique samplers.