diff options
author | Marek Olšák <[email protected]> | 2017-03-14 23:26:30 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-30 14:44:33 +0200 |
commit | 474468fbf935fcd26704061054ccb4d1629009ed (patch) | |
tree | e7d1e7d4acc96e1fce1b4ce097e567c6230fec51 /src/gallium/drivers/radeonsi/si_state.c | |
parent | 8ea3da07061d76f5bca089dbd7c39932b94b5f61 (diff) |
radeonsi/gfx9: disable features that don't work
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index c4063a8a8d6..d2a1f4bf85c 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -2198,7 +2198,8 @@ static void si_initialize_color_surface(struct si_context *sctx, S_028C74_NUM_FRAGMENTS(log_samples); if (rtex->fmask.size) { - color_info |= S_028C70_COMPRESSION(1); + /* TODO: fix FMASK on GFX9: */ + color_info |= S_028C70_COMPRESSION(sctx->b.chip_class <= VI); unsigned fmask_bankh = util_logbase2(rtex->fmask.bank_height); if (sctx->b.chip_class == SI) { |