mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
As we fallback for polygon stipple on the CLE266 for now, ensure we
don't turn on the polygon stipple hardware bit.
This commit is contained in:
parent
cce4d5cb70
commit
3ff4eca05c
1 changed files with 7 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue