summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/r600/r600_asm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index 27febdf9d03..523c5313df2 100644
--- a/src/gallium/drivers/r600/r600_asm.c
+++ b/src/gallium/drivers/r600/r600_asm.c
@@ -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: