projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab7e70f
)
tgsi/ureg: Fix ureg_emit_src().
author
Michal Krol
<michal@vmware.com>
Thu, 3 Dec 2009 08:13:52 +0000
(09:13 +0100)
committer
Michal Krol
<michal@vmware.com>
Thu, 3 Dec 2009 08:13:52 +0000
(09:13 +0100)
src/gallium/auxiliary/tgsi/tgsi_ureg.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_ureg.c
b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
index fb4b5fa868fbdf19c7e31a09845fdadd53d1472c..8f0b9842ff1b43af7cbda52427116dd63269c50f 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_ureg.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_ureg.c
@@
-554,9
+554,7
@@
void
ureg_emit_src( struct ureg_program *ureg,
struct ureg_src src )
{
- unsigned size = (1 +
- (src.Absolute ? 1 : 0) +
- (src.Indirect ? 1 : 0));
+ unsigned size = 1 + (src.Indirect ? 1 : 0);
union tgsi_any_token *out = get_tokens( ureg, DOMAIN_INSN, size );
unsigned n = 0;