mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
vc4: 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> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10990>
This commit is contained in:
parent
24b03aeecc
commit
a0b74bad62
1 changed files with 2 additions and 2 deletions
|
|
@ -406,8 +406,8 @@ vc4_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_R8_UINT &&
|
||||
format != PIPE_FORMAT_R16_UINT) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue