diff options
author | Luc Verhaegen <libv@skynet.be> | 2010-03-14 06:20:29 +0100 |
---|---|---|
committer | Luc Verhaegen <libv@skynet.be> | 2010-03-14 06:20:29 +0100 |
commit | 6b263d1e2c599ddcc0ce4c84425dbc1ac8de020c (patch) | |
tree | 9280bc7c79dc7326d5f5172d978a4aa0ed58ed99 /i965/brw_wm_pass2.c | |
parent | 4cfe98db595fd3876e252bd23ed48bf82836f795 (diff) |
Import i915 and i965 dri drivers from mesa 7.7.0.7.7.0
Diffstat (limited to 'i965/brw_wm_pass2.c')
-rw-r--r-- | i965/brw_wm_pass2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i965/brw_wm_pass2.c b/i965/brw_wm_pass2.c index 6faea01..31303fe 100644 --- a/i965/brw_wm_pass2.c +++ b/i965/brw_wm_pass2.c @@ -82,8 +82,8 @@ static void init_registers( struct brw_wm_compile *c ) for (j = 0; j < c->nr_creg; j++) prealloc_reg(c, &c->creg[j], i++); - for (j = 0; j < FRAG_ATTRIB_MAX; j++) { - if (c->key.vp_outputs_written & (1<<j)) { + for (j = 0; j < VERT_RESULT_MAX; j++) { + if (c->key.vp_outputs_written & BITFIELD64_BIT(j)) { int fp_index; if (j >= VERT_RESULT_VAR0) |