Open hajimehoshi opened 6 months ago
If the result of shader precompilation is deterministic, we can always use them for Ebitengine builtin shaders.
Precompiled shaders can skip online compiling and improve performance.
After this change, we will be able to remove AppendBuiltinShaderSource and ShaderSource itself.
AppendBuiltinShaderSource
ShaderSource
Even without shaderprecomp package, precompiling a builtin shaders would be a good optimization.
shaderprecomp
Operating System
What feature would you like to be added?
If the result of shader precompilation is deterministic, we can always use them for Ebitengine builtin shaders.
Why is this needed?
Precompiled shaders can skip online compiling and improve performance.