[Mesa-dev] [PATCH 20/22] i965: enable ARB_gpu_shader_fp64 for Ivybridge/Valleyview
Samuel Iglesias Gonsálvez
siglesias at igalia.com
Thu Jan 5 13:07:40 UTC 2017
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
---
src/mesa/drivers/dri/i965/intel_extensions.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index 22651de..f402f7f 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -204,6 +204,7 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.ARB_derivative_control = true;
ctx->Extensions.ARB_framebuffer_no_attachments = true;
ctx->Extensions.ARB_gpu_shader5 = true;
+ ctx->Extensions.ARB_gpu_shader_fp64 = true;
ctx->Extensions.ARB_shader_atomic_counters = true;
ctx->Extensions.ARB_shader_atomic_counter_ops = true;
ctx->Extensions.ARB_shader_clock = true;
@@ -218,9 +219,6 @@ 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 (can_do_pipelined_register_writes(brw->screen)) {
ctx->Extensions.ARB_draw_indirect = true;
ctx->Extensions.ARB_transform_feedback2 = true;
@@ -261,7 +259,6 @@ intelInitExtensions(struct gl_context *ctx)
}
if (brw->gen >= 8) {
- ctx->Extensions.ARB_gpu_shader_fp64 = true;
ctx->Extensions.ARB_shader_precision = true;
ctx->Extensions.ARB_vertex_attrib_64bit = true;
ctx->Extensions.ARB_ES3_2_compatibility = true;
--
2.9.3
More information about the mesa-dev
mailing list