mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
panfrost: Shrink pan_draw_mode return type
Let gcc emit ldrb instead of ldr for the table. Found by perf, but total waste of time >_> Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11074>
This commit is contained in:
parent
3a443daed0
commit
344db85bd5
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ panfrost_set_frontend_noop(struct pipe_context *pipe, bool enable)
|
|||
|
||||
#define DEFINE_CASE(c) case PIPE_PRIM_##c: return MALI_DRAW_MODE_##c;
|
||||
|
||||
static int
|
||||
static uint8_t
|
||||
pan_draw_mode(enum pipe_prim_type mode)
|
||||
{
|
||||
switch (mode) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue