summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-06-20 13:03:04 -0700
committerEric Anholt <[email protected]>2012-08-07 13:54:51 -0700
commit5bffbd7ba2ba2ff21469b2a69a0ed67f0802fec7 (patch)
tree03c90e7344b331a565a1c25af60c1b612d9b5dae /src/mesa/drivers/dri/intel
parent5fc5b29a543a7a229bf03f8f9f37ed4c592a67e7 (diff)
i965: Add an offset argument to constant buffer setup.
We'll use this for UBO surfaces. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/intel')
-rw-r--r--src/mesa/drivers/dri/intel/intel_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.h b/src/mesa/drivers/dri/intel/intel_context.h
index 29ab187c3e7..4997cf0ee8c 100644
--- a/src/mesa/drivers/dri/intel/intel_context.h
+++ b/src/mesa/drivers/dri/intel/intel_context.h
@@ -197,6 +197,7 @@ struct intel_context
unsigned unit);
void (*create_constant_surface)(struct brw_context *brw,
drm_intel_bo *bo,
+ uint32_t offset,
int width,
uint32_t *out_offset);
/** \} */