Add shader compiler for WebGPU
Use existing Vulkan compiler to generate SPIR-V and convert it into WGSL with tint compiler https://github.com/google/dawn/releases/tag/v20260219.200501
This commit is contained in:
@@ -43,7 +43,7 @@ DotNetAOTModes WebPlatformTools::UseAOT() const
|
||||
|
||||
PixelFormat WebPlatformTools::GetTextureFormat(CookingData& data, TextureBase* texture, PixelFormat format)
|
||||
{
|
||||
// TODO: texture compression for Web (eg. ASTC for mobile and BC for others?)
|
||||
// Bundle raw textures
|
||||
return PixelFormatExtensions::FindUncompressedFormat(format);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user