aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_curbe.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-08-19 11:51:43 -0700
committerEric Anholt <[email protected]>2011-08-30 12:09:40 -0700
commit55b7fbb70ffc1f4def5c3ded63c3ef569e693731 (patch)
tree91fd67ba589e1eaaf38cb22415d939d66fefc050 /src/mesa/drivers/dri/i965/brw_curbe.c
parent2f82c33deefba61b3e72edb4375850c0629af224 (diff)
i965: Use native integer uniforms when the new VS backend is in use.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_curbe.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_curbe.c3
1 files changed, 1 insertions, 2 deletions
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