summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_translate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_translate.h')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_translate.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_translate.h b/src/gallium/drivers/etnaviv/etnaviv_translate.h
index 88ce107a927..eea359fc9c5 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_translate.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_translate.h
@@ -281,19 +281,19 @@ translate_msaa_format(enum pipe_format fmt)
/* Note: Pipe format convention is LSB to MSB, VIVS is MSB to LSB */
switch (fmt) {
case PIPE_FORMAT_B4G4R4X4_UNORM:
- return COLOR_COMPRESSION_FORMAT_A4R4G4B4;
+ return COMPRESSION_FORMAT_A4R4G4B4;
case PIPE_FORMAT_B4G4R4A4_UNORM:
- return COLOR_COMPRESSION_FORMAT_A4R4G4B4;
+ return COMPRESSION_FORMAT_A4R4G4B4;
case PIPE_FORMAT_B5G5R5X1_UNORM:
- return COLOR_COMPRESSION_FORMAT_A1R5G5B5;
+ return COMPRESSION_FORMAT_A1R5G5B5;
case PIPE_FORMAT_B5G5R5A1_UNORM:
- return COLOR_COMPRESSION_FORMAT_A1R5G5B5;
+ return COMPRESSION_FORMAT_A1R5G5B5;
case PIPE_FORMAT_B5G6R5_UNORM:
- return COLOR_COMPRESSION_FORMAT_R5G6B5;
+ return COMPRESSION_FORMAT_R5G6B5;
case PIPE_FORMAT_B8G8R8X8_UNORM:
- return COLOR_COMPRESSION_FORMAT_X8R8G8B8;
+ return COMPRESSION_FORMAT_X8R8G8B8;
case PIPE_FORMAT_B8G8R8A8_UNORM:
- return COLOR_COMPRESSION_FORMAT_A8R8G8B8;
+ return COMPRESSION_FORMAT_A8R8G8B8;
/* MSAA with YUYV not supported */
default:
return ETNA_NO_MATCH;