nv50: fake enough resume support pre-nva0 to pass gles3 requirements

Graphics / Mesa 3D Graphics Library / Mesa - Ilia Mirkin [alum.mit.edu] - 8 January 2021 18:43 UTC

GLES3 supports pause/resume of xfb. However since there's no geometry shader support in ES3, it's a lot easier to figure out the offsets to use. This makes it work for the dEQP tests at least.

c0171c46263 nv50: fake enough resume support pre-nva0 to pass gles3 requirements
src/gallium/drivers/nouveau/nv50/nv50_context.h | 5 +++++
src/gallium/drivers/nouveau/nv50/nv50_shader_state.c | 17 ++++++++++++-----
src/gallium/drivers/nouveau/nv50/nv50_state.c | 4 +++-
src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 13 +++++++++++++
4 files changed, 33 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share