i965: Enable GL_ARB_ES3_1_compatibility on Gen8+ if CS are available.
There are almost no tests in any test suite, but what little I've found seems to work. Ilia believes everything is in place. v2: Predicate the enable on ES 3.1 being available (Gen8+) and also ARB_compute_shader being available (requested by Ilia). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -354,8 +354,10 @@ intelInitExtensions(struct gl_context *ctx)
|
||||
ctx->Extensions.ARB_transform_feedback_instanced = true;
|
||||
|
||||
if ((brw->gen >= 8 || brw->intelScreen->cmd_parser_version >= 5) &&
|
||||
ctx->Const.MaxComputeWorkGroupSize[0] >= 1024)
|
||||
ctx->Const.MaxComputeWorkGroupSize[0] >= 1024) {
|
||||
ctx->Extensions.ARB_compute_shader = true;
|
||||
ctx->Extensions.ARB_ES3_1_compatibility = brw->gen >= 8;
|
||||
}
|
||||
|
||||
if (brw->intelScreen->cmd_parser_version >= 2)
|
||||
brw->predicate.supported = true;
|
||||
|
Reference in New Issue
Block a user