svga: remove a couple unneeded assertions

Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Cc: "10.1" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
Brian Paul 2014-02-08 09:51:14 -08:00
parent f8bbd8261d
commit 6476bcbc50
2 changed files with 0 additions and 2 deletions

View 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,

View file

@ -210,7 +210,6 @@ svga_screen_cache_add(struct svga_screen *svgascreen,
assert(key->cachable);
assert(handle);
if (!handle)
return;