nv10: rename spot light coefs like nv20,nv30
authorPatrice Mandin <pmandin@freedesktop.org>
Fri, 24 Nov 2006 23:23:18 +0000 (23:23 +0000)
committerPatrice Mandin <pmandin@freedesktop.org>
Fri, 24 Nov 2006 23:23:18 +0000 (23:23 +0000)
src/mesa/drivers/dri/nouveau/nouveau_reg.h

index 2081fd3ec747f0f62e5bdf6fa4b76a5e62071ca4..e79436cc41e4eb874cb1c9ed721e1ac63647bd87 100644 (file)
@@ -43,7 +43,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 **************************************************************************
 
-   Created from objects.c rev. 1.345
+   Created from objects.c rev. 1.346
 */
 
 #ifndef _NOUVEAU_REG_H
@@ -424,7 +424,13 @@ Object NV10_TCL_PRIMITIVE_3D used on: NV10
 #      define          NV10_TCL_PRIMITIVE_3D_LIGHT_DIRECTION_X(d)              (0x00000834 + d * 0x0080)
 #      define          NV10_TCL_PRIMITIVE_3D_LIGHT_DIRECTION_Y(d)              (0x00000838 + d * 0x0080)
 #      define          NV10_TCL_PRIMITIVE_3D_LIGHT_DIRECTION_Z(d)              (0x0000083c + d * 0x0080)
-#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_LIGHT(d)               (0x00000840 + d * 0x0080)
+#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_CUTOFF_A(d)            (0x00000840 + d * 0x0080)
+#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_EXPONENT(d)            (0x00000844 + d * 0x0080)
+#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_CUTOFF_B(d)            (0x00000848 + d * 0x0080)
+#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_DIR_X(d)               (0x0000084c + d * 0x0080)
+#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_DIR_Y(d)               (0x00000850 + d * 0x0080)
+#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_DIR_Z(d)               (0x00000854 + d * 0x0080)
+#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_CUTOFF_C(d)            (0x00000858 + d * 0x0080)
 #      define          NV10_TCL_PRIMITIVE_3D_LIGHT_POSITION_X(d)               (0x0000085c + d * 0x0080)
 #      define          NV10_TCL_PRIMITIVE_3D_LIGHT_POSITION_Y(d)               (0x00000860 + d * 0x0080)
 #      define          NV10_TCL_PRIMITIVE_3D_LIGHT_POSITION_Z(d)               (0x00000864 + d * 0x0080)
@@ -646,7 +652,13 @@ Object NV15_TCL_PRIMITIVE_3D used on: NV15
 #      define          NV10_TCL_PRIMITIVE_3D_LIGHT_DIRECTION_X(d)              (0x00000834 + d * 0x0080)
 #      define          NV10_TCL_PRIMITIVE_3D_LIGHT_DIRECTION_Y(d)              (0x00000838 + d * 0x0080)
 #      define          NV10_TCL_PRIMITIVE_3D_LIGHT_DIRECTION_Z(d)              (0x0000083c + d * 0x0080)
-#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_LIGHT(d)               (0x00000840 + d * 0x0080)
+#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_CUTOFF_A(d)            (0x00000840 + d * 0x0080)
+#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_EXPONENT(d)            (0x00000844 + d * 0x0080)
+#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_CUTOFF_B(d)            (0x00000848 + d * 0x0080)
+#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_DIR_X(d)               (0x0000084c + d * 0x0080)
+#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_DIR_Y(d)               (0x00000850 + d * 0x0080)
+#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_DIR_Z(d)               (0x00000854 + d * 0x0080)
+#      define          NV10_TCL_PRIMITIVE_3D_LIGHT_SPOT_CUTOFF_C(d)            (0x00000858 + d * 0x0080)
 #      define          NV10_TCL_PRIMITIVE_3D_LIGHT_POSITION_X(d)               (0x0000085c + d * 0x0080)
 #      define          NV10_TCL_PRIMITIVE_3D_LIGHT_POSITION_Y(d)               (0x00000860 + d * 0x0080)
 #      define          NV10_TCL_PRIMITIVE_3D_LIGHT_POSITION_Z(d)               (0x00000864 + d * 0x0080)