#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
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);