diff options
author | Samuel Pitoiset <[email protected]> | 2018-01-15 13:47:18 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-01-15 13:47:18 +0100 |
commit | 8045f01e2a1879b1266281e64fe292b038766168 (patch) | |
tree | b6738be17bbe3af612aec71d8ce405801aa391a2 /src/amd/common/ac_shader_info.c | |
parent | 5842cb0df1270cd347a12cc90be80354dc4d7c28 (diff) |
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.
Diffstat (limited to 'src/amd/common/ac_shader_info.c')
-rw-r--r-- | src/amd/common/ac_shader_info.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/amd/common/ac_shader_info.c b/src/amd/common/ac_shader_info.c index 72612618505..5716ec043d5 100644 --- a/src/amd/common/ac_shader_info.c +++ b/src/amd/common/ac_shader_info.c @@ -106,10 +106,6 @@ gather_intrinsic_info(const nir_intrinsic_instr *instr, mark_sampler_desc(instr->variables[0]->var, info); break; } - case nir_intrinsic_load_tess_level_inner: - case nir_intrinsic_load_tess_level_outer: - info->tes.reads_tess_factors = true; - break; default: break; } |