lot of metal changes, but no idea how this stuff works

This commit is contained in:
Dynamitos committed 2025-02-14 00:39:53 +01:00
1 parent 52cbdd8470
commit ee03b5fa5f
31 files changed
+335 -157

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ void ShaderCompiler::compile() {
if (pass.useMaterial) {
for (const auto& [matName, mat] : materials) {
for (int y = 0; y < 2; y++) {
work.add([=]() {
work.add([=, this]() {
ShaderPermutation permutation = getTemplate(name);
permutation.setPositionOnly(false);
permutation.setDepthCulling(y);