st/mesa: add st_variant base class to simplify code for shader variants
authorMarek Olšák <marek.olsak@amd.com>
Mon, 25 Nov 2019 22:58:45 +0000 (17:58 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 26 Nov 2019 20:14:10 +0000 (15:14 -0500)
commited1ff99da7026de3bb10ab4219f75424116124b1
treef29626d0454ce27af0452a94e0545d46dfd5ded0
parentb8772a559a223be0817ba3abb4392d559fee9891
st/mesa: add st_variant base class to simplify code for shader variants

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/state_tracker/st_atom_shader.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_program.c
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/mesa/state_tracker/st_program.c
src/mesa/state_tracker/st_program.h
src/mesa/state_tracker/st_shader_cache.c