mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 17:00:09 +01:00
r600/sfn: Fix FS primid input slot
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20451>
This commit is contained in:
parent
c69f2fe5fd
commit
ff4de13c70
1 changed files with 2 additions and 1 deletions
|
|
@ -69,7 +69,8 @@ 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 && chip_class() >= ISA_CC_EVERGREEN;
|
||||
if (chip_class() >= ISA_CC_EVERGREEN)
|
||||
sh_info->ps_prim_id_input = m_ps_prim_id_input;
|
||||
sh_info->nsys_inputs = m_nsys_inputs;
|
||||
sh_info->uses_helper_invocation = m_helper_invocation != nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue