diff options
author | Marek Olšák <[email protected]> | 2018-05-23 01:47:55 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-05-29 20:13:24 -0400 |
commit | 858ac8942d07d4c2d3e1cd1ac18381fa2e1de32c (patch) | |
tree | d45825e255346885b600dd1af8246cbe4997613b /src/mesa/drivers | |
parent | 16ac832392c7737e42f4b1019dc3e8c688c6d3f4 (diff) |
mesa: expose ARB_tessellation_shader in the compatibility profile
Gallium drivers don't expose this yet due to:
"st/mesa: use PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY"
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 93a4de139e3..34597c5e05a 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -236,7 +236,8 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_shader_image_size = true; ctx->Extensions.ARB_shader_precision = true; ctx->Extensions.ARB_shader_texture_image_samples = true; - ctx->Extensions.ARB_tessellation_shader = true; + if (ctx->API != API_OPENGL_COMPAT) + ctx->Extensions.ARB_tessellation_shader = true; ctx->Extensions.ARB_texture_compression_bptc = true; ctx->Extensions.ARB_texture_view = true; ctx->Extensions.ARB_shader_storage_buffer_object = true; |