summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_context.c
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-09-05 22:00:26 +0200
committerLuca Barbieri <[email protected]>2010-09-05 23:41:33 +0200
commit357a7e90dfab9ea0ea32936fd4a5f973a5caadc8 (patch)
treef55f174c6e7bf739fac5a2b9c5618ba0c3954134 /src/gallium/drivers/nvfx/nvfx_context.c
parentd8bba2ef69371a78eaa981846924e241a05b85b6 (diff)
nvfx: support nv30 simulation on nv40
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_context.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_context.c b/src/gallium/drivers/nvfx/nvfx_context.c
index 9baf78b02a1..62d623b9ffe 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.
*/