d3d12: Allow 8bit index buffer conversions by vbuf
Reviewed-by: Sil Vilerino <sivileri@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14933>
This commit is contained in:
parent
52766e020f
commit
60775780ae
|
@ -622,8 +622,7 @@ d3d12_is_format_supported(struct pipe_screen *pscreen,
|
|||
return false;
|
||||
|
||||
if (bind & PIPE_BIND_INDEX_BUFFER) {
|
||||
if (format != PIPE_FORMAT_R8_UINT &&
|
||||
format != PIPE_FORMAT_R16_UINT &&
|
||||
if (format != PIPE_FORMAT_R16_UINT &&
|
||||
format != PIPE_FORMAT_R32_UINT)
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue