aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_tex_validate.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-07-02 15:53:35 -0700
committerKenneth Graunke <[email protected]>2013-07-03 10:48:15 -0700
commit764afc48cf8a762f8c48209ba724103d421f0ac1 (patch)
tree774a4bd84049ca61f7d03b5c34684390415256c7 /src/mesa/drivers/dri/i965/intel_tex_validate.c
parent466aa712b695010371228f6032bbed210ca206b2 (diff)
i965: Move the rest of intel_tex_layout.c into brw_tex_layout.c.
The texture alignment unit functions are called from brw_tex_layout.c, so it makes sense to put them there. Since the only caller of intel_get_texture_alignment_unit() is in brw_tex_layout.c, it could be made into a static function. However, this patch instead simply folds it into the caller, as it's only two lines anyway. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_tex_validate.c')
-rw-r--r--src/mesa/drivers/dri/i965/intel_tex_validate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex_validate.c b/src/mesa/drivers/dri/i965/intel_tex_validate.c
index a8a8647eb3c..049d2472da0 100644
--- a/src/mesa/drivers/dri/i965/intel_tex_validate.c
+++ b/src/mesa/drivers/dri/i965/intel_tex_validate.c
@@ -7,7 +7,6 @@
#include "intel_mipmap_tree.h"
#include "intel_blit.h"
#include "intel_tex.h"
-#include "intel_tex_layout.h"
#define FILE_DEBUG_FLAG DEBUG_TEXTURE