summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures/astc.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-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.
* video_core: Reduce unused includesameerj2022-03-191-3/+0
|
* astc_decoder: Optimize the use EncodingDataameerj2021-08-011-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.
* astc.h: Move data to cpp implementationameerj2021-08-011-41/+0
| | | | Moves leftover values that are no longer used by the gpu decoder back to the cpp implementation.
* astc_decoder.comp: Remove unnecessary LUT SSBOsameerj2021-06-191-8/+1
| | | | We can move them to instead be compile time constants within the shader.
* astc: Various robustness enhancements for the gpu decoderameerj2021-06-191-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.
* textures: Reintroduce CPU ASTC decoderameerj2021-06-161-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.
* astc_decoder: Refactor for style and more efficient memory useameerj2021-03-251-123/+51
|
* renderer_opengl: Accelerate ASTC texture decoding with a compute shaderameerj2021-03-131-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.
* video_core: Rewrite the texture cacheReinUsesLisp2020-12-301-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.
* gl_rasterizer_cache: Move format conversion to its own fileReinUsesLisp2019-02-271-1/+1
|
* Fix ASTC Decompressor to support depth parameterFernandoS272018-11-021-1/+1
|
* gl_rasterizer: Implement texture format ASTC_2D_4X4.bunnei2018-06-181-0/+15