#ifndef __r600_TEX_H__
#define __r600_TEX_H__
+/* TODO : review this after texture load code. */
+#define R700_BLIT_WIDTH_BYTES 1024
+/* The BASE_ADDRESS and MIP_ADDRESS fields are 256-byte-aligned */
+#define R700_TEXTURE_ALIGNMENT_MASK 0x255
+/* Texel pitch is 8 alignment. */
+#define R700_TEXEL_PITCH_ALIGNMENT_MASK 0x7
+
+#define R700_MAX_TEXTURE_UNITS 8 /* TODO : should be 16, lets make it work, review later */
+
extern void r600SetDepthTexMode(struct gl_texture_object *tObj);
extern void r600SetTexBuffer(__DRIcontext *pDRICtx, GLint target,