mesa: Add support for querying GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 6 Jul 2016 04:28:11 +0000 (21:28 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 24 Aug 2016 20:28:30 +0000 (13:28 -0700)
commit642aa58577bb0064c86fdd1a261a76a131886f06
tree26a5e1e34259b92a3e873ba69041ac1cf22a4c9d
parent115a27357c4d991d8064452d0179493aef528e3e
mesa: Add support for querying GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT.

This can currently only give true as result since the only way you can
expose EXT_shader_framebuffer_fetch right now is by flipping the
MESA_shader_framebuffer_fetch bit, but that could potentially change
in the future, see [1] for an explanation.

[1] https://lists.freedesktop.org/archives/mesa-dev/2016-July/124028.html

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/get.c
src/mesa/main/get_hash_params.py
src/mesa/main/glheader.h