diff options
author | Jason Ekstrand <[email protected]> | 2015-05-28 10:27:50 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-05-28 10:27:53 -0700 |
commit | 8cf932fd254b3c35e93b2898fdda95f611ea9f7a (patch) | |
tree | 4a9d79b831c415f9708392b1e67be83cb8cd58f0 | |
parent | 730ca0efb17feecd7179a81a9ea53905350ad405 (diff) |
vk/query: Don't emit a CS stall by itself
Both the bspec and the simulator don't like this. I'm not sure if stalling
at the scoreboard is right but it at least shuts up the simulator.
-rw-r--r-- | src/vulkan/device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vulkan/device.c b/src/vulkan/device.c index a5e4d9ffe6c..9bd3f60bfde 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -3317,7 +3317,8 @@ void anv_CmdCopyQueryPoolResults( /* FIXME: If we're not waiting, should we just do this on the CPU? */ if (flags & VK_QUERY_RESULT_WAIT_BIT) anv_batch_emit(&cmd_buffer->batch, GEN8_PIPE_CONTROL, - .CommandStreamerStallEnable = true); + .CommandStreamerStallEnable = true, + .StallAtPixelScoreboard = true); dst_offset = buffer->offset + destOffset; for (uint32_t i = 0; i < queryCount; i++) { |