aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_vs_emit.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-04 23:18:07 +0000
committerKeith Whitwell <[email protected]>2009-11-04 23:18:07 +0000
commit1b611f99b430333e840908b42471a721689b2529 (patch)
tree35fd0dec976d51a4922f054a5b05f58f4b24de56 /src/gallium/drivers/i965/brw_vs_emit.c
parentcc8105d7402511c7d0ea8a07faaa8d149d9249f2 (diff)
i965g: hook up some missing vertex shader code
Diffstat (limited to 'src/gallium/drivers/i965/brw_vs_emit.c')
-rw-r--r--src/gallium/drivers/i965/brw_vs_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_vs_emit.c b/src/gallium/drivers/i965/brw_vs_emit.c
index bcc5c5f7130..95e2b8e2cb6 100644
--- a/src/gallium/drivers/i965/brw_vs_emit.c
+++ b/src/gallium/drivers/i965/brw_vs_emit.c
@@ -90,7 +90,7 @@ static void brw_vs_alloc_regs( struct brw_vs_compile *c )
/* XXX: immediates can go elsewhere if necessary:
*/
assert(c->vp->info.file_max[TGSI_FILE_IMMEDIATE] +
- c->vp->info.file_max[TGSI_FILE_TEMPORARY] + 21 > BRW_MAX_GRF);
+ c->vp->info.file_max[TGSI_FILE_TEMPORARY] + 21 <= BRW_MAX_GRF);
c->vp->use_const_buffer = GL_FALSE;
}