aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-05-26 18:03:26 -0400
committerMarge Bot <[email protected]>2020-05-26 22:58:21 +0000
commit4bc7d521b13ab64bdc6d2a75ac79a0964955125d (patch)
tree776a09b4f2871af8ee48bf0a6a1bf0445546a92d /src
parenta62123572099cfa173804146771e76dae3637eab (diff)
pan/decode: Fix unused variable warning
Check unused for now. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5219>
Diffstat (limited to 'src')
-rw-r--r--src/panfrost/pandecode/decode.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c
index dc826687174..24ec19ee324 100644
--- a/src/panfrost/pandecode/decode.c
+++ b/src/panfrost/pandecode/decode.c
@@ -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 */