softpipe: Add support for reporting shader-db output.
authorEric Anholt <eric@anholt.net>
Tue, 21 Jul 2020 22:55:40 +0000 (15:55 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jul 2020 00:24:26 +0000 (00:24 +0000)
commit259a03b4f0b04903d348a38bccc8954ef9f83738
treec277e51b238deef8e94ddeb4f16de00bb831fa36
parent991def0edc823293d593fc23d2243556cbdc0ff4
softpipe: Add support for reporting shader-db output.

In doing the softpipe NIR and NIR-to-TGSI transition, I want to make sure
I don't make shaders significantly worse, so I need shader-db output.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6018>
src/gallium/drivers/softpipe/sp_context.c
src/gallium/drivers/softpipe/sp_context.h
src/gallium/drivers/softpipe/sp_state_shader.c