projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0020e1d
)
brw: Fix build -- rename Size to NrTokens.
author
Michal Krol
<michal@vmware.com>
Tue, 10 Feb 2009 14:17:41 +0000
(15:17 +0100)
committer
Michal Krol
<michal@vmware.com>
Tue, 10 Feb 2009 14:17:41 +0000
(15:17 +0100)
src/gallium/drivers/i965simple/brw_vs_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i965simple/brw_vs_emit.c
b/src/gallium/drivers/i965simple/brw_vs_emit.c
index 34dbc0624d545d81f43321c8dc941e27ec9fd38f..e03d65348216c7839bc1075a14519f367204d4aa 100644
(file)
--- a/
src/gallium/drivers/i965simple/brw_vs_emit.c
+++ b/
src/gallium/drivers/i965simple/brw_vs_emit.c
@@
-1293,7
+1293,7
@@
void brw_vs_emit(struct brw_vs_compile *c)
break;
case TGSI_TOKEN_TYPE_IMMEDIATE: {
struct tgsi_full_immediate *imm = &parse.FullToken.FullImmediate;
- /*assert(imm->Immediate.Size == 4);*/
+ assert(imm->Immediate.NrTokens == 4 + 1);
c->prog_data.imm_buf[c->prog_data.num_imm][0] = imm->u.ImmediateFloat32[0].Float;
c->prog_data.imm_buf[c->prog_data.num_imm][1] = imm->u.ImmediateFloat32[1].Float;
c->prog_data.imm_buf[c->prog_data.num_imm][2] = imm->u.ImmediateFloat32[2].Float;