i965: Move contents of brw_tex.c into intel_tex_validate.c.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 19 Jun 2016 06:36:59 +0000 (23:36 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 24 Jun 2016 22:03:44 +0000 (15:03 -0700)
commit8ee23d6866b9325450d787e5d55a367423ae4316
treed6a53ac10a2ec6c61e8ee68c7e81b96645019a6b
parent28d0d0c5b4ba9e636b540fafa3b9b2157e848757
i965: Move contents of brw_tex.c into intel_tex_validate.c.

brw_tex.c is a tiny file containing a single function.  It's closely
tied to the validation logic in intel_tex_validate.c, so it makes sense
to put both in the same file.

While we're at it, update the function to our modern style.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_tex.c [deleted file]
src/mesa/drivers/dri/i965/intel_tex_validate.c