llvmpipe: enable A8_UNORM for shader images
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 2 Mar 2023 12:59:58 +0000 (07:59 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 10 Aug 2023 01:56:03 +0000 (01:56 +0000)
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24589>

src/gallium/drivers/llvmpipe/lp_screen.c

index 355271c..1f23206 100644 (file)
@@ -728,6 +728,7 @@ lp_storage_image_format_supported(enum pipe_format format)
    case PIPE_FORMAT_R16_SNORM:
    case PIPE_FORMAT_R8_SNORM:
    case PIPE_FORMAT_B8G8R8A8_UNORM:
+   case PIPE_FORMAT_A8_UNORM:
       return true;
    default:
       return false;