Support compute-only shader authoring variants

This commit is contained in:
2026-04-11 00:24:55 +08:00
parent 107b320aa7
commit be5dabd820
5 changed files with 226 additions and 46 deletions

View File

@@ -87,6 +87,7 @@ bool IsShaderAuthoringPragmaDirective(const std::string& line) {
return pragmaTokens[1] == "vertex" ||
pragmaTokens[1] == "fragment" ||
pragmaTokens[1] == "compute" ||
pragmaTokens[1] == "target" ||
pragmaTokens[1] == "multi_compile" ||
pragmaTokens[1] == "multi_compile_local" ||