mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 02:52:10 +01:00
[dxvk] End render pass before a staged image upload
Fixes Heaven. Also removes an unnecessary error check
This commit is contained in:
parent
af6bc1e7e2
commit
601aa54139
@ -672,10 +672,7 @@ namespace dxvk {
|
||||
const void* data,
|
||||
VkDeviceSize pitchPerRow,
|
||||
VkDeviceSize pitchPerLayer) {
|
||||
if (subresources.layerCount == 0) {
|
||||
Logger::warn("DxvkContext::updateImage: Layer count is zero");
|
||||
return;
|
||||
}
|
||||
this->renderPassEnd();
|
||||
|
||||
// Upload data through a staging buffer. Special care needs to
|
||||
// be taken when dealing with compressed image formats: Rather
|
||||
|
Loading…
x
Reference in New Issue
Block a user