diff options
author | Marek Olšák <[email protected]> | 2019-02-07 00:01:13 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-02-26 14:58:55 -0500 |
commit | a1378639ab19682a818ee627745db7f67485d406 (patch) | |
tree | 8c0229bbb0633b4ac6cdf95258c80f2a6d11b521 /src/gallium/drivers/radeonsi/si_texture.c | |
parent | c0110477b5503978adf37f64c65c30c9304e3fe4 (diff) |
radeonsi: always use compute rings for clover on CI and newer (v2)
initialize all non-compute context functions to NULL.
v2: fix SI
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_texture.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_texture.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_texture.c b/src/gallium/drivers/radeonsi/si_texture.c index a50088d2d8f..581f90a7b2f 100644 --- a/src/gallium/drivers/radeonsi/si_texture.c +++ b/src/gallium/drivers/radeonsi/si_texture.c @@ -464,6 +464,9 @@ bool si_texture_disable_dcc(struct si_context *sctx, { struct si_screen *sscreen = sctx->screen; + if (!sctx->has_graphics) + return si_texture_discard_dcc(sscreen, tex); + if (!si_can_disable_dcc(tex)) return false; |