aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/gen6_vs_state.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/gen6_vs_state.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/gen6_vs_state.c')
-rw-r--r--src/mesa/drivers/dri/i965/gen6_vs_state.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_vs_state.c b/src/mesa/drivers/dri/i965/gen6_vs_state.c
index b94121e8437..f1123af6c0b 100644
--- a/src/mesa/drivers/dri/i965/gen6_vs_state.c
+++ b/src/mesa/drivers/dri/i965/gen6_vs_state.c
@@ -83,8 +83,7 @@ gen6_prepare_vs_push_constants(struct brw_context *brw)
if (brw->vs.prog_data->uses_new_param_layout) {
for (i = 0; i < brw->vs.prog_data->nr_params; i++) {
- *param = convert_param(brw->vs.prog_data->param_convert[i],
- brw->vs.prog_data->param[i]);
+ *param = *brw->vs.prog_data->param[i];
param++;
}
params_uploaded += brw->vs.prog_data->nr_params / 4;