Would somebody with Fiji please test if this fixes occlusion queries? Thanks,
Marek On Tue, Nov 10, 2015 at 11:49 PM, Marek Olšák <mar...@gmail.com> wrote: > From: Marek Olšák <marek.ol...@amd.com> > > Untested. I need a new PSU with two 8pin connectors to be able to use Fiji. > --- > src/gallium/drivers/radeon/r600_pipe_common.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c > b/src/gallium/drivers/radeon/r600_pipe_common.c > index 3599692..5aa1609 100644 > --- a/src/gallium/drivers/radeon/r600_pipe_common.c > +++ b/src/gallium/drivers/radeon/r600_pipe_common.c > @@ -234,8 +234,8 @@ bool r600_common_context_init(struct r600_common_context > *rctx, > rctx->family = rscreen->family; > rctx->chip_class = rscreen->chip_class; > > - if (rscreen->family == CHIP_HAWAII) > - rctx->max_db = 16; > + if (rscreen->chip_class >= CIK) > + rctx->max_db = MAX2(8, rscreen->info.r600_num_backends); > else if (rscreen->chip_class >= EVERGREEN) > rctx->max_db = 8; > else > -- > 2.1.4 > _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev