diff options
author | Eric Anholt <eric@anholt.net> | 2012-06-20 13:03:04 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2012-08-07 13:54:51 -0700 |
commit | 5bffbd7ba2ba2ff21469b2a69a0ed67f0802fec7 (patch) | |
tree | 03c90e7344b331a565a1c25af60c1b612d9b5dae /src/mesa/drivers/dri/i965/brw_vs_surface_state.c | |
parent | 5fc5b29a543a7a229bf03f8f9f37ed4c592a67e7 (diff) | |
download | external_mesa3d-5bffbd7ba2ba2ff21469b2a69a0ed67f0802fec7.zip external_mesa3d-5bffbd7ba2ba2ff21469b2a69a0ed67f0802fec7.tar.gz external_mesa3d-5bffbd7ba2ba2ff21469b2a69a0ed67f0802fec7.tar.bz2 |
i965: Add an offset argument to constant buffer setup.
We'll use this for UBO surfaces.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs_surface_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_surface_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_surface_state.c b/src/mesa/drivers/dri/i965/brw_vs_surface_state.c index 534621c..2026145 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_vs_surface_state.c @@ -95,7 +95,7 @@ brw_upload_vs_pull_constants(struct brw_context *brw) drm_intel_gem_bo_unmap_gtt(brw->vs.const_bo); const int surf = SURF_INDEX_VERT_CONST_BUFFER; - intel->vtbl.create_constant_surface(brw, brw->vs.const_bo, + intel->vtbl.create_constant_surface(brw, brw->vs.const_bo, 0, params->NumParameters, &brw->vs.surf_offset[surf]); |