amd: Add AMD_SOFTPIPE environment option.

If set, AMD_SOFTPIPE will make amd switch to softpipe.
This commit is contained in:
Corbin Simpson 2009-01-29 15:53:32 -08:00
parent 8c8bdcde6d
commit 7ccc9a92ce

View file

@ -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,