summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-02-08 09:51:14 -0800
committerBrian Paul <[email protected]>2014-02-14 08:21:44 -0700
commit6476bcbc5005b76e1494a201f92f3c76bd8e9727 (patch)
tree01b4a5952579ef7765bdaf8991c97d6da2e48612
parentf8bbd8261d297be11f1f2eaf768c2a8ace0cb69d (diff)
svga: remove a couple unneeded assertions
Reviewed-by: Thomas Hellstrom <[email protected]> Cc: "10.1" <[email protected]>
-rw-r--r--src/gallium/drivers/svga/svga_sampler_view.c1
-rw-r--r--src/gallium/drivers/svga/svga_screen_cache.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_sampler_view.c b/src/gallium/drivers/svga/svga_sampler_view.c
index 2c846b29a44..55dc49f2d2c 100644
--- a/src/gallium/drivers/svga/svga_sampler_view.c
+++ b/src/gallium/drivers/svga/svga_sampler_view.c
@@ -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,
diff --git a/src/gallium/drivers/svga/svga_screen_cache.c b/src/gallium/drivers/svga/svga_screen_cache.c
index 09f4fe871dd..71dc72e7b8a 100644
--- a/src/gallium/drivers/svga/svga_screen_cache.c
+++ b/src/gallium/drivers/svga/svga_screen_cache.c
@@ -210,7 +210,6 @@ svga_screen_cache_add(struct svga_screen *svgascreen,
assert(key->cachable);
- assert(handle);
if (!handle)
return;