if (brw->gen >= 7)
ctx->Const.GLSLVersion = 330;
else if (brw->gen >= 6)
- ctx->Const.GLSLVersion = 140;
+ ctx->Const.GLSLVersion = 150;
else
ctx->Const.GLSLVersion = 120;
_mesa_override_glsl_version(&ctx->Const);
ctx->Extensions.ARB_sample_shading = true;
ctx->Extensions.ARB_texture_gather = true;
ctx->Extensions.ARB_conditional_render_inverted = true;
+ ctx->Extensions.AMD_vertex_shader_layer = true;
/* Test if the kernel has the ioctl. */
if (drm_intel_reg_read(brw->bufmgr, TIMESTAMP, &dummy) == 0)
if (brw->gen >= 7) {
ctx->Extensions.ARB_conservative_depth = true;
ctx->Extensions.ARB_texture_view = true;
- ctx->Extensions.AMD_vertex_shader_layer = true;
if (can_do_pipelined_register_writes(brw)) {
ctx->Extensions.ARB_transform_feedback2 = true;
ctx->Extensions.ARB_transform_feedback3 = true;
psp->max_gl_es2_version = 30;
break;
case 6:
- psp->max_gl_core_version = 31;
+ psp->max_gl_core_version = 32;
psp->max_gl_compat_version = 30;
psp->max_gl_es1_version = 11;
psp->max_gl_es2_version = 30;