Skip to content
Snippets Groups Projects
Commit f85b7aa5 authored by Icecream95's avatar Icecream95 Committed by Marge Bot
Browse files

pan/mdg: Fix calculation of available work registers

Make the rmu variable signed; otherwise the MAX2 has no effect and
work_count can end up being larger than 16.

Fixes INSTR_OPERAND_FAULTs in SuperTuxKart.

Closes: #4707


Fixes: c6ed8bf7 ("panfrost: Fix uniform_count on Midgard")
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Part-of: <!10507>
parent 3f043835
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment