mesa/st: Don't expect prog->nir to already exist
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 22 Aug 2019 18:23:51 +0000 (11:23 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 10 Sep 2019 21:36:46 +0000 (14:36 -0700)
commit1a12b0fe36fa50d8591c998723e25bdfbdea8b9e
tree9c9b20527c981b5ea6df8a508d80f5beee77d61f
parentb4b39d9859f96ea18fa14001b96b9fb865ba9576
mesa/st: Don't expect prog->nir to already exist

There's no such case, if we load prog->nir from the shader cache, we
shouldn't hit this path.

Suggested-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/state_tracker/st_glsl_to_nir.cpp