vrend_clear is passed in from gallium clear which, unlike glClear, must not obey rasterizer discard and depth_clmap. However, the guest doesn't foreard the latest update of the rendering states to the host before issuing "clear". Therefore, the host clear command must clear these states before calling glClear in turn. After calling glClear these states are again brought into sync with what the host assumes. Fixes CTS: dEQP-GLES3.functional.rasterizer_discard.fbo.* Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>macos/master
parent
9f1fe32c9c
commit
bab29c2243
Loading…
Reference in new issue