From 357a7e90dfab9ea0ea32936fd4a5f973a5caadc8 Mon Sep 17 00:00:00 2001 From: Luca Barbieri Date: Sun, 5 Sep 2010 22:00:26 +0200 Subject: nvfx: support nv30 simulation on nv40 --- src/gallium/drivers/nvfx/nvfx_context.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/nvfx/nvfx_context.c') diff --git a/src/gallium/drivers/nvfx/nvfx_context.c b/src/gallium/drivers/nvfx/nvfx_context.c index 9baf78b02a..62d623b9ff 100644 --- a/src/gallium/drivers/nvfx/nvfx_context.c +++ b/src/gallium/drivers/nvfx/nvfx_context.c @@ -77,6 +77,7 @@ nvfx_create(struct pipe_screen *pscreen, void *priv) nvfx->pipe.flush = nvfx_flush; nvfx->is_nv4x = screen->is_nv4x; + nvfx->use_nv4x = screen->use_nv4x; /* TODO: it seems that nv30 might have fixed function clipping usable with vertex programs * However, my code for that doesn't work, so use vp clipping for all cards, which works. */ -- cgit v1.2.3