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 <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
@@ -43,11 +43,6 @@ static bool do_check_fallback(struct brw_context *brw)
|
|||||||
{
|
{
|
||||||
struct gl_context *ctx = &brw->intel.ctx;
|
struct gl_context *ctx = &brw->intel.ctx;
|
||||||
|
|
||||||
if (brw->intel.no_rast) {
|
|
||||||
DBG("FALLBACK: rasterization disabled\n");
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* _NEW_RENDERMODE
|
/* _NEW_RENDERMODE
|
||||||
*/
|
*/
|
||||||
if (ctx->RenderMode != GL_RENDER) {
|
if (ctx->RenderMode != GL_RENDER) {
|
||||||
|
|||||||
@@ -758,10 +758,12 @@ intelInitContext(struct intel_context *intel,
|
|||||||
intel->prim.primitive = ~0;
|
intel->prim.primitive = ~0;
|
||||||
|
|
||||||
/* Force all software fallbacks */
|
/* Force all software fallbacks */
|
||||||
|
#ifdef I915
|
||||||
if (driQueryOptionb(&intel->optionCache, "no_rast")) {
|
if (driQueryOptionb(&intel->optionCache, "no_rast")) {
|
||||||
fprintf(stderr, "disabling 3D rasterization\n");
|
fprintf(stderr, "disabling 3D rasterization\n");
|
||||||
intel->no_rast = 1;
|
intel->no_rast = 1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (driQueryOptionb(&intel->optionCache, "always_flush_batch")) {
|
if (driQueryOptionb(&intel->optionCache, "always_flush_batch")) {
|
||||||
fprintf(stderr, "flushing batchbuffer before/after each draw call\n");
|
fprintf(stderr, "flushing batchbuffer before/after each draw call\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user