diff options
| author | 2021-10-19 19:41:57 +0200 | |
|---|---|---|
| committer | 2021-11-16 22:11:31 +0100 | |
| commit | 826a350e2b6aadb4f123189c28f065b0e7926264 (patch) | |
| tree | 313ea78b62cee597b3c6f36ff2ca2bd37f29319d /src/video_core/surface.h | |
| parent | Texture cache: fix Intel with rescaler. (diff) | |
| download | yuzu-826a350e2b6aadb4f123189c28f065b0e7926264.tar.gz yuzu-826a350e2b6aadb4f123189c28f065b0e7926264.tar.xz yuzu-826a350e2b6aadb4f123189c28f065b0e7926264.zip | |
Vulkan Rasterizer: Fix clears on integer textures.
Diffstat (limited to 'src/video_core/surface.h')
| -rw-r--r-- | src/video_core/surface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/surface.h b/src/video_core/surface.h index 3bb24abb7..2ce7c7d33 100644 --- a/src/video_core/surface.h +++ b/src/video_core/surface.h | |||
| @@ -462,6 +462,10 @@ bool IsPixelFormatSRGB(PixelFormat format); | |||
| 462 | 462 | ||
| 463 | bool IsPixelFormatInteger(PixelFormat format); | 463 | bool IsPixelFormatInteger(PixelFormat format); |
| 464 | 464 | ||
| 465 | bool IsPixelFormatSignedInteger(PixelFormat format); | ||
| 466 | |||
| 467 | size_t PixelComponentSizeBitsInteger(PixelFormat format); | ||
| 468 | |||
| 465 | std::pair<u32, u32> GetASTCBlockSize(PixelFormat format); | 469 | std::pair<u32, u32> GetASTCBlockSize(PixelFormat format); |
| 466 | 470 | ||
| 467 | u64 EstimatedDecompressedSize(u64 base_size, PixelFormat format); | 471 | u64 EstimatedDecompressedSize(u64 base_size, PixelFormat format); |