Add LZ4 compression to WebGPU shaders

This commit is contained in:
Wojtek Figat
2026-03-04 09:15:53 +01:00
parent 075727ab53
commit aff8090adb
6 changed files with 49 additions and 3 deletions

View File

@@ -33,6 +33,9 @@ public class ShaderCompilerWebGPU : ShaderCompiler
options.PublicDefinitions.Add("COMPILE_WITH_WEBGPU_SHADER_COMPILER");
options.PublicDependencies.Add("ShaderCompilerVulkan");
options.PrivateDependencies.Add("glslang");
options.PrivateDependencies.Add("spirv-tools");
options.PrivateDependencies.Add("lz4");
// Deploy tint executable as a dependency for the shader compilation from SPIR-V into WGSL
// Tint compiler from: https://github.com/google/dawn/releases