projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965: Use immediate float operands for some VS instructions.
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
brw_clip_tri.c
diff --git
a/src/mesa/drivers/dri/i965/brw_clip_tri.c
b/src/mesa/drivers/dri/i965/brw_clip_tri.c
index 815211acc21dd9046c7c464c354fa693721d8982..b27fe654ca9e6ccb3dbeffdb3e59c7da456cd911 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_clip_tri.c
+++ b/
src/mesa/drivers/dri/i965/brw_clip_tri.c
@@
-78,7
+78,7
@@
void brw_clip_tri_alloc_regs( struct brw_clip_compile *c,
for (j = 0; j < 3; j++) {
GLuint delta = c->nr_attrs*16 + 32;
- if (intel->
is_ironlake
)
+ if (intel->
gen == 5
)
delta = c->nr_attrs * 16 + 32 * 3;
brw_MOV(&c->func, byte_offset(c->reg.vertex[j], delta), brw_imm_f(0));