diff options
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs_constval.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_constval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_constval.c b/src/mesa/drivers/dri/i965/brw_vs_constval.c index 8b7993a7dec..9ce5ab379ea 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_constval.c +++ b/src/mesa/drivers/dri/i965/brw_vs_constval.c @@ -202,7 +202,7 @@ static void calc_wm_input_sizes( struct brw_context *brw ) t.twoside = 1; for (i = 0; i < VERT_ATTRIB_MAX; i++) - if (vp->program.Base.InputsRead & (1<<i)) + if (vp->program.Base.InputsRead & BITFIELD64_BIT(i)) set_active_component(&t, PROGRAM_INPUT, i, szflag[get_input_size(brw, i)]); |