diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2023-12-09 19:00:11 -0600 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2023-12-15 11:06:02 -0600 |
| commit | 12dd15c8ddb587e2f76351b59e0097940061485b (patch) | |
| tree | 0a0ba100b4b60b208ee5dfbeceeb73d6d990bb90 /Source/Core/VideoCommon/PostProcessing.cpp | |
| parent | 370474a7cbec12c9647b155f9d7cc4409c438df8 (diff) | |
VideoBackends / VideoCommon: add type enum to dictate whether a texture is a 2D texture, a texture array, or a cube map; support 2D texture type across backends
Co-authored-by: TellowKrinkle <tellowkrinkle@gmail.com>
Diffstat (limited to 'Source/Core/VideoCommon/PostProcessing.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PostProcessing.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PostProcessing.cpp b/Source/Core/VideoCommon/PostProcessing.cpp index 615d853a45..1458e3c59f 100644 --- a/Source/Core/VideoCommon/PostProcessing.cpp +++ b/Source/Core/VideoCommon/PostProcessing.cpp @@ -530,7 +530,8 @@ void PostProcessing::BlitFromTexture(const MathUtil::Rectangle<int>& dst, { const TextureConfig intermediary_color_texture_config( target_width, target_height, 1, target_layers, src_tex->GetSamples(), - s_intermediary_buffer_format, AbstractTextureFlag_RenderTarget); + s_intermediary_buffer_format, AbstractTextureFlag_RenderTarget, + AbstractTextureType::Texture_2DArray); m_intermediary_color_texture = g_gfx->CreateTexture(intermediary_color_texture_config, "Intermediary post process texture"); |
