st/mesa: call nir_serialize only once per shader
authorMarek Olšák <marek.olsak@amd.com>
Fri, 8 Nov 2019 00:24:57 +0000 (19:24 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 19 Nov 2019 23:02:06 +0000 (18:02 -0500)
commit3a8d6868897c7dfe72bac09c1eddd551144ca751
treea416b2e23d6005de22600da1f5461879db1d43c7
parentdb0c89d4bffa01ab15dfa819dbb518739131e1a9
st/mesa: call nir_serialize only once per shader

It was called twice.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/mesa/state_tracker/st_program.c
src/mesa/state_tracker/st_program.h
src/mesa/state_tracker/st_shader_cache.c