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

@@ -471,7 +471,9 @@ bool GPUDeviceWebGPU::Init()
if (features.Contains(WGPUFeatureName_TextureCompressionBC))
{
auto supportBc =
FormatSupport::Texture1D |
FormatSupport::Texture2D |
FormatSupport::TextureCube |
FormatSupport::ShaderLoad |
FormatSupport::ShaderSample |
FormatSupport::Mip;
@@ -495,7 +497,9 @@ bool GPUDeviceWebGPU::Init()
if (features.Contains(WGPUFeatureName_TextureCompressionASTC))
{
auto supportAstc =
FormatSupport::Texture1D |
FormatSupport::Texture2D |
FormatSupport::TextureCube |
FormatSupport::ShaderLoad |
FormatSupport::ShaderSample |
FormatSupport::Mip;