mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
glsl_to_ir: do lower_blend_equation if PIPE_CAP_FBFETCH
Signed-off-by: Elie Tournier <elie.tournier@collabora.com> Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5516>
This commit is contained in:
parent
d0df56ccd1
commit
0ee1a67f3c
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ st_link_shader(struct gl_context *ctx, struct gl_shader_program *prog)
|
|||
lower_offset_arrays(ir);
|
||||
do_mat_op_to_vec(ir);
|
||||
|
||||
if (stage == MESA_SHADER_FRAGMENT)
|
||||
if (stage == MESA_SHADER_FRAGMENT && pscreen->get_param(pscreen, PIPE_CAP_FBFETCH))
|
||||
lower_blend_equation_advanced(
|
||||
shader, ctx->Extensions.KHR_blend_equation_advanced_coherent);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue