radeon,r200: remove unused variable texmicrotile
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 9 Jul 2015 16:29:57 +0000 (17:29 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Jul 2015 15:35:26 +0000 (16:35 +0100)
Dead since at least 2009 with commit ccf7814a315(radeon: major cleanups
removing old dead codepaths.)

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/drivers/dri/r200/r200_context.c
src/mesa/drivers/dri/r200/r200_context.h
src/mesa/drivers/dri/radeon/radeon_context.c
src/mesa/drivers/dri/radeon/radeon_context.h

index fb15082..40cc50a 100644 (file)
@@ -234,9 +234,6 @@ GLboolean r200CreateContext( gl_api api,
         rmesa->using_hyperz = GL_TRUE;
    }
  
-   if ( sPriv->drm_version.minor >= 15 )
-      rmesa->texmicrotile = GL_TRUE;
-
    /* Init default driver functions then plug in our R200-specific functions
     * (the texture functions are especially important)
     */
index e8784ae..c02a4f3 100644 (file)
@@ -614,7 +614,6 @@ struct r200_context {
    struct r200_swtcl_info swtcl;
 
    GLboolean using_hyperz;
-   GLboolean texmicrotile;
 
   struct ati_fragment_shader *afs_loaded;
 };
index d4d1935..edb154c 100644 (file)
@@ -199,9 +199,6 @@ r100CreateContext( gl_api api,
         rmesa->using_hyperz = GL_TRUE;
    }
 
-   if ( sPriv->drm_version.minor >= 15 )
-      rmesa->texmicrotile = GL_TRUE;
-
    /* Init default driver functions then plug in our Radeon-specific functions
     * (the texture functions are especially important)
     */
index 4032532..badabd9 100644 (file)
@@ -426,7 +426,6 @@ struct r100_context {
        struct r100_swtcl_info swtcl;
 
        GLboolean using_hyperz;
-       GLboolean texmicrotile;
 
        /* Performance counters
         */