2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 15:04:56 +00:00

Add shader mode for constant alpha overwrite

This commit is contained in:
Jack Andersen
2018-02-04 20:54:35 -10:00
parent ae076c5a32
commit 7a60440d58
6 changed files with 26 additions and 21 deletions

View File

@@ -71,6 +71,8 @@ uint64_t ShaderCacheExtensions::hashExtensions() const
UpdateFieldHash(&st, slot.noDepthWrite);
UpdateFieldHash(&st, slot.noColorWrite);
UpdateFieldHash(&st, slot.noAlphaWrite);
UpdateFieldHash(&st, slot.noAlphaOverwrite);
UpdateFieldHash(&st, slot.noReflection);
}
return XXH64_digest(&st);
}