mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 02:00:12 +01:00
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:
parent
6bec55a780
commit
32b1c0b694
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue