Skip to content

etnaviv: tell the truth if alpha-test is supported

GPUs with the feature bit PE_NO_ALPHA_TEST set have no fixed-function alpha test unit and we want to let st lower it with a shader variant.

Fixes all fbo-alphatest-formats piglits like: spec@ext_framebuffer_object@fbo-alphatest-formats spec@ext_packed_float@fbo-alphatest-formats spec@ext_texture_srgb@fbo-alphatest-formats

This only works with the NIR compiler backend.

Signed-off-by: Christian Gmeiner christian.gmeiner@gmail.com

Merge request reports