From: Jerome Glisse Date: Wed, 11 Aug 2010 17:49:06 +0000 (-0400) Subject: r600g: add src negation support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1bb0427a856ffa3fea1b177ea5b0395a00de3833;p=mesa.git r600g: add src negation support Should fix few glBitmap cases. Signed-off-by: Jerome Glisse --- diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index ca65bff24c1..cbeb69221cc 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -537,6 +537,7 @@ static int tgsi_src(struct r600_shader_ctx *ctx, if (tgsi_src->Register.File == TGSI_FILE_IMMEDIATE) { r600_src->sel = 0; } + r600_src->neg = tgsi_src->Register.Negate; r600_src->sel += ctx->file_offset[tgsi_src->Register.File]; return 0; }