summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader
diff options
context:
space:
mode:
authornamkazy <nam.kazt.91@gmail.com>2020-04-05 07:57:50 +0200
committernamkazy <nam.kazt.91@gmail.com>2020-04-05 07:57:50 +0200
commit69657ff19c5db03a009f85f8cc6779cefa0d4970 (patch)
tree5c9459532ff871679a0cab3044664426a3aa7c12 /src/video_core/shader
parentshader_decode: get sampler descriptor from registry. (diff)
downloadyuzu-69657ff19c5db03a009f85f8cc6779cefa0d4970.tar
yuzu-69657ff19c5db03a009f85f8cc6779cefa0d4970.tar.gz
yuzu-69657ff19c5db03a009f85f8cc6779cefa0d4970.tar.bz2
yuzu-69657ff19c5db03a009f85f8cc6779cefa0d4970.tar.lz
yuzu-69657ff19c5db03a009f85f8cc6779cefa0d4970.tar.xz
yuzu-69657ff19c5db03a009f85f8cc6779cefa0d4970.tar.zst
yuzu-69657ff19c5db03a009f85f8cc6779cefa0d4970.zip
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/decode/image.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/decode/image.cpp b/src/video_core/shader/decode/image.cpp
index 731f61ee8..c125674b2 100644
--- a/src/video_core/shader/decode/image.cpp
+++ b/src/video_core/shader/decode/image.cpp
@@ -27,8 +27,8 @@ using Tegra::Texture::TICEntry;
namespace {
-
-ComponentType GetComponentType(Tegra::Engines::SamplerDescriptor descriptor, std::size_t component) {
+ComponentType GetComponentType(Tegra::Engines::SamplerDescriptor descriptor,
+ std::size_t component) {
const TextureFormat format{descriptor.format};
switch (format) {
case TextureFormat::R16_G16_B16_A16: