st/glsl_to_nir: move nir_lower_io to drivers
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 4 Jul 2017 08:23:49 +0000 (10:23 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 31 Jul 2017 12:55:30 +0000 (14:55 +0200)
commite044e9eb2af2835446a9d72ad1e555f8c2e7cb80
tree3bb2d655b5e6ca603697c20902c5ecff2ed97780
parentc5f97eab094c43cedcb2218599a1f0aa51b16238
st/glsl_to_nir: move nir_lower_io to drivers

This allows drivers more freedom in how exactly they want to lower I/O,
e.g. first lowering I/O to temporaries.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/freedreno/ir3/ir3_shader.c
src/gallium/drivers/vc4/vc4_program.c
src/mesa/state_tracker/st_glsl_to_nir.cpp