ReinUsesLisp
fbc232426d
video_core: Rearrange pixel format names
Normalizes pixel format names to match Vulkan names. Previous to this
commit pixel formats had no convention, leading to confusion and
potential bugs.
6 years ago
ReinUsesLisp
eda37ff26b
video_core: Fix DXT4 and RGB565
6 years ago
ReinUsesLisp
480850ffe7
video_core: Fix B5G6R5_UNORM render target format
6 years ago
ReinUsesLisp
1d20aac795
video_core: Implement RGBA32_SINT render target
6 years ago
ReinUsesLisp
9338599d72
video_core: Implement RGBA32_SINT render target
6 years ago
ReinUsesLisp
95c0f5afe5
video_core: Implement RGBA16_SINT render target
6 years ago
ReinUsesLisp
977d6c46f3
video_core: Implement RGBA8_SINT render target
6 years ago
ReinUsesLisp
50c6030a8d
video_core: Implement RG32_SINT render target
6 years ago
ReinUsesLisp
e849d68048
video_core: Implement RG8_SINT render target and fix RG8_UINT
6 years ago
ReinUsesLisp
f29fede49c
video_core: Implement R8_SINT render target
6 years ago
ReinUsesLisp
fd33e996e0
video_core: Implement R8_SNORM render target
6 years ago
ReinUsesLisp
505c206eb8
video_core/surface: Remove explicit values on PixelFormat's definition
6 years ago
Morph
7909860d16
texture: Implement R8G8UI
- Used by The Walking Dead: The Final Season
6 years ago
ReinUsesLisp
b6571ca9f0
video_core: Use native ASTC when available
6 years ago
ReinUsesLisp
4dcca90ef4
video_core: Implement RGBA16_SNORM
Implement RGBA16_SNORM with the current API. Nothing special here.
6 years ago
ReinUsesLisp
14c2a4a2ec
texture: Implement R32I
6 years ago
ReinUsesLisp
80eacdf89b
texture_cache: Use a table instead of switch for texture formats
Use a large flat array to look up texture formats. This allows us to
properly implement formats with different component types. It should
also be faster.
7 years ago
ReinUsesLisp
48a1687f51
texture_cache: Drop abstracted ComponentType
Abstracted ComponentType was not being used in a meaningful way.
This commit drops its usage.
There is one place where it was being used to test compatibility between
two cached surfaces, but this one is implied in the pixel format.
Removing the component type test doesn't change the behaviour.
7 years ago
Fernando Sahmkow
3f9262195b
Video_Core: Implement texture format E5B9G9R9_SHAREDEXP.
This commit implements the E5B9G9R9 Texture format into the general
system and OpenGL backend.
7 years ago
Fernando Sahmkow
f32a49d3d8
Surfaces: Implement R4G4B4A4U format.
7 years ago
Fernando Sahmkow
b9ddb517b1
Surfaces: Implement ASTC 6x6 10x10 12x12 8x6 6x5
7 years ago
FearlessTobi
55d272efe6
video_core: Implement RGBX16F PixelFormat
7 years ago
ReinUsesLisp
99e23bd0fd
video_core/surface: Add function to detect sRGB surfaces
This is required for proper conversion to RGBA8_UNORM or RGBA8_SRGB
surfaces when a backend can target both native and converted ASTC.
7 years ago
ReinUsesLisp
f6f1a8f26a
texture_cache: Style changes
7 years ago
ReinUsesLisp
75de730e28
video_core/surface: Address feedback
7 years ago
Fernando Sahmkow
d1812316e1
texture_cache: Style and Corrections
7 years ago
ReinUsesLisp
07f7ce1da2
gl_rasterizer_cache: Use texture buffers to emulate texture buffers
7 years ago
Fernando Sahmkow
7731a0e2d1
texture_cache: General Fixes
Fixed ASTC mipmaps loading
Fixed alignment on openGL upload/download
Fixed Block Height Calculation
Removed unalign_height
7 years ago
ReinUsesLisp
2131f71573
surface_params: Optimize CreateForTexture
Instead of using Common::AlignUp, use Common::AlignBits to align the
texture compression factor.
7 years ago
ReinUsesLisp
13222f94c0
video_core: Remove unused Fill surface type
7 years ago
ReinUsesLisp
f58a6152fc
gl_shader_cache: Fix texture view for cubemaps as cubemap arrays
Cubemaps are considered layered and to create a texture view the texture
mustn't be a layered texture, resulting in cubemaps being bound as
cubemap arrays. To fix this issue this commit introduces an extra
surface parameter called "is_array" and uses this to query for texture
view creation.
Now that texture views for cubemaps are actually being created, this
also fixes the number of layers created for the texture view (since they
have to be 6 to create a texture view of cubemaps).
7 years ago
bunnei
2020ba06e1
gpu: Remove PixelFormat G8R8U and G8R8S, as they do not seem to exist.
- Fixes UI rendering issues in The Legend of Zelda: Breath of the Wild.
7 years ago
heapo
7853e6b5d4
Improve msvc codegen for hot-path array LUTs
In some constexpr functions, msvc is building the LUT at runtime
(pushing each element onto the stack) out of an abundance of caution. Moving the
arrays into be file-scoped constexpr's avoids this and turns the functions into
simple look-ups as intended.
7 years ago
greggameplayer
c8b3f09876
Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB ( #1666 )
* Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB
( needed by Mario+Rabbids Kingdom Battle )
* Small placement correction
8 years ago
FernandoS27
60a184455c
Fix ASTC Decompressor to support depth parameter
8 years ago
FernandoS27
678c18aa5c
Implement Cube Arrays
8 years ago
ReinUsesLisp
76754f5705
video_core: Move surface declarations out of gl_rasterizer_cache
8 years ago