From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535
Date: Thu, 06 Dec 2012 18:34:40 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1078638958=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 593B9E6106
for ;
Thu, 6 Dec 2012 10:34:40 -0800 (PST)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1078638958==
Content-Type: multipart/alternative; boundary="1354818880.de8a6c2.19276"; charset="us-ascii"
--1354818880.de8a6c2.19276
Date: Thu, 6 Dec 2012 18:34:40 +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=3D57875
--- Comment #9 from Marek Ol=C5=A1=C3=A1k ---
I don't remember having anything useful besides some quick hacks and I don't
have them anymore. I came to the conclusion ARB_depth_clamp is not
implementable on r300-r500. I don't think the extended range [-2,2] would h=
elp
and IIRC, the register is not allowed to be written by userspace anyway, it
must be written in the kernel.
The way I see it, there are 4 solutions to this issue:
1) Wine shouldn't use ARB_depth_clamp, but instead it should use an extensi=
on
that exposes CLIP_DISABLE as defined by D3D9 to the user. The problem is su=
ch
an extension doesn't exist.
2) We could agree on a wine-specific hack for r300g, which would expose
ARB_depth_clamp for Wine only. We already blacklist certain apps for Hyper-=
Z,
this would be no different.
3) We could clamp POS.Z to the range [-POS.W, POS.W] in the vertex shader. =
The
problem with this approach is the clamping should be per-pixel, not per-ver=
tex.
4) Disabling ARB_depth_clamp again.
--=20
You are receiving this mail because:
You are the assignee for the bug.
--1354818880.de8a6c2.19276
Date: Thu, 6 Dec 2012 18:34:40 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Comment=
# 9
on bug 57875<=
/a>
from Marek Ol=C5=A1=C3=A1k
I don't remember having anything useful besides some quick hac=
ks and I don't
have them anymore. I came to the conclusion ARB_depth_clamp is not
implementable on r300-r500. I don't think the extended range [-2,2] would h=
elp
and IIRC, the register is not allowed to be written by userspace anyway, it
must be written in the kernel.
The way I see it, there are 4 solutions to this issue:
1) Wine shouldn't use ARB_depth_clamp, but instead it should use an extensi=
on
that exposes CLIP_DISABLE as defined by D3D9 to the user. The problem is su=
ch
an extension doesn't exist.
2) We could agree on a wine-specific hack for r300g, which would expose
ARB_depth_clamp for Wine only. We already blacklist certain apps for Hyper-=
Z,
this would be no different.
3) We could clamp POS.Z to the range [-POS.W, POS.W] in the vertex shader. =
The
problem with this approach is the clamping should be per-pixel, not per-ver=
tex.
4) Disabling ARB_depth_clamp again.
You are receiving this mail because:
=20=20=20=20=20=20
- You are the assignee for the bug.
--1354818880.de8a6c2.19276--
--===============1078638958==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1078638958==--