Triforce v0.8.3

Fixes from the 0.8 reports: a mod's code patches go in together or not at all and a mod whose code is refused is off whole; nn::crypto random bytes from the host (a crash at start); shader preparation on three quarters of the CPU threads; Evil HD ornaments and shoot leaves kept to 75 m and 70 m (flicker); the RADV lighting flicker fix; 3D BC images through block attachments on AMD RDNA 1/2 Windows (rainbow lights).
This commit is contained in:
ruckus7382sfgsgdf
2026-11-25 16:54:12 -06:00
parent 5891f8d6dc
commit ecb4d5cc99
13 changed files with 185 additions and 34 deletions

View File

@@ -78,9 +78,12 @@ int main(void) {
evil_hd_foliage(1.0f, out);
CHECK(same(out, game, 1.0f));
evil_hd_foliage(2.5f, out);
CHECK(same(out, game, 2.5f) && out[0] == 100.0f && out[1] == 150.0f && out[5] == 337.5f);
CHECK(out[0] == 100.0f && out[1] == 150.0f && out[5] == 337.5f && out[4] == 100.0f && out[7] == 112.5f);
CHECK(out[2] == 75.0f && out[3] == 70.0f); /* (the ornaments and shoot leaves kept to 75 and 70 m: 11-25 flicker) */
evil_hd_foliage(4.0f, out);
CHECK(same(out, game, 4.0f));
CHECK(out[0] == 160.0f && out[1] == 240.0f && out[5] == 540.0f && out[2] == 75.0f && out[3] == 70.0f);
evil_hd_foliage(2.0f, out);
CHECK(out[2] == 70.0f && out[3] == 60.0f); /* (under their most: the factor's own) */
/* which bytes are known: the game's, or what a write of this left (a factor from 1 to 4) */
CHECK(evil_hd_foliage_known(game));
for (float f = 1.0f; f <= 4.0f; f += 0.25f) {