projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b481a12
)
r600g: add src negation support
author
Jerome Glisse
<jglisse@redhat.com>
Wed, 11 Aug 2010 17:49:06 +0000
(13:49 -0400)
committer
Jerome Glisse
<jglisse@redhat.com>
Wed, 11 Aug 2010 17:50:19 +0000
(13:50 -0400)
Should fix few glBitmap cases.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/r600_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index ca65bff24c1bdedf6aeb939544424f630e32e3db..cbeb69221cc6a30860bc013ba1878af0ad8f7129 100644
(file)
--- 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;
}