[Mesa-dev] [PATCH v2 102/103] i965/vec4: enable ARB_gpu_shader_fp64 for Haswell

Iago Toral Quiroga itoral at igalia.com
Tue Oct 11 09:02:46 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 eef81e2..0491145 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -359,6 +359,9 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Extensions.OES_primitive_bounding_box = 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