r600/sfn: Handle primitive input handling for pre-EG

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Filip Gawin <filip@gawin.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17822>
This commit is contained in:
Gert Wollny 2022-07-29 19:13:51 +02:00 committed by Marge Bot
parent be7bd71a86
commit 82437c69c4

View file

@ -70,7 +70,8 @@ void FragmentShader::do_get_shader_info(r600_shader *sh_info)
sh_info->rat_base = m_rat_base;
sh_info->uses_kill = m_uses_discard;
sh_info->gs_prim_id_input = m_gs_prim_id_input;
sh_info->ps_prim_id_input = m_ps_prim_id_input;
sh_info->ps_prim_id_input = m_ps_prim_id_input &&
chip_class() >= ISA_CC_EVERGREEN;
sh_info->nsys_inputs = m_nsys_inputs;
sh_info->uses_helper_invocation = m_helper_invocation != nullptr;
}