summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures/astc.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-03-19video_core: Reduce unused includesameerj1-3/+0
2021-08-01astc_decoder: Optimize the use EncodingDataameerj1-70/+0
This buffer was a list of EncodingData structures sorted by their bit length, with some duplication from the cpu decoder implementation. We can take advantage of its sorted property to optimize its usage in the shader. Thanks to wwylele for the optimization idea.
2021-08-01astc.h: Move data to cpp implementationameerj1-41/+0
Moves leftover values that are no longer used by the gpu decoder back to the cpp implementation.
2021-06-19astc_decoder.comp: Remove unnecessary LUT SSBOsameerj1-8/+1
We can move them to instead be compile time constants within the shader.
2021-06-19astc: Various robustness enhancements for the gpu decoderameerj1-2/+0
These changes should help in reducing crashes/drivers panics that may occur due to synchronization issues between the shader completion and later access of the decoded texture.
2021-06-16textures: Reintroduce CPU ASTC decoderameerj1-0/+3
Users may want to fall back to the CPU ASTC texture decoder due to hangs and crashes that may be caused by keeping the GPU under compute heavy loads for extended periods of time. This is especially the case in games such as Astral Chain which make extensive use of ASTC textures.
2021-03-25astc_decoder: Refactor for style and more efficient memory useameerj1-123/+51
2021-03-13renderer_opengl: Accelerate ASTC texture decoding with a compute shaderameerj1-0/+190
ASTC texture decoding is currently handled by a CPU decoder for GPU's without native ASTC decoding support (most desktop GPUs). This is the cause for noticeable performance degradation in titles which use the format extensively. This commit adds support to accelerate ASTC decoding using a compute shader on OpenGL for GPUs without native support.
2020-12-30video_core: Rewrite the texture cacheReinUsesLisp1-3/+2
The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage.The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage. This commit aims to address those issues.
2019-02-27gl_rasterizer_cache: Move format conversion to its own fileReinUsesLisp1-1/+1
2018-11-02Fix ASTC Decompressor to support depth parameterFernandoS271-1/+1
2018-06-18gl_rasterizer: Implement texture format ASTC_2D_4X4.bunnei1-0/+15