From 55b7fbb70ffc1f4def5c3ded63c3ef569e693731 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 19 Aug 2011 11:51:43 -0700 Subject: i965: Use native integer uniforms when the new VS backend is in use. Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_curbe.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_curbe.c') diff --git a/src/mesa/drivers/dri/i965/brw_curbe.c b/src/mesa/drivers/dri/i965/brw_curbe.c index 960be10006e..b9a4beb1236 100644 --- a/src/mesa/drivers/dri/i965/brw_curbe.c +++ b/src/mesa/drivers/dri/i965/brw_curbe.c @@ -246,8 +246,7 @@ static void prepare_constant_buffer(struct brw_context *brw) if (brw->vs.prog_data->uses_new_param_layout) { for (i = 0; i < brw->vs.prog_data->nr_params; i++) { - buf[offset + i] = convert_param(brw->vs.prog_data->param_convert[i], - brw->vs.prog_data->param[i]); + buf[offset + i] = *brw->vs.prog_data->param[i]; } } else { /* Load the subset of push constants that will get used when -- cgit v1.2.3