projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2422054
)
i965: Remove dead fallback for stencil _Enabled but no stencil buffer.
author
Eric Anholt
<eric@anholt.net>
Tue, 11 Jan 2011 21:34:40 +0000
(13:34 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 11 Jan 2011 21:48:31 +0000
(13:48 -0800)
The _Enabled field is the thing that takes into account whether
there's a stencil buffer. Tested with piglit glx-visuals-stencil.
src/mesa/drivers/dri/i965/brw_fallback.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fallback.c
b/src/mesa/drivers/dri/i965/brw_fallback.c
index 82356a5bc07452814cfaafc8ecae88547374e737..395f306f1b5b7bc27713db7bb0b9072179dada0e 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fallback.c
+++ b/
src/mesa/drivers/dri/i965/brw_fallback.c
@@
-71,14
+71,6
@@
static GLboolean do_check_fallback(struct brw_context *brw)
}
}
}
-
- /* _NEW_STENCIL
- */
- if (ctx->Stencil._Enabled &&
- (ctx->DrawBuffer->Name == 0 && !brw->intel.hw_stencil)) {
- DBG("FALLBACK: stencil\n");
- return GL_TRUE;
- }
return GL_FALSE;
}