Mesa (master): i965: support GL_EXT_color_buffer_half_float

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Mar 3 20:43:08 UTC 2021


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

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Mar  2 16:05:59 2021 -0500

i965: support GL_EXT_color_buffer_half_float

FP16 rendering is supported on all gen4 hardware.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9379>

---

 src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index 9dfe4045781..710e81f531a 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -96,6 +96,7 @@ brw_init_extensions(struct gl_context *ctx)
    ctx->Extensions.EXT_blend_equation_separate = true;
    ctx->Extensions.EXT_blend_func_separate = true;
    ctx->Extensions.EXT_blend_minmax = true;
+   ctx->Extensions.EXT_color_buffer_half_float = true;
    ctx->Extensions.EXT_draw_buffers2 = true;
    ctx->Extensions.EXT_EGL_image_storage = true;
    ctx->Extensions.EXT_float_blend = true;



More information about the mesa-commit mailing list