st/glsl_to_nir: skip forced array splitting for tcs
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 12 Dec 2017 02:49:41 +0000 (13:49 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 13 Dec 2017 02:20:28 +0000 (13:20 +1100)
commitdd119a4263452a36e9d4938a39ddbc8d6bf298f7
tree505fe9574d8f44a66b3f230e28c8a575e3836d2f
parentacab52f5201683ec3f3698d25045ed1441ecdd14
st/glsl_to_nir: skip forced array splitting for tcs

nir_lower_io_to_temporaries() does not support tcs so we cannot
assume there are no indirects here. Also the radeonsi backend
(the only backend to support tess) has support for tcs indirects
so there is no need to lower them anyway.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_glsl_to_nir.cpp