nv30: remove unused render_mode and hw_pointsprite_control
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 21 Feb 2014 06:52:30 +0000 (01:52 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 27 Feb 2014 04:35:46 +0000 (23:35 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv30/nv30_context.c
src/gallium/drivers/nouveau/nv30/nv30_context.h

index 4f68eee5f52c44c61ec6958bd16c25cdf9cd2f9b..4a4538c2a61498120c28a822e79e87b86ebf1032 100644 (file)
@@ -235,7 +235,6 @@ nv30_context_create(struct pipe_screen *pscreen, void *priv)
 
    /*XXX: nvfx... */
    nv30->is_nv4x = (screen->eng3d->oclass >= NV40_3D_CLASS) ? ~0 : 0;
-   nv30->render_mode = HW;
 
    nv30->sample_mask = 0xffff;
    nv30_vbo_init(pipe);
index d0cb5f55db7061cd7591b08a3422da362b4b933d..864d97a73673a8825455707a3c58942640e6a1c5 100644 (file)
@@ -119,16 +119,12 @@ struct nv30_context {
    struct nouveau_heap  *blit_vp;
    struct pipe_resource *blit_fp;
 
-   /*XXX: nvfx state, DO NOT USE EVER OUTSIDE "STOLEN" NVFX code */
-   unsigned is_nv4x;
-   bool hw_pointsprite_control;
-   enum {
-      HW,
-   } render_mode;
-
    struct pipe_query *render_cond_query;
    unsigned render_cond_mode;
    boolean render_cond_cond;
+
+   /*XXX: nvfx state, DO NOT USE EVER OUTSIDE "STOLEN" NVFX code */
+   unsigned is_nv4x;
 };
 
 static INLINE struct nv30_context *