v3d: Use Rn_UINT instead of In_UINT for index buffers
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10990>
This commit is contained in:
committed by
Marge Bot
parent
a0b74bad62
commit
1560f24da5
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user