[D3D12] Set binding texture to null if the key is not valid
This commit is contained in:
parent
34fef0911c
commit
a27740a41f
|
@ -355,6 +355,7 @@ void TextureCache::RequestTextures(uint32_t used_vertex_texture_mask,
|
|||
binding.swizzle);
|
||||
texture_keys_in_sync_ |= index_bit;
|
||||
if (binding.key.IsInvalid()) {
|
||||
binding.texture = nullptr;
|
||||
continue;
|
||||
}
|
||||
bool load = force_load;
|
||||
|
|
Loading…
Reference in New Issue