From 2e998891a4f336da8726e074795da07a142a9cf7 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sun, 10 Jan 2016 13:47:56 +0100 Subject: [PATCH] The settings to the vertex decoder must match the implementation.. Fixes some character scale issues. --- GPU/Vulkan/DrawEngineVulkan.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/GPU/Vulkan/DrawEngineVulkan.cpp b/GPU/Vulkan/DrawEngineVulkan.cpp index cfd9b11564..1388fea7bb 100644 --- a/GPU/Vulkan/DrawEngineVulkan.cpp +++ b/GPU/Vulkan/DrawEngineVulkan.cpp @@ -74,9 +74,9 @@ DrawEngineVulkan::DrawEngineVulkan(VulkanContext *vulkan) curFrame_(0) { memset(&decOptions_, 0, sizeof(decOptions_)); - decOptions_.expandAllUVtoFloat = true; - decOptions_.expandAllWeightsToFloat = true; - decOptions_.expand8BitNormalsToFloat = true; + decOptions_.expandAllUVtoFloat = false; + decOptions_.expandAllWeightsToFloat = false; + decOptions_.expand8BitNormalsToFloat = false; // Allocate nicely aligned memory. Maybe graphics drivers will // appreciate it. @@ -125,6 +125,7 @@ DrawEngineVulkan::DrawEngineVulkan(VulkanContext *vulkan) dsl.bindingCount = 5; dsl.pBindings = bindings; VkResult res = vkCreateDescriptorSetLayout(device, &dsl, nullptr, &descriptorSetLayout_); + assert(VK_SUCCESS == res); VkDescriptorPoolSize dpTypes[2]; dpTypes[0].descriptorCount = 800;