st/glsl_to_nir: disable io lowering to temps for tess
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 11 Jan 2018 01:47:31 +0000 (12:47 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 17 Jan 2018 06:14:14 +0000 (17:14 +1100)
commitf69cbb2b53ac3edf7b201ba77430a61471edfa6e
tree720f465f1b46a2ab047441e098084cbf6a387d27
parentaf10ce21fffdbe5222115950878878175823bb27
st/glsl_to_nir: disable io lowering to temps for tess

Lowering these to temps makes a big mess, and results in some
piglit test failures. Also the radeonsi backend (the only backend
to support tess) has support for indirects so there is no need to
lower them anyway.

Fixes the following piglit tests on radeonsi:

tests/spec/arb_tessellation_shader/execution/variable-indexing/tes-input-array-vec3-index-rd.shader_test
tests/spec/arb_tessellation_shader/execution/variable-indexing/tes-input-array-vec4-index-rd.shader_test

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