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:
97c1731
)
radv: enable R8G8B8, B8G8R8 and R16G16B16 vertex formats
author
Rhys Perry
<pendingchaos02@gmail.com>
Tue, 2 Aug 2022 13:40:46 +0000
(14:40 +0100)
committer
Marge Bot
<emma+marge@anholt.net>
Tue, 30 Aug 2022 19:02:11 +0000
(19:02 +0000)
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6956
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17894>
src/amd/vulkan/radv_formats.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_formats.c
b/src/amd/vulkan/radv_formats.c
index
c6f4731
..
7a45b9c
100644
(file)
--- a/
src/amd/vulkan/radv_formats.c
+++ b/
src/amd/vulkan/radv_formats.c
@@
-171,7
+171,6
@@
radv_is_vertex_buffer_format_supported(VkFormat format)
switch (desc->channel[first_non_void].size) {
case 8:
case 16:
- return desc->nr_channels != 3;
case 32:
return true;
default: