Module: Mesa Branch: master Commit: 3e6f2e7aba13ad3fcc652df6fb3f3b4919f803d5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e6f2e7aba13ad3fcc652df6fb3f3b4919f803d5
Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Tue Aug 13 13:08:52 2019 -0700 panfrost: Remove panfrost_add_dependency asserts It doesn't... make a ton of sense to need to assert and this routine is hotter than you might expect. Doesn't matter for release builds, of course. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> --- src/gallium/drivers/panfrost/pan_scoreboard.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_scoreboard.c b/src/gallium/drivers/panfrost/pan_scoreboard.c index bae9dfb3c25..692f5425444 100644 --- a/src/gallium/drivers/panfrost/pan_scoreboard.c +++ b/src/gallium/drivers/panfrost/pan_scoreboard.c @@ -143,10 +143,6 @@ panfrost_add_dependency( struct mali_job_descriptor_header *second = job_descriptor_header(depender); - /* Ensure we're ready for dependencies */ - assert(second->job_index); - assert(first->job_index); - /* Look for an open slot */ if (!second->job_dependency_index_1) _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit