diff options
author | Eric Anholt <[email protected]> | 2013-03-20 10:46:20 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-04-01 16:17:25 -0700 |
commit | 2f41a601455e6e0366e28b6b84871842cb4bd341 (patch) | |
tree | 8721a3182e5ad2675e15db7fe512b0f8dc5a32ec /src/mesa/drivers/dri/intel | |
parent | 8c694dfe6478ce9355c866ae70db45e49e499de3 (diff) |
i965: Make the constant surface interface take a normal byte size.
This puts the rounding-up logic into the function itself instead of all
the callers having to manage it. Also drop an "unused" comment in gen4,
as the stride *is* used for texbos (and will be for uniforms soon).
NOTE: This is a candidate for the 9.1 branch.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/intel')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.h b/src/mesa/drivers/dri/intel/intel_context.h index 59cf1979f0e..958db1cade1 100644 --- a/src/mesa/drivers/dri/intel/intel_context.h +++ b/src/mesa/drivers/dri/intel/intel_context.h @@ -202,7 +202,7 @@ struct intel_context void (*create_constant_surface)(struct brw_context *brw, drm_intel_bo *bo, uint32_t offset, - int width, + uint32_t size, uint32_t *out_offset); /** \} */ } vtbl; |