summaryrefslogtreecommitdiff
path: root/src/mesa/pipe
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2007-12-13 11:55:35 +1100
committerBen Skeggs <skeggsb@gmail.com>2007-12-13 11:55:35 +1100
commit72d47f1949f99231f18cc5144b1c45c58b35f890 (patch)
tree00e1d37839f01bc6fade418ae85d51f28fc47a13 /src/mesa/pipe
parentf1c5415675f695b302ffb7e5d46473bff9617dc1 (diff)
nouveau: more adaption..
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r--src/mesa/pipe/nv40/nv40_context.c1
-rw-r--r--src/mesa/pipe/nv40/nv40_surface.c5
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/pipe/nv40/nv40_context.c b/src/mesa/pipe/nv40/nv40_context.c
index b1358a8cfa..e7d0a18637 100644
--- a/src/mesa/pipe/nv40/nv40_context.c
+++ b/src/mesa/pipe/nv40/nv40_context.c
@@ -12,7 +12,6 @@ nv40_is_format_supported(struct pipe_context *pipe, enum pipe_format format,
{
switch (type) {
case PIPE_SURFACE:
- case PIPE_SCREEN_SURFACE:
switch (format) {
case PIPE_FORMAT_A8R8G8B8_UNORM:
case PIPE_FORMAT_R5G6B5_UNORM:
diff --git a/src/mesa/pipe/nv40/nv40_surface.c b/src/mesa/pipe/nv40/nv40_surface.c
index f140b764ca..da9e18ac13 100644
--- a/src/mesa/pipe/nv40/nv40_surface.c
+++ b/src/mesa/pipe/nv40/nv40_surface.c
@@ -31,6 +31,7 @@
#include "pipe/p_util.h"
#include "pipe/p_winsys.h"
#include "pipe/p_inlines.h"
+#include "pipe/softpipe/sp_rgba_tile.h"
#define CLIP_TILE \
@@ -254,8 +255,8 @@ nv40_init_surface_functions(struct nv40_context *nv40)
nv40->pipe.get_tex_surface = nv40_get_tex_surface;
nv40->pipe.get_tile = nv40_get_tile;
nv40->pipe.put_tile = nv40_put_tile;
- nv40->pipe.get_tile_rgba = nv40_get_tile_rgba;
- nv40->pipe.put_tile_rgba = nv40_put_tile_rgba;
+ nv40->pipe.get_tile_rgba = softpipe_get_tile_rgba;
+ nv40->pipe.put_tile_rgba = softpipe_put_tile_rgba;
nv40->pipe.surface_data = nv40_surface_data;
nv40->pipe.surface_copy = nv40_surface_copy;
nv40->pipe.surface_fill = nv40_surface_fill;