summaryrefslogtreecommitdiffstats
path: root/src/video_core/host_shaders/astc_decoder.comp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-06-16astc_decoder: Fix LDR CEM1 endpoint calculationameerj1-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>
2021-03-25astc_decoder: Refactor for style and more efficient memory useameerj1-262/+307
2021-03-13astc_decoder: Reimplement LayersRodrigo Locatti1-18/+15
Reimplements the approach to decoding layers in the compute shader. Fixes multilayer astc decoding when using Vulkan.
2021-03-13astc_decoder: Fix out of bounds memory accessameerj1-2/+10
resolves a crash with some anamolous textures found in Astral Chain.
2021-03-13renderer_vulkan: Accelerate ASTC decodingameerj1-21/+22
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
2021-03-13renderer_opengl: Accelerate ASTC texture decoding with a compute shaderameerj1-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.