Mesa (main): v3d: 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: 1560f24da51b5c382c5f7d5366222e152146b174
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1560f24da51b5c382c5f7d5366222e152146b174
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Tue May 25 17:57:41 2021 -0400
v3d: 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>
Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10990>
---
src/gallium/drivers/v3d/v3d_screen.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/gallium/drivers/v3d/v3d_screen.c b/src/gallium/drivers/v3d/v3d_screen.c
index a2ce32ada91..5b7d8d3c3ee 100644
--- a/src/gallium/drivers/v3d/v3d_screen.c
+++ b/src/gallium/drivers/v3d/v3d_screen.c
@@ -629,9 +629,9 @@ v3d_screen_is_format_supported(struct pipe_screen *pscreen,
}
if ((usage & PIPE_BIND_INDEX_BUFFER) &&
- !(format == PIPE_FORMAT_I8_UINT ||
- format == PIPE_FORMAT_I16_UINT ||
- format == PIPE_FORMAT_I32_UINT)) {
+ !(format == PIPE_FORMAT_R8_UINT ||
+ format == PIPE_FORMAT_R16_UINT ||
+ format == PIPE_FORMAT_R32_UINT)) {
return false;
}
More information about the mesa-commit
mailing list