st/mesa: Set gl_config.floatMode based on color_format

Sets the float color component type in st_visual_to_context_mode()
ensuring float color values are not clamped.
Fixes dEQP-EGL.functional.wide_color.window_fp16_default_colorspace on
asahi, iris and most likely every other driver having it marked as fail
or flake.

Closes: mesa/mesa#9276

Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23914>
This commit is contained in:
Janne Grunau
2023-06-28 21:09:50 +02:00
committed by Marge Bot
parent 649e12c897
commit fd4d0e1cc2
9 changed files with 1 additions and 11 deletions
-2
View File
@@ -5,5 +5,3 @@
# [...]
wayland-dEQP-EGL.functional.wide_color.pbuffer_888_colorspace_default,Fail
wayland-dEQP-EGL.functional.wide_color.window_888_colorspace_default,Fail
wayland-dEQP-EGL.functional.wide_color.window_fp16_default_colorspace,Fail
-1
View File
@@ -7,4 +7,3 @@ wayland-dEQP-EGL.functional.wide_color.pbuffer_888_colorspace_default,Fail
# after enabling wayland in x86_64 mesa build
wayland-dEQP-EGL.functional.wide_color.window_888_colorspace_default,Fail
wayland-dEQP-EGL.functional.wide_color.window_fp16_default_colorspace,Fail
-3
View File
@@ -21,6 +21,3 @@ dEQP-EGL.functional.sharing.gles2.multithread.simple.buffers.buffersubdata_rende
# 2022-05-05 18:40:38.338548: [ 830.144153] i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:87d79ffe, in deqp-gles31 [2571]
dEQP-GLES31.functional.primitive_bounding_box.clear.scissored_clear_with_triangles
dEQP-GLES31.functional.primitive_bounding_box.clear.scissored_clear_with_triangles_per_primitive_bbox
# Since Wayland was enabled on x86-64, this test flakes occasionally.
wayland-dEQP-EGL.functional.wide_color.window_fp16_default_colorspace