Just days after making a number of improvements to Mesa/Gallium3D, Marek is back this week so far with 22 patches to improve Gallium3D and specifically to benefit the AMD Radeon "R600g" graphics driver.
Marek Olšák on Monday sent to the Mesa mailing list a set of 22 patches under Gallium and R600 improvements
. This follows his recent OpenGL 4.0 transform feedback work
and another important patch-set
from last week. His mailing list message says:
Patches 1-12 are Mesa/Gallium improvements. Most importantly, this adds acceleration of stencil copying (including glBlitFramebuffer) using the shader stencil export functionality. I am afraid r600g and radeonsi are the only drivers which can make use of it at the moment. There is also acceleration for depth texture mipmap generation.
Patches 13-22 are R600 improvements. There is a new derived state for the CB registers which kept cumulating in the draw_vbo function, and some improvements for depth-stencil flushing and uploading. My changes to the CB_TARGET_MASK emission in the compute code (patch #13) might need some review from somebody working on compute.
These patches touch around 1,000 lines of code and fixes 23 depth-stencil Piglit regression tests on r600g.