diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index a290d16b02d..9ea08c8fb26 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -486,6 +486,9 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, if (!sctx->border_color_map) goto fail; + if (sctx->chip_class >= GFX10) + sctx->ngg = !sscreen->options.disable_ngg; + /* Initialize context functions used by graphics and compute. */ if (sctx->chip_class >= GFX10) sctx->emit_cache_flush = gfx10_emit_cache_flush; |