diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-08-11 13:49:06 -0400 |
---|---|---|
committer | Jerome Glisse <jglisse@redhat.com> | 2010-08-11 13:50:19 -0400 |
commit | 1bb0427a856ffa3fea1b177ea5b0395a00de3833 (patch) | |
tree | 229ec6947d19b4021a5230a8bb9f4dd9863aa2bc /src/gallium/drivers/r600/r600_shader.c | |
parent | b481a1237e00e1e1fb68ffca0653df3a96f21788 (diff) |
r600g: add src negation support
Should fix few glBitmap cases.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 1 |
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 ca65bff24c..cbeb69221c 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; } |