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 bbd307d5d98a4f7ecff68dd1a29004fcb7dc0c4c..a25c082a5d14b59ec78e7605260e5b3035360ba0 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 57b0e71dad7f39cbdd2a9f19e96b94e1598d54ce..4b0892971ecadc1ec754662a0fa661d199bf5408 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 f9c93f7a2d7c84d6a301f66714c0e3b3557a5024..f1d4f3c76f1a2c4ce19bf2e1e2e7880022bba53a 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 e822d863945ad0db2d0248fd98be5cf66389d01c..6eb1878b847785379ec3c722de11a3413ba8f267 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;