From 1bd70979c62d9fb1ef8c134800dcaaf944e2e7f8 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Sat, 29 Apr 2017 14:00:43 -0700 Subject: [PATCH] Fix referenced texture filename --- texturesparseresidency/texturesparseresidency.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/texturesparseresidency/texturesparseresidency.cpp b/texturesparseresidency/texturesparseresidency.cpp index 4d9cc403..4a239f19 100644 --- a/texturesparseresidency/texturesparseresidency.cpp +++ b/texturesparseresidency/texturesparseresidency.cpp @@ -109,7 +109,7 @@ struct VirtualTexture VkBindSparseInfo bindSparseInfo; // Sparse queue binding information std::vector pages; // Contains all virtual pages of the texture std::vector sparseImageMemoryBinds; // Sparse image memory bindings of all memory-backed virtual tables - std::vector opaqueMemoryBinds; // Sparse ópaque memory bindings for the mip tail (if present) + std::vector opaqueMemoryBinds; // Sparse ópaque memory bindings for the mip tail (if present) VkSparseImageMemoryBindInfo imageMemoryBindInfo; // Sparse image memory bind info VkSparseImageOpaqueMemoryBindInfo opaqueMemoryBindInfo; // Sparse image opaque memory bind info (mip tail) uint32_t mipTailStart; // First mip level in mip tail @@ -654,7 +654,7 @@ public: void loadAssets() { - textures.source.loadFromFile(getAssetPath() + "textures/ground_dry_bc3.ktx", VK_FORMAT_BC3_UNORM_BLOCK, vulkanDevice, queue, VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_SAMPLED_BIT); + textures.source.loadFromFile(getAssetPath() + "textures/ground_dry_bc3_unorm.ktx", VK_FORMAT_BC3_UNORM_BLOCK, vulkanDevice, queue, VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_SAMPLED_BIT); } // Generate a terrain quad patch for feeding to the tessellation control shader