From 8045f01e2a1879b1266281e64fe292b038766168 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 15 Jan 2018 13:47:18 +0100 Subject: 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_shader_info.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/amd/common/ac_shader_info.c') 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; } -- cgit v1.2.3