gallium: document is_format_supported()'s type param
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 21 Mar 2008 16:50:26 +0000 (10:50 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 21 Mar 2008 17:06:52 +0000 (11:06 -0600)
src/gallium/include/pipe/p_screen.h

index 6be9a82b68dd6559a2d14a1cec549f2c3f673463..35bd46d691aeca41d19e15d07db8f4df3c533a58 100644 (file)
@@ -69,6 +69,7 @@ struct pipe_screen {
 
    float (*get_paramf)( struct pipe_screen *, int param );
 
+   /**< type is one of PIPE_TEXTURE, PIPE_SURFACE */
    boolean (*is_format_supported)( struct pipe_screen *,
                                    enum pipe_format format, 
                                    uint type );