mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02:00
i965: Enable GL_KHR_blend_equation_advanced on G45 and later.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
parent
40241d40d0
commit
c2b10cabed
2 changed files with 5 additions and 1 deletions
|
|
@ -101,6 +101,8 @@ process_glsl_ir(gl_shader_stage stage,
|
|||
|
||||
ralloc_adopt(mem_ctx, shader->ir);
|
||||
|
||||
lower_blend_equation_advanced(shader);
|
||||
|
||||
/* lower_packing_builtins() inserts arithmetic instructions, so it
|
||||
* must precede lower_instructions().
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -281,8 +281,10 @@ intelInitExtensions(struct gl_context *ctx)
|
|||
ctx->Extensions.EXT_shader_integer_mix = ctx->Const.GLSLVersion >= 130;
|
||||
ctx->Extensions.MESA_shader_integer_functions = ctx->Const.GLSLVersion >= 130;
|
||||
|
||||
if (brw->is_g4x || brw->gen >= 5)
|
||||
if (brw->is_g4x || brw->gen >= 5) {
|
||||
ctx->Extensions.MESA_shader_framebuffer_fetch_non_coherent = true;
|
||||
ctx->Extensions.KHR_blend_equation_advanced = true;
|
||||
}
|
||||
|
||||
if (brw->gen >= 5) {
|
||||
ctx->Extensions.ARB_texture_query_levels = ctx->Const.GLSLVersion >= 130;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue