summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_tex.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-06-18 23:32:08 -0700
committerKenneth Graunke <[email protected]>2018-01-31 11:33:52 -0800
commitab1f2e6bc401636202f93efad3677f26d028e412 (patch)
tree9af0201b6de5c7631a48e977a1dc95ae48b56e46 /src/mesa/drivers/dri/i965/intel_tex.h
parent0a2e878c69eedb14999c7a6577d80145ea6c680c (diff)
i965: Make texture validation code use texture objects, not units.
This requires moving the _MaxLevel handling up to the callers. Another user of intel_finalize_mipmap_tree will be added later that depends on _MaxLevel not being modified. Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_tex.h')
-rw-r--r--src/mesa/drivers/dri/i965/intel_tex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex.h b/src/mesa/drivers/dri/i965/intel_tex.h
index 42565baebf6..9fb1b3ffbc4 100644
--- a/src/mesa/drivers/dri/i965/intel_tex.h
+++ b/src/mesa/drivers/dri/i965/intel_tex.h
@@ -50,6 +50,7 @@ intel_miptree_create_for_teximage(struct brw_context *brw,
struct intel_texture_image *intelImage,
enum intel_miptree_create_flags flags);
-void intel_finalize_mipmap_tree(struct brw_context *brw, GLuint unit);
+void intel_finalize_mipmap_tree(struct brw_context *brw,
+ struct gl_texture_object *tex_obj);
#endif