Add basis_universal support for textures on Web

Add implementation for loading interchange texture formats with multiple runtime formats support
This commit is contained in:
Wojtek Figat
2026-03-06 11:09:29 +01:00
parent ac36840037
commit 94789712e8
68 changed files with 43439 additions and 50 deletions

View File

@@ -9,7 +9,7 @@
// @formatter:off
VkFormat RenderToolsVulkan::PixelFormatToVkFormat[110] =
VkFormat RenderToolsVulkan::PixelFormatToVkFormat[111] =
{
VK_FORMAT_UNDEFINED,
VK_FORMAT_R32G32B32A32_SFLOAT,
@@ -121,6 +121,7 @@ VkFormat RenderToolsVulkan::PixelFormatToVkFormat[110] =
VK_FORMAT_ASTC_10x10_SRGB_BLOCK,
VK_FORMAT_G8B8G8R8_422_UNORM, // YUY2
VK_FORMAT_G8_B8R8_2PLANE_420_UNORM, // NV12
VK_FORMAT_UNDEFINED, // Basis
};
VkBlendOp RenderToolsVulkan::OperationToVkBlendOp[6] =
@@ -140,9 +141,9 @@ VkCompareOp RenderToolsVulkan::ComparisonFuncToVkCompareOp[9] =
VK_COMPARE_OP_LESS, // Less
VK_COMPARE_OP_EQUAL, // Equal
VK_COMPARE_OP_LESS_OR_EQUAL, // LessEqual
VK_COMPARE_OP_GREATER, // Grather
VK_COMPARE_OP_GREATER, // Greater
VK_COMPARE_OP_NOT_EQUAL, // NotEqual
VK_COMPARE_OP_GREATER_OR_EQUAL, // GratherEqual
VK_COMPARE_OP_GREATER_OR_EQUAL, // GreaterEqual
VK_COMPARE_OP_ALWAYS, // Always
};