From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66067] Trine 2's fragment normal buffer is mixtextured on
Radeon HD 6770 (Juniper)
Date: Wed, 18 Sep 2013 01:37:14 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1530225521=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 684A0E7748
for ;
Tue, 17 Sep 2013 18:37:14 -0700 (PDT)
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
--===============1530225521==
Content-Type: multipart/alternative; boundary="1379468234.105dC1.17037"; charset="us-ascii"
--1379468234.105dC1.17037
Date: Wed, 18 Sep 2013 01:37:14 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66067
--- Comment #10 from Nicholas Miell ---
To quote the Cg tutorial:
"Notice that the code for the shadow map query is virtually identical to the
code for the projective texture lookup in Example 9-6. To a Cg programmer,
shadow maps are like other projective textures, except that instead of
returning a texture color,tex2Dproj returns a value representing shadow
coverage. The underlying hardware implementation automatically recognizes when
a texture is a depth texture (instead of a color texture) and performs the
shadow map comparison instead of an ordinary texture fetch."
I suspect that the Cg compiler always compiles tex2Dproj to a TEX instruction
with the SHADOW2D target and relies on OpenGL implementations always
transparently using normal sampling on non-depth non-stencil textures.
--
You are receiving this mail because:
You are the assignee for the bug.
--1379468234.105dC1.17037
Date: Wed, 18 Sep 2013 01:37:14 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 10
on bug 66067
from Nicholas Miell
To quote the Cg tutorial:
"Notice that the code for the shadow map query is virtually identical to the
code for the projective texture lookup in Example 9-6. To a Cg programmer,
shadow maps are like other projective textures, except that instead of
returning a texture color,tex2Dproj returns a value representing shadow
coverage. The underlying hardware implementation automatically recognizes when
a texture is a depth texture (instead of a color texture) and performs the
shadow map comparison instead of an ordinary texture fetch."
I suspect that the Cg compiler always compiles tex2Dproj to a TEX instruction
with the SHADOW2D target and relies on OpenGL implementations always
transparently using normal sampling on non-depth non-stencil textures.
You are receiving this mail because:
- You are the assignee for the bug.
--1379468234.105dC1.17037--
--===============1530225521==
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
--===============1530225521==--