summaryrefslogtreecommitdiffstats
path: root/src/video_core/host_shaders/astc_decoder.comp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* astc_decoder.comp: Remove unnecessary LUT SSBOsameerj2021-06-191-19/+16
| | | | We can move them to instead be compile time constants within the shader.
* astc: Various robustness enhancements for the gpu decoderameerj2021-06-191-9/+6
| | | | | | 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.
* astc_decoder: Fix LDR CEM1 endpoint calculationameerj2021-06-161-1/+1
| | | | | | | | Per the spec, L1 is clamped to the value 0xff if it is greater than 0xff. An oversight caused us to take the maximum of L1 and 0xff, rather than the minimum. Huge thanks to wwylele for finding this. Co-Authored-By: Weiyi Wang <wwylele@gmail.com>
* astc_decoder: Refactor for style and more efficient memory useameerj2021-03-251-262/+307
|
* astc_decoder: Reimplement LayersRodrigo Locatti2021-03-131-18/+15
| | | | Reimplements the approach to decoding layers in the compute shader. Fixes multilayer astc decoding when using Vulkan.
* astc_decoder: Fix out of bounds memory accessameerj2021-03-131-2/+10
| | | | resolves a crash with some anamolous textures found in Astral Chain.
* renderer_vulkan: Accelerate ASTC decodingameerj2021-03-131-21/+22
| | | | Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
* renderer_opengl: Accelerate ASTC texture decoding with a compute shaderameerj2021-03-131-0/+1288
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.