st/glsl: set req_local_mem earlier for compute shaders
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 5 Feb 2018 04:45:32 +0000 (15:45 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 13 Feb 2018 03:43:05 +0000 (14:43 +1100)
commit94fa090fada8394c8569191b5ebfc46c037f20ba
tree3ef630d85045a63e06515a24976c3f3706b60ce7
parent6b1e26e181fbe7fd64b42a0b77f80535be4d7690
st/glsl: set req_local_mem earlier for compute shaders

Without this change it will never be set for backends using nir.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_program.c