r300g: fix scons build yet again
authorJoakim Sindholt <opensource@zhasha.com>
Sat, 24 Oct 2009 00:38:28 +0000 (02:38 +0200)
committerJoakim Sindholt <opensource@zhasha.com>
Sat, 24 Oct 2009 00:43:21 +0000 (02:43 +0200)
src/gallium/drivers/r300/SConscript
src/gallium/drivers/r300/r300_render.c

index b4c8ba2015a31dd7674799294fb778f01dfae244..97989040d2e06ee5d2be36bfedf360ea4315bb1d 100644 (file)
@@ -9,8 +9,6 @@ env.Append(CPPPATH = ['#/src/mesa/drivers/dri/r300/compiler', '#/include', '#/sr
 r300 = env.ConvenienceLibrary(
     target = 'r300',
     source = [
-        'r3xx_fs.c',
-        'r5xx_fs.c',
         'r300_chipset.c',
         'r300_clear.c',
         'r300_context.c',
@@ -25,7 +23,6 @@ r300 = env.ConvenienceLibrary(
         'r300_state_derived.c',
         'r300_state_invariant.c',
         'r300_vs.c',
-        'r300_surface.c',
         'r300_texture.c',
         'r300_tgsi_to_rc.c',
     ] + r300compiler) + r300compiler
index 6e2bcc62dac3960ad4f69af954a3112419e0dc00..6f392402bd00c5c47742380c91f08ebf619860bb 100644 (file)
@@ -76,7 +76,6 @@ boolean r300_draw_range_elements(struct pipe_context* pipe,
                                  unsigned count)
 {
     struct r300_context* r300 = r300_context(pipe);
-    CS_LOCALS(r300);
     uint32_t prim = r300_translate_primitive(mode);
     struct pipe_vertex_buffer* aos = r300->vertex_buffers;
     unsigned aos_count = r300->vertex_buffer_count;
@@ -84,6 +83,8 @@ boolean r300_draw_range_elements(struct pipe_context* pipe,
     unsigned packet_size;
     unsigned i;
     bool invalid = FALSE;
+    
+    CS_LOCALS(r300);
 
 validate:
     for (i = 0; i < aos_count; i++) {