glsl: move nir_remap_dual_slot_attributes() call out of glsl_to_nir()
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 6 Dec 2019 02:53:24 +0000 (13:53 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 13 Dec 2019 00:07:19 +0000 (00:07 +0000)
commitc3823d2d2944e8cd1f22bba01390cfb96c245bf7
treeb6319ab09f7e34802b7578b8268e2aa0584b4172
parente37115c912f1a1f426fbc76d40535923d43766f8
glsl: move nir_remap_dual_slot_attributes() call out of glsl_to_nir()

In order to be able to implement a NIR based glsl linker we need to
build the program resource list with NIR. This change delays the
remaping so that a later commit can call the NIR based resource
list builder.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/compiler/glsl/glsl_to_nir.cpp
src/mesa/drivers/dri/i965/brw_program.c
src/mesa/state_tracker/st_glsl_to_nir.cpp