Skip to content

virgl: Implement clear_render_target and clear_depth_stencil

Max R requested to merge max8rr8/mesa:virgl_clear_surface into main

As part of Virtio GPU 3D acceleration for windows clear_render_target and clear_depth_stencil are required. And as requested there they should be implemented as new command.

To support gallium clear_render_target and clear_depth_stencil command VIRGL_CCMD_CLEAR_SURFACE, that clears specific virgl surface, is introduced.

virglrenderer counterpart: virgl/virglrenderer!1289 (merged)

Edited by Max R

Merge request reports