svga: use shader sampler view declarations
[mesa.git] / src / gallium / drivers / svga / svga_pipe_depthstencil.c
index 5ea623be4d90fa005a591450042bdc571e33d4de..d84ed1df48e78fe1d25b12d1992c0639b31f0037 100644 (file)
@@ -202,6 +202,8 @@ svga_create_depth_stencil_state(struct pipe_context *pipe,
       define_depth_stencil_state_object(svga, ds);
    }
 
+   svga->hud.num_state_objects++;
+
    return ds;
 }
 
@@ -248,6 +250,7 @@ static void svga_delete_depth_stencil_state(struct pipe_context *pipe,
    }
 
    FREE(depth_stencil);
+   svga->hud.num_state_objects--;
 }