diff options
author | Topi Pohjolainen <topi.pohjolainen@intel.com> | 2018-04-11 23:37:04 +0300 |
---|---|---|
committer | Topi Pohjolainen <topi.pohjolainen@intel.com> | 2018-04-12 17:45:17 -0400 |
commit | 4a397f48219e3622536e6e59c7c73cd17b4dc61a (patch) | |
tree | c6fd13b07d01852834938b44d80255f4ae3db79e | |
parent | fa328456e8f29bd4522deee5d6a8fa4a5ba74f05 (diff) |
enable 4.5
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 73a6c73f53..49be2e7316 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -218,7 +218,8 @@ 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 = devinfo->has_64bit_types; + ctx->Extensions.ARB_gpu_shader_fp64 = + devinfo->has_64bit_types || devinfo->gen == 11; ctx->Extensions.ARB_shader_atomic_counters = true; ctx->Extensions.ARB_shader_atomic_counter_ops = true; ctx->Extensions.ARB_shader_clock = true; @@ -230,7 +231,8 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_texture_compression_bptc = true; ctx->Extensions.ARB_texture_view = true; ctx->Extensions.ARB_shader_storage_buffer_object = true; - ctx->Extensions.ARB_vertex_attrib_64bit = devinfo->has_64bit_types; + ctx->Extensions.ARB_vertex_attrib_64bit = + devinfo->has_64bit_types || devinfo->gen == 11; ctx->Extensions.EXT_shader_samples_identical = true; ctx->Extensions.OES_primitive_bounding_box = true; ctx->Extensions.OES_texture_buffer = true; @@ -280,9 +282,11 @@ intelInitExtensions(struct gl_context *ctx) } if (devinfo->gen >= 8) { - ctx->Extensions.ARB_gpu_shader_int64 = devinfo->has_64bit_types; + ctx->Extensions.ARB_gpu_shader_int64 = + devinfo->has_64bit_types || devinfo->gen == 11; /* requires ARB_gpu_shader_int64 */ - ctx->Extensions.ARB_shader_ballot = devinfo->has_64bit_types; + ctx->Extensions.ARB_shader_ballot = + devinfo->has_64bit_types || devinfo->gen == 11; ctx->Extensions.ARB_ES3_2_compatibility = true; } |