mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 10:48:36 +12:00
rsx: Texture format fixes
- Implement SRGB (gamma corrected) textures (DXT1, DXT3, DXT5, RGBA8 only) - Fix channel map decode for XY data texture formats - Fix remap layout for X16 textures (verified with Mass Effect 3)
This commit is contained in:
parent
a35bcb131e
commit
5817f9fe3f
10 changed files with 92 additions and 24 deletions
|
@ -15,6 +15,12 @@ namespace rsx
|
|||
framebuffer_storage = 3
|
||||
};
|
||||
|
||||
enum texture_colorspace
|
||||
{
|
||||
rgb_linear = 0,
|
||||
srgb_nonlinear = 1
|
||||
};
|
||||
|
||||
//Sampled image descriptor
|
||||
struct sampled_image_descriptor_base
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue