From: Alex Deucher Date: Fri, 24 Jun 2011 22:27:39 +0000 (-0400) Subject: r600g: limit fs_write_all shader rebuild to eg+ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3acae4591566ed9560798e23edb5416e6a614a21;p=mesa.git r600g: limit fs_write_all shader rebuild to eg+ Signed-off-by: Alex Deucher --- diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index bf4e90ecb2f..d9140403e5a 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -600,7 +600,7 @@ void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *info) r600_shader_rebuild(ctx, rctx->vs_shader); if ((rctx->ps_shader->shader.clamp_color != rctx->clamp_fragment_color) || - (rctx->ps_shader->shader.fs_write_all && + ((rctx->family >= CHIP_CEDAR) && rctx->ps_shader->shader.fs_write_all && (rctx->ps_shader->shader.nr_cbufs != rctx->nr_cbufs))) r600_shader_rebuild(ctx, rctx->ps_shader);