mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
panfrost: Remove bogus assert
Nothing enforces this except perhaps the implicit structure of shader keys. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19363>
This commit is contained in:
parent
4860b0f59e
commit
ecbeb6a335
1 changed files with 0 additions and 4 deletions
|
|
@ -500,10 +500,6 @@ panfrost_new_variant_locked(
|
|||
if (variants->variant_space == 0)
|
||||
variants->variant_space = 1;
|
||||
|
||||
/* Arbitrary limit to stop runaway programs from
|
||||
* creating an unbounded number of shader variants. */
|
||||
assert(variants->variant_space < 1024);
|
||||
|
||||
unsigned msize = sizeof(struct panfrost_shader_state);
|
||||
variants->variants = realloc(variants->variants,
|
||||
variants->variant_space * msize);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue