mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
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:
parent
f8bbd8261d
commit
6476bcbc50
2 changed files with 0 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -210,7 +210,6 @@ svga_screen_cache_add(struct svga_screen *svgascreen,
|
|||
|
||||
assert(key->cachable);
|
||||
|
||||
assert(handle);
|
||||
if (!handle)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue