pan/decode: Fix unused variable warning

Check unused for now.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5219>
This commit is contained in:
Alyssa Rosenzweig 2020-05-26 18:03:26 -04:00 committed by Marge Bot
parent a621235720
commit 4bc7d521b1
1 changed files with 0 additions and 6 deletions

View File

@ -533,12 +533,6 @@ pandecode_midgard_tiler_descriptor(
/* It needs to fit inside the reported size */
//assert(t->polygon_list_size >= body_offset);
/* Check that we fit */
struct pandecode_mapped_memory *plist =
pandecode_find_mapped_gpu_mem_containing(t->polygon_list);
//assert(t->polygon_list_size <= plist->length);
/* Now that we've sanity checked, we'll try to calculate the sizes
* ourselves for comparison */