From 87442b106c64c860f0d25d6ee2d2f5107a51877b Mon Sep 17 00:00:00 2001 From: Triang3l Date: Sat, 13 Feb 2021 23:22:03 +0300 Subject: [PATCH] [D3D12] Fix signed-only texture descriptor creation --- src/xenia/gpu/d3d12/texture_cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/gpu/d3d12/texture_cache.cc b/src/xenia/gpu/d3d12/texture_cache.cc index 99909f83f..8541aff6b 100644 --- a/src/xenia/gpu/d3d12/texture_cache.cc +++ b/src/xenia/gpu/d3d12/texture_cache.cc @@ -1248,7 +1248,7 @@ void TextureCache::RequestTextures(uint32_t used_texture_mask) { signed_key.signed_separate = 1; binding.texture_signed = FindOrCreateTexture(signed_key); binding.descriptor_index_signed = - binding.texture + binding.texture_signed ? FindOrCreateTextureDescriptor(*binding.texture_signed, true, binding.host_swizzle) : UINT32_MAX;