path: root/src/libXvMC/Makefile
diff options
authorVasily Khoruzhick <>2021-11-23 18:10:19 -0800
committerMarge Bot <>2021-11-29 19:31:59 +0000
commit34a75ce15ce1b264a27179081e97cb2e7248b555 (patch)
tree5141b39c221501836758b22522f4ff7e71724399 /src/libXvMC/Makefile
parent5f9434b611203d856294317a4b801c53fe3420d7 (diff)
lima: fix blending with min/max opsHEADmain
It turns out that BLEND_MIN and BLEND_MAX in Utgard take blend factors into account. My guess is that actual equation looks like: OP(As * S + Ad * D, Ad) for alpha, and OP(Cs * S + Cd * D, Cd) for color. So we have to set S factor to 1 and D factor to 0 to be compliant with GL spec. Fixes following piglit tests: spec@!opengl 1.4@blendminmax spec@arb_blend_func_extended@arb_blend_func_extended-fbo-extended-blend (with patch my for ES2_compatibility and EXT_blend_func_extended) Reviewed-by: Andreas Baierl <> Reviewed-by: Erico Nunes <> Signed-off-by: Vasily Khoruzhick <> Part-of: <>
Diffstat (limited to 'src/libXvMC/Makefile')
0 files changed, 0 insertions, 0 deletions