glthread: use a constant expression instead of cmd_size in custom functions
authorMarek Olšák <marek.olsak@amd.com>
Sat, 13 Aug 2022 05:49:35 +0000 (01:49 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Oct 2022 04:23:05 +0000 (04:23 +0000)
commit83ce647c1594bedfd1e8e07a0bb30a577db68616
tree395261aee024f3e20439b6e97b220511853964da
parentb09a88fb721559d64c054229f96f960f62d0753c
glthread: use a constant expression instead of cmd_size in custom functions

cmd_size is constant in these cases

Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18199>
src/mesa/main/glthread_draw.c
src/mesa/main/glthread_list.c