Skip to content

arb_blend_func_extended: gles: follow the specification requirements

David Heidelberg requested to merge dh/piglit:fix-maxDrawBuffers-4 into main

As a side-effect of the simplification, the test now will be skipped if the MAX_DRAW_BUFFER requirements (8 respectively 4 for ES) are not met.

GL_MAX_DRAW_BUFFERS params returns one value ... The value must be at least 4. Ref: https://registry.khronos.org/OpenGL-Refpages/es3.0/html/glGet.xhtml

Currently relevant for Adreno 300 series and Raspberry Pi 4 which both meet OpenGL ES requirement.

Fixes: b6d3ff45 ("Implement piglit tests for EXT_blend_func_extended") Signed-off-by: David Heidelberg david.heidelberg@collabora.com

/cc @robclark # Adreno 300 /cc @jasuarez # RPi 4

Merge request reports