pcsx2/.github/workflows
Connor McLaughlin 0f24048cd5 GameDatabase: Add gpuPaletteConversion = 2 value
Some games (e.g. Metal Gear Solid 2) use large-ish textures, with a
bunch of different CLUTs/palettes, depending on the draw. Kind-of like a
texture atlas.

This causes issues when texture preloading is enabled, as both VRAM and
GS CPU thread usage increase proporiately to the number of texture:clut
pairs (since it has to be hashed).

An alternative to disabling preloading, which is what we currently do,
is enabling GPU palette conversion in these games. Even though we
ever-so-slightly increase the GPU load due to having to do shader
sampling, the CPU load on the GS thread is considerably reduced, and
overall performance is greater. In theory it'll also achieve higher
cache hit rates on the GPU, since we're not duplicating a bunch of
textures.

However, as a general rule of thumb, we don't want to encourage people
to enable paltex, as most games run slower with it on. So, what this PR
does, is add a GameDB option for these types of games, to enable paltex
when texture preloading is set to full/hash cache, but otherwise leave
the setting alone. The best of both worlds.

NOTE: I've also forced paltex=0 for Spider-Man 2, as it uses a massive
number of palettes which can cause descriptor issues in DX12/Vulkan. A
perfect example of where you *don't* want to use paltex.
2022-09-15 12:24:43 +01:00
..
architecture ci: update docs 2022-05-22 12:54:54 -04:00
scripts GameDatabase: Add gpuPaletteConversion = 2 value 2022-09-15 12:24:43 +01:00
cron_update_controller_db.yml ci: improve workflow organization 2022-05-22 12:54:54 -04:00
lint_gamedb.yml ci: format the GameDB and make sure it stays that way 2022-05-23 13:08:48 +01:00
linux_build_matrix.yml CMake: Use full LTO 2022-08-23 03:32:26 -05:00
linux_build_qt.yml Workflows: Download cheats from pcsx2_patches repo on build time 2022-08-14 02:58:10 +01:00
linux_build_wx.yml CI: update to 20.04 for WX 2022-08-29 13:31:56 +01:00
macos_build.yml GHActions:macOS: Use ccache 2022-08-28 18:35:03 -05:00
macos_build_matrix.yml GHActions:macOS: Add Qt build 2022-06-04 14:50:33 +01:00
release_announce.yml ci: improve workflow organization 2022-05-22 12:54:54 -04:00
release_new_tag.yml ci: update docs 2022-05-22 12:54:54 -04:00
release_pipeline.yml CI: Add AppImage builder for Qt 2022-07-05 13:05:57 +01:00
triage_pr.yml ci: improve workflow organization 2022-05-22 12:54:54 -04:00
windows_build_matrix.yml GHActions: CMake builds are SSE4 2022-08-23 03:32:26 -05:00
windows_build_qt.yml Workflows: Download cheats from pcsx2_patches repo on build time 2022-08-14 02:58:10 +01:00
windows_build_wx.yml GHActions:Windows:CMake: Properly exit on failed build 2022-08-23 03:32:26 -05:00