Fix referenced texture filename
This commit is contained in:
parent
fc1f96ad45
commit
1bd70979c6
1 changed files with 2 additions and 2 deletions
|
|
@ -109,7 +109,7 @@ struct VirtualTexture
|
||||||
VkBindSparseInfo bindSparseInfo; // Sparse queue binding information
|
VkBindSparseInfo bindSparseInfo; // Sparse queue binding information
|
||||||
std::vector<VirtualTexturePage> pages; // Contains all virtual pages of the texture
|
std::vector<VirtualTexturePage> pages; // Contains all virtual pages of the texture
|
||||||
std::vector<VkSparseImageMemoryBind> sparseImageMemoryBinds; // Sparse image memory bindings of all memory-backed virtual tables
|
std::vector<VkSparseImageMemoryBind> sparseImageMemoryBinds; // Sparse image memory bindings of all memory-backed virtual tables
|
||||||
std::vector<VkSparseMemoryBind> opaqueMemoryBinds; // Sparse ópaque memory bindings for the mip tail (if present)
|
std::vector<VkSparseMemoryBind> opaqueMemoryBinds; // Sparse ópaque memory bindings for the mip tail (if present)
|
||||||
VkSparseImageMemoryBindInfo imageMemoryBindInfo; // Sparse image memory bind info
|
VkSparseImageMemoryBindInfo imageMemoryBindInfo; // Sparse image memory bind info
|
||||||
VkSparseImageOpaqueMemoryBindInfo opaqueMemoryBindInfo; // Sparse image opaque memory bind info (mip tail)
|
VkSparseImageOpaqueMemoryBindInfo opaqueMemoryBindInfo; // Sparse image opaque memory bind info (mip tail)
|
||||||
uint32_t mipTailStart; // First mip level in mip tail
|
uint32_t mipTailStart; // First mip level in mip tail
|
||||||
|
|
@ -654,7 +654,7 @@ public:
|
||||||
|
|
||||||
void loadAssets()
|
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
|
// Generate a terrain quad patch for feeding to the tessellation control shader
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue