summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_tex.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-10-17 12:07:04 -0700
committerIan Romanick <idr@us.ibm.com>2007-10-17 16:25:39 -0700
commit42a4386a4c18932221c59607e6d22b864a2577fb (patch)
treec22b34c8fc93b9c600ff14e51fa9c7c9890a6242 /src/mesa/drivers/dri/r300/r300_tex.h
parentb961eccc92d853eb573597ffc73304b65aa800c4 (diff)
Initial support for ARB_depth_texture
Currently only GL_DEPTH_COMPONENT16 are supported. I don't know what the hardware bits are to select the other formats, but it shouldn't be too hard to figure out.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_tex.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_tex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_tex.h b/src/mesa/drivers/dri/r300/r300_tex.h
index f67a8e6ba6..b86d45bfe0 100644
--- a/src/mesa/drivers/dri/r300/r300_tex.h
+++ b/src/mesa/drivers/dri/r300/r300_tex.h
@@ -35,6 +35,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifndef __r300_TEX_H__
#define __r300_TEX_H__
+extern void r300SetDepthTexMode(struct gl_texture_object *tObj);
+
extern void r300SetTexOffset(__DRIcontext *pDRICtx, GLint texname,
unsigned long long offset, GLint depth,
GLuint pitch);