Alessandro Vetere
fe845aee58
GSTextureCache: Initialize palette texture if needed and not done yet.
...
Also comment on the reason behind palette texture is always created with size 256x1.
2018-12-11 16:36:14 +01:00
Alessandro Vetere
0a5b1eb75d
GSTextureCache: Attach palette if needed (psm.pal > 0) also when reading part of framebuffer as texture.
2018-12-11 16:36:14 +01:00
Alessandro Vetere
f605012659
GSTextureCache: Refactor and fix palette management (v2).
...
1) Refactor palette comparison fast path mechanism to avoid using mutable member of Source,
2) Attach palette to texture as soon as needed,
3) Bugfix attach CLUT copy only when pal > 0.
2018-12-11 16:36:14 +01:00
Alessandro Vetere
c183368d72
GSTextureCache: Refactor code to avoid using local shared pointer.
2018-12-11 16:36:14 +01:00
Alessandro Vetere
894ce5b7d6
GSTextureCache: Centralize CLUT comparison logic in PaletteKey equality operator.
2018-12-11 16:36:14 +01:00
Alessandro Vetere
c368afd6d2
GSTextureCache: Reformat code and adjust comments.
2018-12-11 16:36:14 +01:00
Alessandro Vetere
e1dff69a43
GSTextureCache: Compare also pal value in PaletteKey eq operator.
2018-12-11 16:36:14 +01:00
Alessandro Vetere
774373cc65
GSTextureCache: Add ASSERTs on pal value to ease debugging.
2018-12-11 16:36:14 +01:00
Alessandro Vetere
acbe6c24a0
GSRendererOGL/GSTextureCache: Improve ICO hack by using palette cache for depth sampling, removing only point of creation of palette textures outside TC.
2018-12-11 16:36:14 +01:00
lightningterror
eb3a423f80
GSdx: Enable Texture Cache and RendererHW to support depth on Direct3D11.
2018-12-10 00:17:04 +01:00
lightningterror
9a10612f0b
GSdx: Adjust Frame Buffer Conversion tooltip and TC comment to match recent changes.
2018-11-25 13:35:00 +01:00
lightningterror
11ddfefb60
GSdx-TC: Adjust comment for PaletteMap when 8-bit texture is disabled.
...
Follow up to the requested comment changes at
https://github.com/PCSX2/pcsx2/pull/2681#pullrequestreview-174683105
2018-11-17 21:38:35 +01:00
arcum42
2e1db411fa
GSdx: Folder Reorganization. ( #2657 )
...
This pull request is for the pending reorganization of the folder structure on GSdx,
making it better organized and easier to work with.
Also remove unused GSTextureFX.cpp file.
2018-11-16 19:41:37 +01:00