mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
asahi: Allow half-float vertex buffers
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11086>
This commit is contained in:
parent
bf42d17a16
commit
6bbf72cec0
1 changed files with 4 additions and 0 deletions
|
|
@ -945,6 +945,10 @@ agx_is_format_supported(struct pipe_screen* pscreen,
|
|||
/* TODO: formats */
|
||||
if (usage & PIPE_BIND_VERTEX_BUFFER) {
|
||||
switch (format) {
|
||||
case PIPE_FORMAT_R16_FLOAT:
|
||||
case PIPE_FORMAT_R16G16_FLOAT:
|
||||
case PIPE_FORMAT_R16G16B16_FLOAT:
|
||||
case PIPE_FORMAT_R16G16B16A16_FLOAT:
|
||||
case PIPE_FORMAT_R32_FLOAT:
|
||||
case PIPE_FORMAT_R32G32_FLOAT:
|
||||
case PIPE_FORMAT_R32G32B32_FLOAT:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue