mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
radeonsi: remove SET_PREDICATION workaround on newer firmware
We need to keep the workaround for older firmware, though. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
b8c6e88848
commit
792724a337
1 changed files with 4 additions and 2 deletions
|
|
@ -1803,11 +1803,13 @@ static void r600_render_condition(struct pipe_context *ctx,
|
|||
if (query) {
|
||||
bool needs_workaround = false;
|
||||
|
||||
/* There is a firmware regression in VI which causes successive
|
||||
/* There was a firmware regression in VI which causes successive
|
||||
* SET_PREDICATION packets to give the wrong answer for
|
||||
* non-inverted stream overflow predication.
|
||||
*/
|
||||
if (rctx->chip_class >= VI && !condition &&
|
||||
if (((rctx->chip_class == VI && rctx->screen->info.pfp_fw_feature < 49) ||
|
||||
(rctx->chip_class == GFX9 && rctx->screen->info.pfp_fw_feature < 38)) &&
|
||||
!condition &&
|
||||
(rquery->b.type == PIPE_QUERY_SO_OVERFLOW_ANY_PREDICATE ||
|
||||
(rquery->b.type == PIPE_QUERY_SO_OVERFLOW_PREDICATE &&
|
||||
(rquery->buffer.previous ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue