1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 14:52:11 +01:00

[dxvk] Fix meta copy operation for 1D images

This commit is contained in:
Philip Rebohle 2019-07-18 19:50:57 +02:00
parent 2905ba82d2
commit fb9ea958a1
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -447,7 +447,7 @@ namespace dxvk {
if (!shaderSet) if (!shaderSet)
throw DxvkError("DxvkMetaCopyObjects: Unsupported aspect mask"); 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; psStage.module = shaderSet->frag1D;
else if (key.samples == VK_SAMPLE_COUNT_1_BIT) else if (key.samples == VK_SAMPLE_COUNT_1_BIT)
psStage.module = shaderSet->frag2D; psStage.module = shaderSet->frag2D;