Skip to content

vrend: force gl context switch when sub context changes in query check

Ryan Neph requested to merge ryanneph/virglrenderer:fix-query-check into master

vrend_state.current_hw_context must be invalidated when query checking requires a sub context switch, otherwise gl context switching doesn't actually occur.

Fixes: 48525f0e ("vrend: Track sub-ctx in queries")

Signed-off-by: Ryan Neph ryanneph@google.com

/cc @gerddie @Fahien

Merge request reports

Loading