r300: move forward declarations to where they belong
authorMaciej Cencora <m.cencora@gmail.com>
Wed, 13 May 2009 21:09:39 +0000 (23:09 +0200)
committerAlex Deucher <alexdeucher@gmail.com>
Sat, 16 May 2009 15:42:02 +0000 (11:42 -0400)
src/mesa/drivers/dri/r300/r300_context.c
src/mesa/drivers/dri/r300/r300_render.h

index 5b22a11bca2f2c47dd55d7f6f510c46fb3db23c1..be8d480c1cb160cc257f6351b1d3c5d09871ccc4 100644 (file)
@@ -64,6 +64,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #include "r300_ioctl.h"
 #include "r300_tex.h"
 #include "r300_emit.h"
+#include "r300_render.h"
 #include "r300_swtcl.h"
 #include "radeon_bocs_wrapper.h"
 
@@ -150,10 +151,6 @@ const struct dri_extension gl_20_extension[] = {
   {"GL_VERSION_2_0",                   GL_VERSION_2_0_functions },
 };
 
-
-extern struct tnl_pipeline_stage _r300_render_stage;
-extern const struct tnl_pipeline_stage _r300_tcl_stage;
-
 static const struct tnl_pipeline_stage *r300_pipeline[] = {
 
        /* Try and go straight to t&l
index fbc9581e06a4e29f47df2f52fc7dbcf7848c9342..940d2566e2cccd422a79ea4f87082339e13cbca4 100644 (file)
 #define R300_FALLBACK_INVALID_BUFFERS   (1 << 31)
 #define R300_RASTER_FALLBACK_MASK        0xffff0000
 
+extern const struct tnl_pipeline_stage _r300_render_stage;
+
+extern const struct tnl_pipeline_stage _r300_tcl_stage;
+
 extern void r300SwitchFallback(GLcontext *ctx, uint32_t bit, GLboolean mode);
 
 #endif