xmake-io / xmake

🔥 A cross-platform build utility based on Lua
https://xmake.io
Apache License 2.0
9.87k stars 776 forks source link

add client parameter to rule `utils.glsl2spv` #5563

Closed milkiq closed 3 weeks ago

milkiq commented 3 weeks ago

My project uses xmake to compile OpenGL GLSL, but by default, xmake validates GLSL using Vulkan semantics. This parameter has been added to allow developers to avoid validation errors caused by differences in source semantics.