[Mesa-dev] gallium: don't fallback on buffers clears for capable hw

Christoph Bumiller e0425955 at student.tuwien.ac.at
Sat Apr 10 10:52:01 PDT 2010


Hi,
this might not be the best implementation, but I thought I'd add a patch
to the suggestion.

Basically I want nv50 to do be able to do hw clears in gallium even if
scissors or color masks are active, since it's nicer than drawing a quad,
especially for the HiZ buffer.

The state change to deactivate scissors, should the state tracker not
want them to affect clear, is probably less expensive than changing
shaders and whipping up a vertex buffer.

Christoph

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-gallium-let-drivers-expose-a-fully-capable-clear-fun.patch
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100410/fd89cf97/attachment.ksh>


More information about the mesa-dev mailing list