From fb9ea958a1bd0c5a2ebfc07a4d603213d771af65 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Thu, 18 Jul 2019 19:50:57 +0200 Subject: [PATCH] [dxvk] Fix meta copy operation for 1D images --- src/dxvk/dxvk_meta_copy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_meta_copy.cpp b/src/dxvk/dxvk_meta_copy.cpp index 84595e783..53f4ad98a 100644 --- a/src/dxvk/dxvk_meta_copy.cpp +++ b/src/dxvk/dxvk_meta_copy.cpp @@ -447,7 +447,7 @@ namespace dxvk { if (!shaderSet) throw DxvkError("DxvkMetaCopyObjects: Unsupported aspect mask"); - if (key.viewType == VK_IMAGE_VIEW_TYPE_1D) + if (key.viewType == VK_IMAGE_VIEW_TYPE_1D_ARRAY) psStage.module = shaderSet->frag1D; else if (key.samples == VK_SAMPLE_COUNT_1_BIT) psStage.module = shaderSet->frag2D;