[Mesa-dev] [PATCH 94/95] i965/vec4: enable ARB_gpu_shader_fp64 for Haswell

Iago Toral Quiroga itoral at igalia.com
Tue Jul 19 10:41:31 UTC 2016


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

diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index c557137..6ba44b8 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -347,6 +347,9 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Extensions.EXT_shader_samples_identical = true;
       ctx->Extensions.OES_texture_buffer = true;
 
+      if (brw->is_haswell)
+         ctx->Extensions.ARB_gpu_shader_fp64 = true;
+
       if (brw->can_do_pipelined_register_writes) {
          ctx->Extensions.ARB_draw_indirect = true;
          ctx->Extensions.ARB_transform_feedback2 = true;
-- 
2.7.4



More information about the mesa-dev mailing list