Module: Mesa
Branch: master
Commit: 30bf04e2f128c2f50a262de1857acb64cd88d0a3
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=30bf04e2f128c2f50a262de1857acb64cd88d0a3

Author: Adam Jackson <[email protected]>
Date:   Wed Dec 16 17:54:31 2020 -0500

zink: Enable GL_EXT_texture_sRGB_RG8

Reviewed-by: Erik Faye-Lund <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8060>

---

 src/gallium/drivers/zink/zink_format.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/zink/zink_format.c 
b/src/gallium/drivers/zink/zink_format.c
index 093562fab28..c901c5cd1f0 100644
--- a/src/gallium/drivers/zink/zink_format.c
+++ b/src/gallium/drivers/zink/zink_format.c
@@ -41,6 +41,7 @@ static const VkFormat formats[PIPE_FORMAT_COUNT] = {
    MAP_FORMAT_NORM(R8G8)
    MAP_FORMAT_SCALED(R8G8)
    MAP_FORMAT_INT(R8G8)
+   MAP_FORMAT_SRGB(R8G8)
    // 16-bits
    MAP_FORMAT_NORM(R16G16)
    MAP_FORMAT_SCALED(R16G16)

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to