summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_tex.c
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-04-06 08:11:43 -0700
committerChad Versace <[email protected]>2015-04-13 07:36:32 -0700
commitbf504b61274123f09720c80569a8b4f2d3495630 (patch)
treee67ecbb503937965ac72452ebe6af6d08cf20188 /src/mesa/drivers/dri/i965/intel_tex.c
parentd3b042f359df5836d4a4f56664eb228fc80772c0 (diff)
i965: Change intel_miptree_create_for_bo() signature
Add parameter 'bool disable_aux_buffers'. This is a refactor patch. The patch changes no behavior because the new parameter is false in every call. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Tapani Pälli <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_tex.c')
-rw-r--r--src/mesa/drivers/dri/i965/intel_tex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex.c b/src/mesa/drivers/dri/i965/intel_tex.c
index 2d3009a30d1..3335fd1ff0d 100644
--- a/src/mesa/drivers/dri/i965/intel_tex.c
+++ b/src/mesa/drivers/dri/i965/intel_tex.c
@@ -340,7 +340,8 @@ intel_set_texture_storage_for_buffer_object(struct gl_context *ctx,
image->TexFormat,
buffer_offset,
image->Width, image->Height, image->Depth,
- row_stride);
+ row_stride,
+ false /*disable_aux_buffers*/);
if (!intel_texobj->mt)
return false;