radeonsi/gfx10: fix the legacy pipeline by storing as_ngg in the shader cache
authorMarek Olšák <marek.olsak@amd.com>
Tue, 20 Aug 2019 17:20:07 +0000 (13:20 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 27 Aug 2019 20:16:08 +0000 (16:16 -0400)
commit810846e157cb7fe37041fa009f3ec6a3234935a2
tree9b2d4d0fdcf077fd6e6250f0fb59f7e889c13086
parent6342d43ae90b47f709516371fce9d2ad46608eab
radeonsi/gfx10: fix the legacy pipeline by storing as_ngg in the shader cache

It could load an NGG shader when we want a legacy shader and vice versa.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_shaders.c