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_nir_to_llvm.h | |
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_nir_to_llvm.h')
-rw-r--r-- | src/amd/common/ac_nir_to_llvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.h b/src/amd/common/ac_nir_to_llvm.h index 70cecd6a624..1737866166e 100644 --- a/src/amd/common/ac_nir_to_llvm.h +++ b/src/amd/common/ac_nir_to_llvm.h @@ -55,6 +55,7 @@ struct ac_tcs_variant_key { struct ac_vs_variant_key vs_key; unsigned primitive_mode; unsigned input_vertices; + uint32_t tes_reads_tess_factors:1; }; struct ac_fs_variant_key { |