Description of problem: Clipping is performed incorrectly when using shaders with intel and nouveau (maybe radeon, i'll check it) driver. Test to reproduce the bug: git clone https://github.com/edgbla/opengl-clipping-plane-bug.git cd opengl-clipping-plane-bug make ./test Use SPACE to toggle between shader state (enable/disable). This simple test draws a quad with vertices coordinates (0,0,0), (640,0,0), (640,480,0), (0,480,0) and setup a clipping plane with plane equation coefficients (1,0,0,0), model view is identity. According to documentation http://www.opengl.org/sdk/docs/man2/xhtml/glClipPlane.xml all vertices must be in clipping plane, but when using shaders half of quad is clipped instead. Version-Release number of selected component (if applicable): X.Org X Server 1.12.3 mesa-libGL-8.0.4-1 xorg-x11-drv-intel-2.20.8-1 xorg-x11-drv-nouveau-0.0.16-37 How reproducible: Always. Actual results: Object is half-clipped. (see screenshots "intel-i915-with-shader.png" "nvidia-Nouveau-with-shader.png") Expected results: Object is fully shown. (see screenshots "amd-Catalyst-with-shader.png" "nvidia-NVIDIA-with-shader.png") Additional info:
Created attachment 634726 [details] intel-i915-with-shader
Created attachment 634727 [details] nvidia-Nouveau-with-shader
Created attachment 634732 [details] amd-Catalyst-with-shader
Created attachment 634733 [details] nvidia-NVIDIA-with-shader
I can confirm this bug for radeon video driver and Fedora 18. packaes: xorg-x11-server-Xorg-1.13.0-5.fc18.x86_64 mesa-libGL-9.0-3.fc18.x86_64 xorg-x11-drv-ati-7.0.0-0.7.20121015gitbd9e2c064.fc18.x86_64 lspci: 06:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Caicos [Radeon HD 6450]
Created attachment 635018 [details] radeon with shader
This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.