summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-10-30 12:29:13 +0100
committerSamuel Pitoiset <[email protected]>2018-10-31 09:21:28 +0100
commit9ef8ea1451eb8c830ebe3017aee4d59ffdb24df7 (patch)
tree723994a510bf70f4f91757e231f32acf8d6147d0 /src/amd/vulkan
parenta9a56f47f883018922a404f908325996718854b8 (diff)
radv: use WAIT_REG_MEM_GREATER_OR_EQUAL instead of a magic value
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/radv_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_query.c b/src/amd/vulkan/radv_query.c
index 318d6c7afee..57ea22fb847 100644
--- a/src/amd/vulkan/radv_query.c
+++ b/src/amd/vulkan/radv_query.c
@@ -1039,7 +1039,7 @@ void radv_CmdCopyQueryPoolResults(
/* Waits on the upper word of the last DB entry */
radeon_emit(cs, PKT3(PKT3_WAIT_REG_MEM, 5, 0));
- radeon_emit(cs, 5 | WAIT_REG_MEM_MEM_SPACE(1));
+ radeon_emit(cs, WAIT_REG_MEM_GREATER_OR_EQUAL | WAIT_REG_MEM_MEM_SPACE(1));
radeon_emit(cs, src_va);
radeon_emit(cs, src_va >> 32);
radeon_emit(cs, 0x80000000); /* reference value */