Skip to content

vrend: Test for noperspective interpolation support

On GLES the noperspective keyword is supported if the host driver exposes NV_shader_noperspective_interpolation, on OpenGL EXT_gpu_shader4 or GLSL 1.40 support the keyword, so test accordingly, and emit the keyword if supported.

Fixes: KHR-GL40.glsl_noperspective.functionaltest on GLES hosts that support NV_shader_noperspective_interpolation

Support for the extension is added to mesa with mesa/mesa!18460 (merged)

Edited by Gert Wollny

Merge request reports