Mesa (main): lima: Use Rn_UINT instead of In_UINT for index buffers
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jun 2 00:00:29 UTC 2021
Module: Mesa
Branch: main
Commit: 0790bc41ed68069f0a97fa5920d9081af8183951
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0790bc41ed68069f0a97fa5920d9081af8183951
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Tue May 25 17:57:31 2021 -0400
lima: Use Rn_UINT instead of In_UINT for index buffers
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Reviewed-by: Emma Anholt <emma at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10990>
---
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 59d41755dc9..4795058509c 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;
More information about the mesa-commit
mailing list