Revert "ac/shader: gather If TES reads TESSINNER or TESSOUTER"
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 15 Jan 2018 12:47:18 +0000 (13:47 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 15 Jan 2018 12:47:18 +0000 (13:47 +0100)
commit8045f01e2a1879b1266281e64fe292b038766168
treeb6738be17bbe3af612aec71d8ce405801aa391a2
parent5842cb0df1270cd347a12cc90be80354dc4d7c28
Revert "ac/shader: gather If TES reads TESSINNER or TESSOUTER"

This can't work for two reasons:
- TESSINNER/TESSOUTER are shader input values, so never translated
to the intrinsic ops
- the shader info pass scans the current stage but we want to know
in TCS, if TES reads the tess factors.

This fixes 6 regressions related to
deqp-vk/tessellation/shader_input_output/tess_level_{inner,outer}_XXX_tes

This reverts commit 5ba1a61648e2dea96f621a5886ad8b937a471ab4.
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_nir_to_llvm.h
src/amd/common/ac_shader_info.c
src/amd/common/ac_shader_info.h
src/amd/vulkan/radv_pipeline.c