From 0790bc41ed68069f0a97fa5920d9081af8183951 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 25 May 2021 17:57:31 -0400 Subject: [PATCH] lima: Use Rn_UINT instead of In_UINT for index buffers Signed-off-by: Alyssa Rosenzweig Reviewed-by: Emma Anholt Part-of: --- src/gallium/drivers/lima/lima_screen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/lima/lima_screen.c b/src/gallium/drivers/lima/lima_screen.c index 59d4175..4795058 100644 --- a/src/gallium/drivers/lima/lima_screen.c +++ b/src/gallium/drivers/lima/lima_screen.c @@ -412,9 +412,9 @@ lima_screen_is_format_supported(struct pipe_screen *pscreen, if (usage & PIPE_BIND_INDEX_BUFFER) { switch (format) { - case PIPE_FORMAT_I8_UINT: - case PIPE_FORMAT_I16_UINT: - case PIPE_FORMAT_I32_UINT: + case PIPE_FORMAT_R8_UINT: + case PIPE_FORMAT_R16_UINT: + case PIPE_FORMAT_R32_UINT: break; default: return false; -- 2.7.4