nouveau: stub set_edgeflags for all nv pipe drivers
authorBen Skeggs <skeggsb@gmail.com>
Sun, 27 Apr 2008 08:12:14 +0000 (18:12 +1000)
committerBen Skeggs <skeggsb@gmail.com>
Sun, 27 Apr 2008 08:12:14 +0000 (18:12 +1000)
src/gallium/drivers/nv10/nv10_context.c
src/gallium/drivers/nv30/nv30_context.c
src/gallium/drivers/nv40/nv40_context.c
src/gallium/drivers/nv50/nv50_context.c

index bbd307d..a25c082 100644 (file)
@@ -253,6 +253,11 @@ static void nv10_init_hwctx(struct nv10_context *nv10)
        FIRE_RING (NULL);
 }
 
+static void
+nv10_set_edgeflags(struct pipe_context *pipe, const unsigned *bitfield)
+{
+}
+
 struct pipe_context *
 nv10_create(struct pipe_screen *pscreen, unsigned pctx_id)
 {
@@ -274,6 +279,7 @@ nv10_create(struct pipe_screen *pscreen, unsigned pctx_id)
        nv10->pipe.winsys = ws;
        nv10->pipe.screen = pscreen;
        nv10->pipe.destroy = nv10_destroy;
+       nv10->pipe.set_edgeflags = nv10_set_edgeflags;
        nv10->pipe.draw_arrays = nv10_draw_arrays;
        nv10->pipe.draw_elements = nv10_draw_elements;
        nv10->pipe.clear = nv10_clear;
index 57b0e71..4b08929 100644 (file)
@@ -32,6 +32,12 @@ nv30_destroy(struct pipe_context *pipe)
        FREE(nv30);
 }
 
+
+static void
+nv30_set_edgeflags(struct pipe_context *pipe, const unsigned *bitfield)
+{
+}
+
 struct pipe_context *
 nv30_create(struct pipe_screen *pscreen, unsigned pctx_id)
 {
@@ -53,6 +59,7 @@ nv30_create(struct pipe_screen *pscreen, unsigned pctx_id)
        nv30->pipe.winsys = ws;
        nv30->pipe.screen = pscreen;
        nv30->pipe.destroy = nv30_destroy;
+       nv30->pipe.set_edgeflags = nv30_set_edgeflags;
        nv30->pipe.draw_arrays = nv30_draw_arrays;
        nv30->pipe.draw_elements = nv30_draw_elements;
        nv30->pipe.clear = nv30_clear;
index f9c93f7..f1d4f3c 100644 (file)
@@ -32,6 +32,11 @@ nv40_destroy(struct pipe_context *pipe)
        FREE(nv40);
 }
 
+static void
+nv40_set_edgeflags(struct pipe_context *pipe, const unsigned *bitfield)
+{
+}
+
 struct pipe_context *
 nv40_create(struct pipe_screen *pscreen, unsigned pctx_id)
 {
@@ -53,6 +58,7 @@ nv40_create(struct pipe_screen *pscreen, unsigned pctx_id)
        nv40->pipe.winsys = ws;
        nv40->pipe.screen = pscreen;
        nv40->pipe.destroy = nv40_destroy;
+       nv40->pipe.set_edgeflags = nv40_set_edgeflags;
        nv40->pipe.draw_arrays = nv40_draw_arrays;
        nv40->pipe.draw_elements = nv40_draw_elements;
        nv40->pipe.clear = nv40_clear;
index e822d86..6eb1878 100644 (file)
@@ -24,6 +24,12 @@ nv50_destroy(struct pipe_context *pipe)
        free(nv50);
 }
 
+
+static void
+nv50_set_edgeflags(struct pipe_context *pipe, const unsigned *bitfield)
+{
+}
+
 struct pipe_context *
 nv50_create(struct pipe_screen *pscreen, unsigned pctx_id)
 {
@@ -42,6 +48,7 @@ nv50_create(struct pipe_screen *pscreen, unsigned pctx_id)
 
        nv50->pipe.destroy = nv50_destroy;
 
+       nv50->pipe.set_edgeflags = nv50_set_edgeflags;
        nv50->pipe.draw_arrays = nv50_draw_arrays;
        nv50->pipe.draw_elements = nv50_draw_elements;
        nv50->pipe.clear = nv50_clear;