svga: remove a couple unneeded assertions
authorBrian Paul <brianp@vmware.com>
Sat, 8 Feb 2014 17:51:14 +0000 (09:51 -0800)
committerBrian Paul <brianp@vmware.com>
Fri, 14 Feb 2014 15:21:44 +0000 (08:21 -0700)
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Cc: "10.1" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/svga/svga_sampler_view.c
src/gallium/drivers/svga/svga_screen_cache.c

index 2c846b29a44a745393b47c0d2f0da6bd57676e13..55dc49f2d2c7e6b98ec29d8acd4e95017042f580 100644 (file)
@@ -150,7 +150,6 @@ svga_get_tex_sampler_view(struct pipe_context *pipe,
                                           &sv->key);
 
    if (!sv->handle) {
-      assert(0);
       sv->key.cachable = 0;
       sv->handle = tex->handle;
       debug_reference(&sv->reference,
index 09f4fe871ddd63e90f83bba948fbfa2ad95af10c..71dc72e7b8a94c655085d017b4ca70ad8beafad7 100644 (file)
@@ -210,7 +210,6 @@ svga_screen_cache_add(struct svga_screen *svgascreen,
    
    assert(key->cachable);
 
-   assert(handle);
    if (!handle)
       return;