summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorJerome Glisse <[email protected]>2010-08-11 13:49:06 -0400
committerJerome Glisse <[email protected]>2010-08-11 13:50:19 -0400
commit1bb0427a856ffa3fea1b177ea5b0395a00de3833 (patch)
tree229ec6947d19b4021a5230a8bb9f4dd9863aa2bc /src/gallium/drivers/r600
parentb481a1237e00e1e1fb68ffca0653df3a96f21788 (diff)
r600g: add src negation support
Should fix few glBitmap cases. Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/r600_shader.c1
1 files changed, 1 insertions, 0 deletions
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;
}