summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2005-01-13 00:15:28 +0000
committerAlan Hourihane <[email protected]>2005-01-13 00:15:28 +0000
commit3ff4eca05c67b2969386db36ee8123fc8a5e55ac (patch)
tree284e267a65d10e01104db756a8c9065220e2cccc /src/mesa/drivers
parentcce4d5cb700ae700795aad22a12f35b5f1be7ad7 (diff)
As we fallback for polygon stipple on the CLE266 for now, ensure we
don't turn on the polygon stipple hardware bit.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_state.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_state.c b/src/mesa/drivers/dri/unichrome/via_state.c
index a8278490352..49782c78aa6 100644
--- a/src/mesa/drivers/dri/unichrome/via_state.c
+++ b/src/mesa/drivers/dri/unichrome/via_state.c
@@ -1432,11 +1432,13 @@ static void viaChoosePolygonState(GLcontext *ctx)
}
}
- if (ctx->Polygon.StippleFlag) {
- vmesa->regEnable |= HC_HenSP_MASK;
- }
- else {
- vmesa->regEnable &= ~HC_HenSP_MASK;
+ if (vmesa->viaScreen->deviceID != VIA_CLE266) {
+ if (ctx->Polygon.StippleFlag) {
+ vmesa->regEnable |= HC_HenSP_MASK;
+ }
+ else {
+ vmesa->regEnable &= ~HC_HenSP_MASK;
+ }
}
if (ctx->Polygon.CullFlag) {