Commit Graph

7 Commits

Author SHA1 Message Date
Hajime Hoshi
960189b051 internal/shaderlister: add SourceHash 2024-11-17 15:44:51 +09:00
Hajime Hoshi
53687aafb0 internal/shaderlister: reland: compile shaders
Updates #3157
2024-11-16 19:22:59 +09:00
Hajime Hoshi
ab954c9c6e Revert "internal/shaderlister: compile shaders"
This reverts commit 848e30e0e7.

Reason: test failures
2024-11-16 19:14:02 +09:00
Hajime Hoshi
848e30e0e7 internal/shaderlister: compile shaders
Updates #3157
2024-11-16 19:11:44 +09:00
Hajime Hoshi
75d7a26fcd internal/shaderlister: output [] instead of null when no shaders are found
Updates #3157
2024-11-10 23:27:24 +09:00
Hajime Hoshi
9b849819f3 internal/shaderlister: refactoring: do not use github.com/hajimehoshi/ebiten/v2 command 2024-11-10 23:03:22 +09:00
Hajime Hoshi
99bbe7138c internal: add shaderlister
This adds a new compiler directive `//ebitengine:shader` indicating
a shader source. A new tool internal/shaderlister can iterates all
the shader strings with the directive. The tool might be exposed
in the future.

Updates #3157
2024-11-10 22:21:42 +09:00