st/mesa: assign driver locations for VS inputs for NIR before caching
authorMarek Olšák <marek.olsak@amd.com>
Fri, 18 Oct 2019 17:02:15 +0000 (13:02 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 24 Oct 2019 01:12:52 +0000 (21:12 -0400)
commit28199aeee5254d195b63a71c290a365da4496f75
tree240055f5e25aa5c80218a6a4d967c692c5b62d27
parenteaffdad10820661172aa8808cc20c00bc928809e
st/mesa: assign driver locations for VS inputs for NIR before caching

fix up edge flags in the NIR pass, because st/mesa doesn't touch the inputs
after caching

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir_lower_passthrough_edgeflags.c
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/mesa/state_tracker/st_nir.h
src/mesa/state_tracker/st_nir_builtins.c
src/mesa/state_tracker/st_program.c