intel: Don't glBitmap fallback with scissoring enabled.
The blit bitmap code already handles scissoring. This is a 15-100% speedup on blender benchmark.blend thanks to avoiding fallbacks. Bug #17951.
This commit is contained in:
@@ -112,12 +112,6 @@ intel_check_blit_fragment_ops(GLcontext * ctx, GLboolean src_alpha_is_one)
|
||||
return GL_FALSE;
|
||||
}
|
||||
|
||||
if (ctx->Scissor.Enabled) {
|
||||
/* XXX Note: Scissor could be done with the blitter */
|
||||
DBG("fallback due to image scissor\n");
|
||||
return GL_FALSE;
|
||||
}
|
||||
|
||||
if (ctx->RenderMode != GL_RENDER) {
|
||||
DBG("fallback due to render mode\n");
|
||||
return GL_FALSE;
|
||||
|
||||
Reference in New Issue
Block a user