@@ -116,10 +116,10 @@ clip_unit_create_from_key(struct brw_context *brw, | |||
/* Emit clip program relocation */ | |||
assert(brw->clip.prog_bo); | |||
dri_emit_reloc(bo, | |||
DRM_BO_FLAG_MEM_TT | DRM_BO_FLAG_READ, | |||
clip.thread0.grf_reg_count << 1, | |||
offsetof(struct brw_clip_unit_state, thread0), | |||
brw->clip.prog_bo); | |||
DRM_BO_FLAG_MEM_TT | DRM_BO_FLAG_READ, | |||
clip.thread0.grf_reg_count << 1, | |||
offsetof(struct brw_clip_unit_state, thread0), | |||
brw->clip.prog_bo); | |||
return bo; | |||
} |