diff options
author | Matt Turner <[email protected]> | 2018-10-18 09:51:51 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2019-01-09 16:42:41 -0800 |
commit | 406f603b347f554f9f796d22cb74dde48d6551d3 (patch) | |
tree | d56769fc815ee7493a09eb3501cd478b64143fcc /src/mesa/drivers | |
parent | 613ac3aaa295ad2a6271ee8315e16ee31456fa9d (diff) |
i965: Enable 64-bit GLSL extensions
Now that we have software implementations of ARB_gpu_shader_int64 and
ARB_gpu_shader_fp64 we can unconditionally enable these extensions.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index c1e92e586e3..9fde10c4535 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -229,7 +229,7 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_framebuffer_no_attachments = true; if (ctx->API != API_OPENGL_COMPAT) { ctx->Extensions.ARB_gpu_shader5 = true; - ctx->Extensions.ARB_gpu_shader_fp64 = devinfo->has_64bit_types; + ctx->Extensions.ARB_gpu_shader_fp64 = true; } ctx->Extensions.ARB_shader_atomic_counters = true; ctx->Extensions.ARB_shader_atomic_counter_ops = true; @@ -243,7 +243,7 @@ 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 = true; ctx->Extensions.EXT_shader_samples_identical = true; ctx->Extensions.OES_primitive_bounding_box = true; ctx->Extensions.OES_texture_buffer = true; @@ -295,9 +295,9 @@ 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 = true; /* requires ARB_gpu_shader_int64 */ - ctx->Extensions.ARB_shader_ballot = devinfo->has_64bit_types; + ctx->Extensions.ARB_shader_ballot = true; ctx->Extensions.ARB_ES3_2_compatibility = true; } |