mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-20 22:13:40 +00:00
[D3D12] ROV: UAV barrier in Resolve
This commit is contained in:
parent
b6006dc4b2
commit
8cfff36ec1
1 changed files with 5 additions and 0 deletions
|
|
@ -907,6 +907,11 @@ bool RenderTargetCache::Resolve(SharedMemory* shared_memory,
|
|||
msaa_samples != MsaaSamples::k1X ? "s" : "", surface_format,
|
||||
surface_edram_base);
|
||||
|
||||
if (command_processor_->IsROVUsedForEDRAM()) {
|
||||
// Commit ROV writes.
|
||||
command_processor_->PushUAVBarrier(edram_buffer_);
|
||||
}
|
||||
|
||||
bool result = ResolveCopy(shared_memory, texture_cache, surface_edram_base,
|
||||
surface_pitch, msaa_samples, surface_is_depth,
|
||||
surface_format, src_rect);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue