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

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

zink: Enable GL_EXT_texture_sRGB_R8

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 e5a85c9e59d..093562fab28 100644
--- a/src/gallium/drivers/zink/zink_format.c
+++ b/src/gallium/drivers/zink/zink_format.c
@@ -25,6 +25,7 @@ static const VkFormat formats[PIPE_FORMAT_COUNT] = {
    MAP_FORMAT_NORM(R8)
    MAP_FORMAT_SCALED(R8)
    MAP_FORMAT_INT(R8)
+   MAP_FORMAT_SRGB(R8)
    // 16-bits
    MAP_FORMAT_NORM(R16)
    MAP_FORMAT_SCALED(R16)

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

Reply via email to