projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0790bc4
)
si: Use Rn_UINT instead of In_UINT for index buffers
author
Alyssa Rosenzweig
<alyssa@collabora.com>
Tue, 25 May 2021 21:57:37 +0000
(17:57 -0400)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 1 Jun 2021 23:40:47 +0000
(23:40 +0000)
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>
src/gallium/drivers/radeonsi/si_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state.c
b/src/gallium/drivers/radeonsi/si_state.c
index
8cb5347
..
f54bac3
100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state.c
+++ b/
src/gallium/drivers/radeonsi/si_state.c
@@
-2233,9
+2233,9
@@
static bool si_is_format_supported(struct pipe_screen *screen, enum pipe_format
}
if (usage & PIPE_BIND_INDEX_BUFFER) {
- if (format == PIPE_FORMAT_
I
8_UINT ||
- format == PIPE_FORMAT_
I
16_UINT ||
- format == PIPE_FORMAT_
I
32_UINT)
+ if (format == PIPE_FORMAT_
R
8_UINT ||
+ format == PIPE_FORMAT_
R
16_UINT ||
+ format == PIPE_FORMAT_
R
32_UINT)
retval |= PIPE_BIND_INDEX_BUFFER;
}