[Bug 108909] Vkd3d test failure test_resolve_non_issued_query_data()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 4 11:55:31 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=108909

--- Comment #4 from Samuel Iglesias Gonsálvez <siglesias at igalia.com> ---
(In reply to Lionel Landwerlin from comment #3)
> I'm afraid we'll need a render target flush...
> The stall at pixel scoreboard doesn't ensure everything has landed.

I was about to say that. This diff fixes the issue:

diff --git a/src/intel/vulkan/genX_query.c b/src/intel/vulkan/genX_query.c
index 4831c4ea334..46c12bfe7d6 100644
--- a/src/intel/vulkan/genX_query.c
+++ b/src/intel/vulkan/genX_query.c
@@ -529,6 +529,7 @@ void genX(CmdWriteTimestamp)(
          pc.DestinationAddressType  = DAT_PPGTT;
          pc.PostSyncOperation       = WriteTimestamp;
          pc.Address                 = anv_address_add(query_addr, 8);
+         pc.RenderTargetCacheFlushEnable = true;

          if (GEN_GEN == 9 && cmd_buffer->device->info.gt == 4)
             pc.CommandStreamerStallEnable = true;

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20181204/9849fcbb/attachment.html>


More information about the intel-3d-bugs mailing list