projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e07d5c7
)
radv: fewer than 8 RBs are possible
author
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Tue, 16 May 2017 15:05:02 +0000
(17:05 +0200)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 5 Jun 2017 00:43:47 +0000
(10:43 +1000)
This fixes the subsequent assertion on Bonaire.
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_query.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_query.c
b/src/amd/vulkan/radv_query.c
index 55e4185772ecc5fdaad447fba74b5ae2038bd6c5..6d05612579f4e723589216d77981383cdd85efef 100644
(file)
--- a/
src/amd/vulkan/radv_query.c
+++ b/
src/amd/vulkan/radv_query.c
@@
-46,8
+46,6
@@
static unsigned get_max_db(struct radv_device *device)
if (device->physical_device->rad_info.chip_class == SI)
num_db = 8;
- else
- num_db = MAX2(8, num_db);
/* Otherwise we need to change the query reset procedure */
assert(rb_mask == ((1ull << num_db) - 1));