mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
mesa: allow BlendBarrier to be used without support for full fb fetch
The extension spec is not currently published, so it's a bit premature to require it for BlendBarrier usage. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
2dd4cdeb4e
commit
376316e963
1 changed files with 2 additions and 1 deletions
|
|
@ -114,7 +114,8 @@ _mesa_BlendBarrier(void)
|
|||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
if (!ctx->Extensions.MESA_shader_framebuffer_fetch_non_coherent) {
|
||||
if (!ctx->Extensions.MESA_shader_framebuffer_fetch_non_coherent &&
|
||||
!ctx->Extensions.KHR_blend_equation_advanced) {
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION,
|
||||
"glBlendBarrier(not supported)");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue