diff options
| author | bunnei <bunneidev@gmail.com> | 2021-06-16 11:29:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-16 11:29:10 -0700 |
| commit | 973bf306edda84e730d56dd73a04c7bbd20d9397 (patch) | |
| tree | 4d64ac6f6de8e7a2eeeeeba9bd850b7924e46a6b /src/video_core/textures/astc.h | |
| parent | 92942fe01bf290d247e1a51562a07fe280448b47 (diff) | |
| parent | 5fc8393125ef0084491b7acaec13e62fe593adf1 (diff) | |
Merge pull request #6464 from ameerj/disable-astc
textures: Add a toggle for GPU Accelerated ASTC decoder
Diffstat (limited to 'src/video_core/textures/astc.h')
| -rw-r--r-- | src/video_core/textures/astc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/textures/astc.h b/src/video_core/textures/astc.h index c1c73fda5..c1c37dfe7 100644 --- a/src/video_core/textures/astc.h +++ b/src/video_core/textures/astc.h @@ -129,4 +129,7 @@ struct AstcBufferData { decltype(REPLICATE_BYTE_TO_16_TABLE) replicate_byte_to_16 = REPLICATE_BYTE_TO_16_TABLE; } constexpr ASTC_BUFFER_DATA; +void Decompress(std::span<const uint8_t> data, uint32_t width, uint32_t height, uint32_t depth, + uint32_t block_width, uint32_t block_height, std::span<uint8_t> output); + } // namespace Tegra::Texture::ASTC |
