r600/sfn: set info about using helper_invocation to skip sb

sb can't handle helper invocations, so skip sb when it is used.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9330>
This commit is contained in:
Gert Wollny 2021-02-26 16:33:41 +01:00
parent c427ed7ffe
commit 7d94d759fa

View file

@ -270,6 +270,7 @@ bool FragmentShaderFromNir::scan_sysvalue_access(nir_instr *instr)
break;
case nir_intrinsic_load_helper_invocation:
m_sv_values.set(es_helper_invocation);
sh_info().uses_helper_invocation = true;
break;
case nir_intrinsic_load_input:
return process_load_input(ii, false);