Commit f4d5fdfd authored by Jason Ekstrand's avatar Jason Ekstrand
Browse files

anv: Use R8G8B8A8 with a swizzle for B8G8R8A8

parent acaf07c2
Pipeline #313566 waiting for manual action with stages
in 1 minute
......@@ -325,7 +325,7 @@ static const struct anv_format main_formats[] = {
fmt_unsupported(VK_FORMAT_B8G8R8_UINT),
fmt_unsupported(VK_FORMAT_B8G8R8_SINT),
fmt_unsupported(VK_FORMAT_B8G8R8_SRGB),
fmt1(VK_FORMAT_B8G8R8A8_UNORM, ISL_FORMAT_B8G8R8A8_UNORM),
swiz_fmt1(VK_FORMAT_B8G8R8A8_UNORM, ISL_FORMAT_R8G8B8A8_UNORM, BGRA),
fmt_unsupported(VK_FORMAT_B8G8R8A8_SNORM),
fmt_unsupported(VK_FORMAT_B8G8R8A8_USCALED),
fmt_unsupported(VK_FORMAT_B8G8R8A8_SSCALED),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment