diff options
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 | 6 |
1 files changed, 1 insertions, 5 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 611d77d1f7..c697756bee 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_vs_surface_state.c @@ -194,11 +194,7 @@ static void upload_vs_surfaces(struct brw_context *brw) for (i = 0; i < BRW_VS_MAX_SURF; i++) { /* BRW_NEW_VS_CONSTBUF */ if (brw->vs.surf_bo[i]) { - drm_intel_bo_emit_reloc(brw->vs.bind_bo, - brw->vs.bind_bo_offset + i * sizeof(uint32_t), - brw->vs.surf_bo[i], brw->vs.surf_offset[i], - I915_GEM_DOMAIN_INSTRUCTION, 0); - bind[i] = brw->vs.surf_bo[i]->offset + brw->vs.surf_offset[i]; + bind[i] = brw->vs.surf_offset[i]; } else { bind[i] = 0; } |