aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-07-23 00:32:06 -0400
committerMarek Olšák <[email protected]>2019-07-30 22:06:23 -0400
commit17021efc7421495ad189b82a26dd651c9a98ccb4 (patch)
tree3e27e98dbdbfa86e868dd542ce879fa2e0db3d7b /src
parent27ac9a33268b72a4f8befac44a9bd550c74fe3a6 (diff)
radeonsi: adjust RB+ blend optimization settings
based on PAL
Diffstat (limited to 'src')
-rw-r--r--src/amd/registers/amdgfxregs.json2
-rw-r--r--src/gallium/drivers/radeonsi/si_state.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/amd/registers/amdgfxregs.json b/src/amd/registers/amdgfxregs.json
index 23643c3dc7b..a218232d85b 100644
--- a/src/amd/registers/amdgfxregs.json
+++ b/src/amd/registers/amdgfxregs.json
@@ -1000,7 +1000,7 @@
{"name": "EXACT", "value": 0},
{"name": "11BIT_FORMAT", "value": 1},
{"name": "10BIT_FORMAT", "value": 3},
- {"name": "8BIT_FORMAT", "value": 7},
+ {"name": "8BIT_FORMAT", "value": 6},
{"name": "6BIT_FORMAT", "value": 11},
{"name": "5BIT_FORMAT", "value": 13},
{"name": "4BIT_FORMAT", "value": 15}
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
index 827d6b31db2..be1e88a35b2 100644
--- a/src/gallium/drivers/radeonsi/si_state.c
+++ b/src/gallium/drivers/radeonsi/si_state.c
@@ -250,10 +250,8 @@ static void si_emit_cb_render_state(struct si_context *sctx)
break;
case V_028C70_COLOR_10_11_11:
- if (spi_format == V_028714_SPI_SHADER_FP16_ABGR) {
+ if (spi_format == V_028714_SPI_SHADER_FP16_ABGR)
sx_ps_downconvert |= V_028754_SX_RT_EXPORT_10_11_11 << (i * 4);
- sx_blend_opt_epsilon |= V_028758_11BIT_FORMAT << (i * 4);
- }
break;
case V_028C70_COLOR_2_10_10_10: