i965: Move _mesa_shader_write_subroutine_indices down a level.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 20 Oct 2017 22:50:28 +0000 (15:50 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 24 Oct 2017 23:13:59 +0000 (16:13 -0700)
commit90ed2a10bb3b3c3560a9c6874663ab2026993b02
tree700e3ef430146ad9c068f51fdf49ad0f945f7e24
parenta5499b639c96716ff7ce62502115c0fd453a078e
i965: Move _mesa_shader_write_subroutine_indices down a level.

Now we call it in one place instead of making every caller do it.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/gen6_constant_state.c
src/mesa/drivers/dri/i965/genX_state_upload.c