diff options
author | Corbin Simpson <[email protected]> | 2009-01-29 15:53:32 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-02-01 23:30:32 -0800 |
commit | 7ccc9a92ce83d5e38549a6f6c5f22b358a90e578 (patch) | |
tree | f3dd74fa4837b3719e7c38eba370471cf4295524 /src | |
parent | 8c8bdcde6d9eb1cda7bf268cd75ca7676e220075 (diff) |
amd: Add AMD_SOFTPIPE environment option.
If set, AMD_SOFTPIPE will make amd switch to softpipe.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/drm/amd/amd_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/amd/amd_context.c b/src/gallium/winsys/drm/amd/amd_context.c index 9b3c9c2ab2e..86e6e0f5f79 100644 --- a/src/gallium/winsys/drm/amd/amd_context.c +++ b/src/gallium/winsys/drm/amd/amd_context.c @@ -242,7 +242,7 @@ GLboolean amd_context_create(const __GLcontextModes *visual, return GL_FALSE; } - if (1) { + if (!getenv("AMD_SOFTPIPE")) { fprintf(stderr, "Creating r300 context...\n"); pipe = r300_create_context(NULL, |