projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7f94c9
)
tgsi: fix ureg emit after version token change
author
Keith Whitwell
<keithw@vmware.com>
Tue, 1 Dec 2009 15:01:00 +0000
(15:01 +0000)
committer
Keith Whitwell
<keithw@vmware.com>
Tue, 1 Dec 2009 15:01:00 +0000
(15:01 +0000)
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 080bdb5145a6681208df547711c4b9453b5e5b05..fb4b5fa868fbdf19c7e31a09845fdadd53d1472c 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_ureg.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_ureg.c
@@
-1053,7
+1053,7
@@
static void copy_instructions( struct ureg_program *ureg )
static void
fixup_header_size(struct ureg_program *ureg)
{
- union tgsi_any_token *out = retrieve_token( ureg, DOMAIN_DECL,
1
);
+ union tgsi_any_token *out = retrieve_token( ureg, DOMAIN_DECL,
0
);
out->header.BodySize = ureg->domain[DOMAIN_DECL].count - 3;
}