[Nouveau] [PATCH 4/5] renouveau/nv30: remove clip planes #6 and #7

Luca Barbieri luca at luca-barbieri.com
Fri Feb 26 05:38:23 PST 2010


These are defined for nv30 and not nv40, and they probably don't
exist in the hardware.

Both DirectX and OpenGL nVidia drivers support only 6 clip planes on
pre-nv50 hardware.

Neither the DDX nor the Gallium driver support user clip planes at all
on nv30.

This makes the definition the same as nv40, so they can be unified.
---
 renouveau.xml |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/renouveau.xml b/renouveau.xml
index d305a8e..f73ef04 100644
--- a/renouveau.xml
+++ b/renouveau.xml
@@ -3681,8 +3681,6 @@
       <bitfield name="PLANE3" high="13" low="13" type="boolean"/>
       <bitfield name="PLANE4" high="17" low="17" type="boolean"/>
       <bitfield name="PLANE5" high="21" low="21" type="boolean"/>
-      <bitfield name="PLANE6" high="25" low="25" type="boolean"/>
-      <bitfield name="PLANE7" high="29" low="29" type="boolean"/>
     </reg32>
     <reg32 offset="0x147c" name="POLYGON_STIPPLE_ENABLE" type="boolean"/>
     <reg32 offset="0x1480" name="POLYGON_STIPPLE_PATTERN" size="32" type="hexa"/>
-- 
1.6.6.1.476.g01ddb



More information about the Nouveau mailing list