summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvfx/nvfx_screen.c
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-04-12 18:06:06 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-04-12 18:06:06 +0200
commit8f0d5382e3aa38852be28e89993cb540293b9272 (patch)
tree2cd5d322f7466d7a92dbdfe0b777aadb48111f7a /src/gallium/drivers/nvfx/nvfx_screen.c
parentf647f46e03a755ac9058cd8abac13802aa7739cf (diff)
nvfx: move check for NOUVEAU_SWTNL
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_screen.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_screen.c b/src/gallium/drivers/nvfx/nvfx_screen.c
index 893086cae8..cf619f24a1 100644
--- a/src/gallium/drivers/nvfx/nvfx_screen.c
+++ b/src/gallium/drivers/nvfx/nvfx_screen.c
@@ -371,6 +371,8 @@ nvfx_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
return NULL;
}
+ screen->force_swtnl = debug_get_bool_option("NOUVEAU_SWTNL", FALSE);
+
nvfx_screen_init_resource_functions(pscreen);
nvfx_screen_init_buffer_functions(screen);