From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 61854] [nv50]glClipPlane not clipping correctly for
glsl
Date: Thu, 07 Mar 2013 19:43:17 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1575726664=="
Return-path:
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
--===============1575726664==
Content-Type: multipart/alternative; boundary="1362685397.fB2EDcf1.16466"; charset="us-ascii"
--1362685397.fB2EDcf1.16466
Date: Thu, 7 Mar 2013 19:43:17 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.freedesktop.org/show_bug.cgi?id=3D61854
Christoph Bumiller changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |NOTOURBUG
--- Comment #3 from Christoph Bumiller ---
blender's shader says:
"gl_ClipVertex works only on NVIDIA graphic cards so we have to check with
__GLSL_CG_DATA_TYPES"
The GL 2.0 spec says:
"If gl ClipVertex is not written by the vertex shader, its value is unde=EF=
=AC=81ned,
which implies that the results of clipping to any client-de=EF=AC=81ned cli=
p planes are
also undefined."
I don't know with which driver they tested this (maybe on a gallium driver
before gl_ClipVertex was handled, which came rather late ?), but they can't
expect undefined behaviour to work everywhere.
--=20
You are receiving this mail because:
You are the assignee for the bug.
--1362685397.fB2EDcf1.16466
Date: Thu, 7 Mar 2013 19:43:17 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Christoph Bumiller
changed
bug 61854<=
/a>
| What |
Removed |
Added |
| Status |
NEW
|
RESOLVED
|
| Resolution |
---
|
NOTOURBUG
|
Comment=
# 3
on bug 61854<=
/a>
from Christoph Bumiller
blender's shader says:
"gl_ClipVertex works only on NVIDIA graphic cards so we have to check =
with
__GLSL_CG_DATA_TYPES"
The GL 2.0 spec says:
"If gl ClipVertex is not written by the vertex shader, its value is un=
de=EF=AC=81ned,
which implies that the results of clipping to any client-de=EF=AC=81ned cli=
p planes are
also undefined."
I don't know with which driver they tested this (maybe on a gallium driver
before gl_ClipVertex was handled, which came rather late ?), but they can't
expect undefined behaviour to work everywhere.
You are receiving this mail because:
=20=20=20=20=20=20
- You are the assignee for the bug.
--1362685397.fB2EDcf1.16466--
--===============1575726664==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
--===============1575726664==--