diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-06-28 18:53:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 18:53:17 +0200 |
commit | b60b70e86d7c32b06a7580ddc286279a83587e11 (patch) | |
tree | ea6092ba2bda4b2f685926ba133faedd5c65fa57 /src/video_core/textures/bcn.h | |
parent | Merge pull request #10933 from merryhime/dunno (diff) | |
parent | renderer_vulkan: Prevent crashes when blitting depth stencil (diff) | |
download | yuzu-b60b70e86d7c32b06a7580ddc286279a83587e11.tar yuzu-b60b70e86d7c32b06a7580ddc286279a83587e11.tar.gz yuzu-b60b70e86d7c32b06a7580ddc286279a83587e11.tar.bz2 yuzu-b60b70e86d7c32b06a7580ddc286279a83587e11.tar.lz yuzu-b60b70e86d7c32b06a7580ddc286279a83587e11.tar.xz yuzu-b60b70e86d7c32b06a7580ddc286279a83587e11.tar.zst yuzu-b60b70e86d7c32b06a7580ddc286279a83587e11.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/textures/bcn.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/video_core/textures/bcn.h b/src/video_core/textures/bcn.h index 6464af885..d5d2a16c9 100644 --- a/src/video_core/textures/bcn.h +++ b/src/video_core/textures/bcn.h @@ -4,14 +4,13 @@ #pragma once #include <span> -#include <stdint.h> + +#include "common/common_types.h" namespace Tegra::Texture::BCN { -void CompressBC1(std::span<const uint8_t> data, uint32_t width, uint32_t height, uint32_t depth, - std::span<uint8_t> output); +void CompressBC1(std::span<const u8> data, u32 width, u32 height, u32 depth, std::span<u8> output); -void CompressBC3(std::span<const uint8_t> data, uint32_t width, uint32_t height, uint32_t depth, - std::span<uint8_t> output); +void CompressBC3(std::span<const u8> data, u32 width, u32 height, u32 depth, std::span<u8> output); } // namespace Tegra::Texture::BCN |