aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-06-06 22:03:49 +0200
committerEmil Velikov <[email protected]>2017-06-14 12:47:58 +0100
commit18fd7249c515634bfe23fcf468239add5d5f4cc9 (patch)
tree9509a5c446967f07e0348364c823bf6b019c1942
parentf66de22af451cf9d834ff251888c91590443f238 (diff)
radv: Remove SI num RB override for occlusion queries.
radeonsi doesn't have it anymore either. Signed-off-by: Bas Nieuwenhuizen <[email protected]> Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver" Reviewed-by: Dave Airlie <[email protected]> (cherry picked from commit 59c2e2a061736a981819c3cb217e92e1509d9852)
-rw-r--r--src/amd/vulkan/radv_query.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_query.c b/src/amd/vulkan/radv_query.c
index 04e5e38a827..d581ea534b5 100644
--- a/src/amd/vulkan/radv_query.c
+++ b/src/amd/vulkan/radv_query.c
@@ -44,9 +44,6 @@ static unsigned get_max_db(struct radv_device *device)
unsigned num_db = device->physical_device->rad_info.num_render_backends;
MAYBE_UNUSED unsigned rb_mask = device->physical_device->rad_info.enabled_rb_mask;
- if (device->physical_device->rad_info.chip_class == SI)
- num_db = 8;
-
/* Otherwise we need to change the query reset procedure */
assert(rb_mask == ((1ull << num_db) - 1));