arb_blend_func_extended: Test dual src blending without second color output
commit34fd15cef4768592b4f5d5eef9fcadfc66a989b8
authorDanylo Piliaiev <danylo.piliaiev@gmail.com>
Mon, 9 Jul 2018 08:54:56 +0000 (9 11:54 +0300)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 2 May 2019 14:52:42 +0000 (2 07:52 -0700)
tree2a686db1ba5dcc0c206ea4d6231d8a67bf5cb4d5
parentb0d67f7c35a9a7bf574e9fb5b12e14c3b43ad6ea
arb_blend_func_extended: Test dual src blending without second color output

Using fragment shader without second color output should not hang gpu
when dual source blending is enabled.
It hanged Intel gen8+ GPUs when discarding fragments and depth test
being enabled.
There is also a safeguard against lack of second color output in radeonsi.

v2: by Ilia Mirkin
    - Set supports_gl_compat_version = 30
    - Moved drawing to piglit_display
    - Change drawing sequence to: clear red -> draw -> clear green

v3: by Dylan Baker
    - Removed run_concurrent=False

Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
tests/opengl.py
tests/spec/arb_blend_func_extended/execution/CMakeLists.gl.txt
tests/spec/arb_blend_func_extended/execution/CMakeLists.gles3.txt
tests/spec/arb_blend_func_extended/execution/dual-src-blending-discard-without-src1.c [new file with mode: 0644]