st/mesa: Pull nir_lower_wpos_ytransform work into a helper function.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 25 Oct 2018 09:22:33 +0000 (02:22 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 4 Nov 2018 06:34:34 +0000 (23:34 -0700)
commit5294d65011afa3437322bc53b5909f4e88a9c9f7
treefa3a5a0444a3e603ec65daf2f3180823ebaf1d8a
parent424a6052dfe76d9d6fd3679d79dd7d4d093771e3
st/mesa: Pull nir_lower_wpos_ytransform work into a helper function.

This will let me use it in the ARB program code as well.

Reviewed-by: Rob Clark <robdclark@gmail.com>
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/mesa/state_tracker/st_nir.h