diff options
author | Ian Romanick <idr@us.ibm.com> | 2007-06-07 13:38:06 -0700 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2007-06-07 13:38:06 -0700 |
commit | 84d1b24647c0719551e8bcd5fa4601fbd3b1d555 (patch) | |
tree | ecb5388e9ca2d9f60604136e824992d3796324b7 /src/mesa/main/texstate.h | |
parent | 359c6eada7172d61ed52091dcc8f406ad0598b8a (diff) |
Fix ARB_fp spec conformance bug WRT shadow sampling.
The ARB_fp (and other assembly-level fragment program specs) say that the
depth comparison function is always GL_NONE in fragment program mode.
Diffstat (limited to 'src/mesa/main/texstate.h')
-rw-r--r-- | src/mesa/main/texstate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/texstate.h b/src/mesa/main/texstate.h index ca29c6a23ff..df468ecf9bd 100644 --- a/src/mesa/main/texstate.h +++ b/src/mesa/main/texstate.h @@ -41,6 +41,10 @@ _mesa_copy_texture_state( const GLcontext *src, GLcontext *dst ); extern void _mesa_print_texunit_state( GLcontext *ctx, GLuint unit ); +extern void +_mesa_update_texture_compare_function(struct gl_texture_object *tObj, + GLboolean in_frag_prog); + /** * \name Called from API |