mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
r600g: add 10/10/10/2 vertex format conversion.
This commit is contained in:
parent
797bb0eb47
commit
f9b7d3bd4a
1 changed files with 6 additions and 0 deletions
|
|
@ -2077,6 +2077,12 @@ static void r600_vertex_data_type(enum pipe_format pformat, unsigned *format,
|
|||
break;
|
||||
}
|
||||
break;
|
||||
case 10:
|
||||
if (desc->nr_channels != 4)
|
||||
goto out_unknown;
|
||||
|
||||
*format = FMT_2_10_10_10;
|
||||
break;
|
||||
case 16:
|
||||
switch (desc->nr_channels) {
|
||||
case 1:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue