diff options
-rw-r--r-- | src/amd/vulkan/radv_cmd_buffer.c | 8 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 9994bf05102..278e71b4704 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -1717,21 +1717,21 @@ radv_emit_rbplus_state(struct radv_cmd_buffer *cmd_buffer) case V_028C70_COLOR_5_6_5: if (spi_format == V_028714_SPI_SHADER_FP16_ABGR) { sx_ps_downconvert |= V_028754_SX_RT_EXPORT_5_6_5 << (i * 4); - sx_blend_opt_epsilon |= V_028758_6BIT_FORMAT_0_75 << (i * 4); + sx_blend_opt_epsilon |= V_028758_6BIT_FORMAT_0_5 << (i * 4); } break; case V_028C70_COLOR_1_5_5_5: if (spi_format == V_028714_SPI_SHADER_FP16_ABGR) { sx_ps_downconvert |= V_028754_SX_RT_EXPORT_1_5_5_5 << (i * 4); - sx_blend_opt_epsilon |= V_028758_5BIT_FORMAT_0_75 << (i * 4); + sx_blend_opt_epsilon |= V_028758_5BIT_FORMAT_0_5 << (i * 4); } break; case V_028C70_COLOR_4_4_4_4: if (spi_format == V_028714_SPI_SHADER_FP16_ABGR) { sx_ps_downconvert |= V_028754_SX_RT_EXPORT_4_4_4_4 << (i * 4); - sx_blend_opt_epsilon |= V_028758_4BIT_FORMAT_0_75 << (i * 4); + sx_blend_opt_epsilon |= V_028758_4BIT_FORMAT_0_5 << (i * 4); } break; @@ -1764,7 +1764,7 @@ radv_emit_rbplus_state(struct radv_cmd_buffer *cmd_buffer) case V_028C70_COLOR_2_10_10_10: if (spi_format == V_028714_SPI_SHADER_FP16_ABGR) { sx_ps_downconvert |= V_028754_SX_RT_EXPORT_2_10_10_10 << (i * 4); - sx_blend_opt_epsilon |= V_028758_10BIT_FORMAT_0_75 << (i * 4); + sx_blend_opt_epsilon |= V_028758_10BIT_FORMAT_0_5 << (i * 4); } break; case V_028C70_COLOR_5_9_9_9: diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 609071f8794..1346b82fa9d 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -201,21 +201,21 @@ static void si_emit_cb_render_state(struct si_context *sctx) case V_028C70_COLOR_5_6_5: if (spi_format == V_028714_SPI_SHADER_FP16_ABGR) { sx_ps_downconvert |= V_028754_SX_RT_EXPORT_5_6_5 << (i * 4); - sx_blend_opt_epsilon |= V_028758_6BIT_FORMAT_0_75 << (i * 4); + sx_blend_opt_epsilon |= V_028758_6BIT_FORMAT_0_5 << (i * 4); } break; case V_028C70_COLOR_1_5_5_5: if (spi_format == V_028714_SPI_SHADER_FP16_ABGR) { sx_ps_downconvert |= V_028754_SX_RT_EXPORT_1_5_5_5 << (i * 4); - sx_blend_opt_epsilon |= V_028758_5BIT_FORMAT_0_75 << (i * 4); + sx_blend_opt_epsilon |= V_028758_5BIT_FORMAT_0_5 << (i * 4); } break; case V_028C70_COLOR_4_4_4_4: if (spi_format == V_028714_SPI_SHADER_FP16_ABGR) { sx_ps_downconvert |= V_028754_SX_RT_EXPORT_4_4_4_4 << (i * 4); - sx_blend_opt_epsilon |= V_028758_4BIT_FORMAT_0_75 << (i * 4); + sx_blend_opt_epsilon |= V_028758_4BIT_FORMAT_0_5 << (i * 4); } break; @@ -249,7 +249,7 @@ static void si_emit_cb_render_state(struct si_context *sctx) case V_028C70_COLOR_10_10_10_2: if (spi_format == V_028714_SPI_SHADER_FP16_ABGR) { sx_ps_downconvert |= V_028754_SX_RT_EXPORT_2_10_10_10 << (i * 4); - sx_blend_opt_epsilon |= V_028758_10BIT_FORMAT_0_75 << (i * 4); + sx_blend_opt_epsilon |= V_028758_10BIT_FORMAT_0_5 << (i * 4); } break; |