diff options
author | Eric Anholt <[email protected]> | 2012-08-26 15:07:03 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-08-28 11:43:04 -0700 |
commit | 5e3c093ff866b74fbf6483ece671edbf5eb3ae7a (patch) | |
tree | 3ab3546907fa43b65f3fff78aaa4f54acc03768e /src/mesa | |
parent | bfae8650ec25d9f03ed1f58435325fd9b62b8da8 (diff) |
i965: Drop support for forcing drawing through sw fallbacks.
It turns out it hasn't worked since at least 8.0.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fallback.c | 5 | ||||
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_context.c | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fallback.c b/src/mesa/drivers/dri/i965/brw_fallback.c index 1ae6fc83f6a..691acfcff0b 100644 --- a/src/mesa/drivers/dri/i965/brw_fallback.c +++ b/src/mesa/drivers/dri/i965/brw_fallback.c @@ -43,11 +43,6 @@ static bool do_check_fallback(struct brw_context *brw) { struct gl_context *ctx = &brw->intel.ctx; - if (brw->intel.no_rast) { - DBG("FALLBACK: rasterization disabled\n"); - return true; - } - /* _NEW_RENDERMODE */ if (ctx->RenderMode != GL_RENDER) { diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c index a9064c7ee9a..4b7131b876d 100644 --- a/src/mesa/drivers/dri/intel/intel_context.c +++ b/src/mesa/drivers/dri/intel/intel_context.c @@ -758,10 +758,12 @@ intelInitContext(struct intel_context *intel, intel->prim.primitive = ~0; /* Force all software fallbacks */ +#ifdef I915 if (driQueryOptionb(&intel->optionCache, "no_rast")) { fprintf(stderr, "disabling 3D rasterization\n"); intel->no_rast = 1; } +#endif if (driQueryOptionb(&intel->optionCache, "always_flush_batch")) { fprintf(stderr, "flushing batchbuffer before/after each draw call\n"); |