diff options
author | Marek Olšák <[email protected]> | 2012-02-24 17:17:57 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-02-27 02:03:23 +0100 |
commit | b85fc0ac7e9795b773edad22e20eb3270f4909bd (patch) | |
tree | c381dadc3f38cc223952f89e612104bc57961e83 /src/gallium/drivers/r600/r600_pipe.c | |
parent | 81c04848625182c51d89c91f34ea6ab51d9ed090 (diff) |
r600g: move initialization of use_surface flag into screen_create
Also change the type to bool and give it a less ambiguous name.
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 7c828041f83..3a68d479cf0 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -856,5 +856,7 @@ struct pipe_screen *r600_screen_create(struct radeon_winsys *ws) LIST_INITHEAD(&rscreen->fences.blocks); pipe_mutex_init(rscreen->fences.mutex); + rscreen->use_surface_alloc = debug_get_bool_option("R600_SURF", TRUE); + return &rscreen->screen; } |