glspirv: Don't re-use entry_point pointer from spirv_to_nir
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Sun, 19 May 2019 06:57:25 +0000 (23:57 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 29 May 2019 17:34:30 +0000 (10:34 -0700)
commitee59bac9f4db46c48a13fd5ee5e804f6a625ecea
treeebef61521b78a147ba1e6acc10bab314e0258ce3
parentc92d0029822f55aeb8e015d865dd4076f0e70062
glspirv: Don't re-use entry_point pointer from spirv_to_nir

Replace its use with checking for is_entrypoint.

This is a preparation to change spirv_to_nir() return type.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/glspirv.c