st/glsl_to_nir: use nir_lower_io_arrays_to_elements() to lower arrays
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 15 Nov 2017 03:36:22 +0000 (14:36 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 4 Dec 2017 01:52:18 +0000 (12:52 +1100)
commitc86baf71fbb19fa0ae8f05faba86aec023cde9bc
tree67d5dbded8f6dc30ab9ceb38308144faa3957689
parentd99c7e0ff17208f82f254ef331e60a4005f4f6fa
st/glsl_to_nir: use nir_lower_io_arrays_to_elements() to lower arrays

This pass is more fully featured, it supports geom and tess shaders.
It also supports interpolation intrinsics.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_nir.cpp