Module: Mesa
Branch: main
Commit: 884da2622c7503865a2bcbd5436463811b70e8de
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=884da2622c7503865a2bcbd5436463811b70e8de

Author: Dave Airlie <[email protected]>
Date:   Wed Dec  6 17:27:15 2023 +1000

nvk/nil: allow storage on VK_FORMAT_A2B10G10R10_UINT_PACK32

Fixes:
KHR-GL45.shader_image_load_store.basic-allFormats*
with zink

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26536>

---

 src/nouveau/nil/nil_format.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nouveau/nil/nil_format.c b/src/nouveau/nil/nil_format.c
index d85b721b8e7..b23c0f17027 100644
--- a/src/nouveau/nil/nil_format.c
+++ b/src/nouveau/nil/nil_format.c
@@ -155,7 +155,7 @@ static const struct nil_format_info 
nil_format_infos[PIPE_FORMAT_COUNT] =
    F3(A, B10G10R10X2_UNORM,   A2R10G10B10,      B, G, R, x, UNORM,   
A2B10G10R10, T),
    C4(A, R10G10B10A2_SNORM,   NONE,             R, G, B, A, SNORM,   
A2B10G10R10, T),
    C4(A, B10G10R10A2_SNORM,   NONE,             B, G, R, A, SNORM,   
A2B10G10R10, T),
-   C4(A, R10G10B10A2_UINT,    AU2BU10GU10RU10,  R, G, B, A, UINT,    
A2B10G10R10, BR),
+   C4(A, R10G10B10A2_UINT,    AU2BU10GU10RU10,  R, G, B, A, UINT,    
A2B10G10R10, IR),
    C4(A, B10G10R10A2_UINT,    NONE,             B, G, R, A, UINT,    
A2B10G10R10, B),
 
    F3(A, R11G11B10_FLOAT, BF10GF11RF11, R, G, B, x, FLOAT, BF10GF11RF11, IA),

Reply via email to