[Mesa-dev] [Bug 64668] New: Clipping is performed incorrectly when using shaders with intel/nouveau/radeon drivers.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu May 16 05:18:20 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=64668
Priority: medium
Bug ID: 64668
Assignee: mesa-dev at lists.freedesktop.org
Summary: Clipping is performed incorrectly when using shaders
with intel/nouveau/radeon drivers.
Severity: normal
Classification: Unclassified
OS: All
Reporter: i.gnatenko.brain at gmail.com
Hardware: Other
Status: NEW
Version: git
Component: Mesa core
Product: Mesa
Created attachment 79404
--> https://bugs.freedesktop.org/attachment.cgi?id=79404&action=edit
archive with sources to test
Description of problem:
Clipping is performed incorrectly when using shaders with intel/nouveau/radeon
drivers.
Test to reproduce the bug:
download attachment
tar xvf opengl-clipping-plane-bug.tar.xz
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):
Xorg: 1.14.1-1.fc19.x86_64
mesa: 9.2-0.1.20130508.fc19.x86_64
xorg-x11-drv-intel: 2.21.6-1.fc19.x86_64
xorg-x11-drv-nouveau: 1.0.7-1.fc19.x86_64
and
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 screenshot "intel-i915-with-shader.png" "nvidia-Nouveau-with-shader.png")
Expected results:
Object is fully shown.
(see screenshot "amd-Catalyst-with-shader.png" "nvidia-NVIDIA-with-shader.png")
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130516/77599ab2/attachment.html>
More information about the mesa-dev
mailing list