summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2017-12-02 17:16:58 +0100
committerdegasus <markus@selfnet.de>2017-12-06 09:30:03 +0100
commit02dd062518aba4aabe39f588d6c23d85db834a8d (patch)
tree7439634e9594dd2e83839d3e7474df5d12f047b6 /Source/Core/VideoBackends
parentcde02b5b5f5d300d9a5cb04233aee5e45b42bc93 (diff)
VideoCommon: Drop now unused efb2tex matrix generation.
Diffstat (limited to 'Source/Core/VideoBackends')
-rw-r--r--Source/Core/VideoBackends/D3D/TextureCache.cpp1
-rw-r--r--Source/Core/VideoBackends/D3D/TextureCache.h4
-rw-r--r--Source/Core/VideoBackends/Null/TextureCache.h3
-rw-r--r--Source/Core/VideoBackends/OGL/TextureCache.cpp1
-rw-r--r--Source/Core/VideoBackends/OGL/TextureCache.h4
-rw-r--r--Source/Core/VideoBackends/Software/TextureCache.h3
-rw-r--r--Source/Core/VideoBackends/Vulkan/TextureCache.cpp1
-rw-r--r--Source/Core/VideoBackends/Vulkan/TextureCache.h4
8 files changed, 8 insertions, 13 deletions
diff --git a/Source/Core/VideoBackends/D3D/TextureCache.cpp b/Source/Core/VideoBackends/D3D/TextureCache.cpp
index cca8448421..e9ad781dcf 100644
--- a/Source/Core/VideoBackends/D3D/TextureCache.cpp
+++ b/Source/Core/VideoBackends/D3D/TextureCache.cpp
@@ -219,7 +219,6 @@ TextureCache::~TextureCache()
void TextureCache::CopyEFBToCacheEntry(TCacheEntry* entry, bool is_depth_copy,
const EFBRectangle& src_rect, bool scale_by_half,
- unsigned int cbuf_id, const float* colmat,
EFBCopyFormat dst_format, bool is_intensity)
{
auto* destination_texture = static_cast<DXTexture*>(entry->texture.get());
diff --git a/Source/Core/VideoBackends/D3D/TextureCache.h b/Source/Core/VideoBackends/D3D/TextureCache.h
index 3f48ddb6f7..49332e2de3 100644
--- a/Source/Core/VideoBackends/D3D/TextureCache.h
+++ b/Source/Core/VideoBackends/D3D/TextureCache.h
@@ -37,8 +37,8 @@ private:
bool scale_by_half) override;
void CopyEFBToCacheEntry(TCacheEntry* entry, bool is_depth_copy, const EFBRectangle& src_rect,
- bool scale_by_half, unsigned int cbuf_id, const float* colmat,
- EFBCopyFormat dst_format, bool is_intensity) override;
+ bool scale_by_half, EFBCopyFormat dst_format,
+ bool is_intensity) override;
bool CompileShaders() override { return true; }
void DeleteShaders() override {}
diff --git a/Source/Core/VideoBackends/Null/TextureCache.h b/Source/Core/VideoBackends/Null/TextureCache.h
index c10b6eaaf8..cf9dfa84a2 100644
--- a/Source/Core/VideoBackends/Null/TextureCache.h
+++ b/Source/Core/VideoBackends/Null/TextureCache.h
@@ -32,8 +32,7 @@ public:
}
void CopyEFBToCacheEntry(TCacheEntry* entry, bool is_depth_copy, const EFBRectangle& src_rect,
- bool scale_by_half, unsigned int cbuf_id, const float* colmat,
- EFBCopyFormat dst_format, bool is_intensity) override
+ bool scale_by_half, EFBCopyFormat dst_format, bool is_intensity) override
{
}
};
diff --git a/Source/Core/VideoBackends/OGL/TextureCache.cpp b/Source/Core/VideoBackends/OGL/TextureCache.cpp
index 6eecedbd06..36175f0215 100644
--- a/Source/Core/VideoBackends/OGL/TextureCache.cpp
+++ b/Source/Core/VideoBackends/OGL/TextureCache.cpp
@@ -486,7 +486,6 @@ void TextureCache::DecodeTextureOnGPU(TCacheEntry* entry, u32 dst_level, const u
void TextureCache::CopyEFBToCacheEntry(TCacheEntry* entry, bool is_depth_copy,
const EFBRectangle& src_rect, bool scale_by_half,
- unsigned int cbuf_id, const float* colmat,
EFBCopyFormat dst_format, bool is_intensity)
{
auto* destination_texture = static_cast<OGLTexture*>(entry->texture.get());
diff --git a/Source/Core/VideoBackends/OGL/TextureCache.h b/Source/Core/VideoBackends/OGL/TextureCache.h
index 0cff84d290..3923919df6 100644
--- a/Source/Core/VideoBackends/OGL/TextureCache.h
+++ b/Source/Core/VideoBackends/OGL/TextureCache.h
@@ -68,8 +68,8 @@ private:
bool scale_by_half) override;
void CopyEFBToCacheEntry(TCacheEntry* entry, bool is_depth_copy, const EFBRectangle& src_rect,
- bool scale_by_half, unsigned int cbuf_id, const float* colmat,
- EFBCopyFormat dst_format, bool is_intensity) override;
+ bool scale_by_half, EFBCopyFormat dst_format,
+ bool is_intensity) override;
bool CompileShaders() override;
void DeleteShaders() override;
diff --git a/Source/Core/VideoBackends/Software/TextureCache.h b/Source/Core/VideoBackends/Software/TextureCache.h
index d676d67a6e..13a70002f2 100644
--- a/Source/Core/VideoBackends/Software/TextureCache.h
+++ b/Source/Core/VideoBackends/Software/TextureCache.h
@@ -26,8 +26,7 @@ public:
private:
void CopyEFBToCacheEntry(TCacheEntry* entry, bool is_depth_copy, const EFBRectangle& src_rect,
- bool scale_by_half, unsigned int cbuf_id, const float* colmat,
- EFBCopyFormat dst_format, bool is_intensity) override
+ bool scale_by_half, EFBCopyFormat dst_format, bool is_intensity) override
{
// TODO: If we ever want to "fake" vram textures, we would need to implement this
}
diff --git a/Source/Core/VideoBackends/Vulkan/TextureCache.cpp b/Source/Core/VideoBackends/Vulkan/TextureCache.cpp
index a97a560d55..dba11219e7 100644
--- a/Source/Core/VideoBackends/Vulkan/TextureCache.cpp
+++ b/Source/Core/VideoBackends/Vulkan/TextureCache.cpp
@@ -266,7 +266,6 @@ void TextureCache::DeleteShaders()
void TextureCache::CopyEFBToCacheEntry(TCacheEntry* entry, bool is_depth_copy,
const EFBRectangle& src_rect, bool scale_by_half,
- unsigned int cbuf_id, const float* colmat,
EFBCopyFormat dst_format, bool is_intensity)
{
VKTexture* texture = static_cast<VKTexture*>(entry->texture.get());
diff --git a/Source/Core/VideoBackends/Vulkan/TextureCache.h b/Source/Core/VideoBackends/Vulkan/TextureCache.h
index 26a01be3bb..dd2e993621 100644
--- a/Source/Core/VideoBackends/Vulkan/TextureCache.h
+++ b/Source/Core/VideoBackends/Vulkan/TextureCache.h
@@ -55,8 +55,8 @@ private:
bool CreateRenderPasses();
void CopyEFBToCacheEntry(TCacheEntry* entry, bool is_depth_copy, const EFBRectangle& src_rect,
- bool scale_by_half, unsigned int cbuf_id, const float* colmat,
- EFBCopyFormat dst_format, bool is_intensity) override;
+ bool scale_by_half, EFBCopyFormat dst_format,
+ bool is_intensity) override;
VkRenderPass m_render_pass = VK_NULL_HANDLE;