summaryrefslogtreecommitdiffstats
path: root/src/freedreno
diff options
context:
space:
mode:
Diffstat (limited to 'src/freedreno')
-rw-r--r--src/freedreno/registers/a6xx.xml2
-rw-r--r--src/freedreno/vulkan/tu_formats.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/freedreno/registers/a6xx.xml b/src/freedreno/registers/a6xx.xml
index 1909276ba62..ff723941f31 100644
--- a/src/freedreno/registers/a6xx.xml
+++ b/src/freedreno/registers/a6xx.xml
@@ -26,7 +26,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
<value value="0x18" name="RB6_R16_UINT"/>
<value value="0x19" name="RB6_R16_SINT"/>
<value value="0x30" name="RB6_R8G8B8A8_UNORM"/>
- <value value="0x31" name="RB6_R8G8B8_UNORM"/>
+ <value value="0x31" name="RB6_R8G8B8X8_UNORM"/> <!-- 32 bpp format, samples 1 for alpha -->
<value value="0x32" name="RB6_R8G8B8A8_SNORM"/>
<value value="0x33" name="RB6_R8G8B8A8_UINT"/>
<value value="0x34" name="RB6_R8G8B8A8_SINT"/>
diff --git a/src/freedreno/vulkan/tu_formats.c b/src/freedreno/vulkan/tu_formats.c
index 4f8833cf586..c9cc4a89526 100644
--- a/src/freedreno/vulkan/tu_formats.c
+++ b/src/freedreno/vulkan/tu_formats.c
@@ -345,7 +345,7 @@ tu6_rb_fmt_to_ifmt(enum a6xx_color_fmt fmt)
case RB6_R8G8_UNORM:
case RB6_R8G8_SNORM:
case RB6_R8G8B8A8_UNORM:
- case RB6_R8G8B8_UNORM:
+ case RB6_R8G8B8X8_UNORM:
case RB6_R8G8B8A8_SNORM:
case RB6_R4G4B4A4_UNORM:
case RB6_R5G5B5A1_UNORM: