Skip to main content
在 Manus 中运行任何 Skill
一键导入

sparkengine-shader-compiler-internals

星标23
分支1
更新时间2026年7月7日 12:00

Architecture and internals of SparkShaderCompiler, SparkEngine's in-house offline shader-compilation CLI tool (SparkShaderCompiler/src/main.cpp). Covers what input languages it accepts (HLSL and GLSL, SPIR-V passthrough), its CLI flags, the RHI CompileShader pipeline stages, output artifacts (.cso / .spv / .glsl) and where they land, filename-based stage inference, and how to add a new backend/stage or extend the tool. TRIGGER when the user asks "how does the shader compiler tool work", "how do I run SparkShaderCompiler", "what flags does the shader compiler take", "how do I batch-compile shaders", "where do compiled shaders go", "how do I add a new shader stage/backend to the compiler", or "why is my .cso just HLSL text". DO NOT TRIGGER for runtime shader debugging (why a shader renders wrong, pixel/HLSL debugging) — use the global shader-debug skill instead.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly