[GPU] Disable faceness for rectangles temporarily
This commit is contained in:
parent
2f247e0f9e
commit
b06138b464
|
@ -82,7 +82,6 @@ constexpr bool IsPrimitivePolygonal(bool tessellated, PrimitiveType type) {
|
||||||
case PrimitiveType::kTriangleFan:
|
case PrimitiveType::kTriangleFan:
|
||||||
case PrimitiveType::kTriangleStrip:
|
case PrimitiveType::kTriangleStrip:
|
||||||
case PrimitiveType::kTriangleWithWFlags:
|
case PrimitiveType::kTriangleWithWFlags:
|
||||||
case PrimitiveType::kRectangleList:
|
|
||||||
case PrimitiveType::kQuadList:
|
case PrimitiveType::kQuadList:
|
||||||
case PrimitiveType::kQuadStrip:
|
case PrimitiveType::kQuadStrip:
|
||||||
case PrimitiveType::kPolygon:
|
case PrimitiveType::kPolygon:
|
||||||
|
@ -90,6 +89,10 @@ constexpr bool IsPrimitivePolygonal(bool tessellated, PrimitiveType type) {
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// TODO(Triang3l): Investigate how kRectangleList should be treated - possibly
|
||||||
|
// actually drawn as two polygons on the console, however, the current
|
||||||
|
// geometry shader doesn't care about the winding order - allowing backface
|
||||||
|
// culling for rectangles currently breaks Gears of War 2.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue