nouveau: header update
authorBen Skeggs <skeggsb@gmail.com>
Mon, 18 Feb 2008 04:31:55 +0000 (15:31 +1100)
committerBen Skeggs <skeggsb@gmail.com>
Mon, 18 Feb 2008 04:32:42 +0000 (15:32 +1100)
src/gallium/drivers/nouveau/nouveau_class.h
src/gallium/drivers/nv40/nv40_state.c

index 5998945677bfa5f1fec115e2832d72c7c32980cf..c80461038b733ed0e6132e059d97f7e0b6ea7914 100644 (file)
@@ -4926,9 +4926,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #define  NV40TCL_VIEWPORT_SCALE_Y                                                      0x00000a34
 #define  NV40TCL_VIEWPORT_SCALE_Z                                                      0x00000a38
 #define  NV40TCL_VIEWPORT_SCALE_W                                                      0x00000a3c
-#define  NV40TCL_POLYGON_OFFSET_FILL_ENABLE                                            0x00000a60
+#define  NV40TCL_POLYGON_OFFSET_POINT_ENABLE                                           0x00000a60
 #define  NV40TCL_POLYGON_OFFSET_LINE_ENABLE                                            0x00000a64
-#define  NV40TCL_POLYGON_OFFSET_POINT_ENABLE                                           0x00000a68
+#define  NV40TCL_POLYGON_OFFSET_FILL_ENABLE                                            0x00000a68
 #define  NV40TCL_DEPTH_FUNC                                                            0x00000a6c
 #define   NV40TCL_DEPTH_FUNC_NEVER                                                     0x00000200
 #define   NV40TCL_DEPTH_FUNC_LESS                                                      0x00000201
index fec8f946c354469d5c021fb52b38366a534ba826..d7379e909053d2650fbde76a0c02a302546e8712 100644 (file)
@@ -347,7 +347,7 @@ nv40_rasterizer_state_create(struct pipe_context *pipe,
        so_method(so, curie, NV40TCL_POLYGON_STIPPLE_ENABLE, 1);
        so_data  (so, cso->poly_stipple_enable ? 1 : 0);
 
-       so_method(so, curie, 0x0a60, 3);
+       so_method(so, curie, NV40TCL_POLYGON_OFFSET_POINT_ENABLE, 3);
        if ((cso->offset_cw && cso->fill_cw == PIPE_POLYGON_MODE_POINT) ||
            (cso->offset_ccw && cso->fill_ccw == PIPE_POLYGON_MODE_POINT))
                so_data(so, 1);