[Mesa-dev] [PATCH 6/6] radv: Remove SI num RB override for occlusion queries.
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Tue Jun 6 20:32:29 UTC 2017
radeonsi doesn't have it anymore either.
Signed-off-by: Bas Nieuwenhuizen <basni at google.com>
Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
---
src/amd/vulkan/radv_query.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/amd/vulkan/radv_query.c b/src/amd/vulkan/radv_query.c
index 6d05612579f..03b5af16a55 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));
--
2.13.0
More information about the mesa-dev
mailing list