ARB_gpu_shader_fp64 was the only feature missing.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ctx->Extensions.OES_texture_half_float = true;
ctx->Extensions.OES_texture_half_float_linear = true;
- if (brw->gen >= 6)
+ if (brw->gen >= 8)
+ ctx->Const.GLSLVersion = 400;
+ else if (brw->gen >= 6)
ctx->Const.GLSLVersion = 330;
else
ctx->Const.GLSLVersion = 120;
switch (screen->devinfo->gen) {
case 9:
case 8:
- psp->max_gl_core_version = 33;
+ psp->max_gl_core_version = 40;
psp->max_gl_compat_version = 30;
psp->max_gl_es1_version = 11;
psp->max_gl_es2_version = 31;