r600/sfn: Use a low number for unused target register
This reduces the number of registers reserved by the shader
units and makes more threads possible.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6856
Fixes: 79ca456b48
r600/sfn: rewrite NIR backend
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/18212>
This commit is contained in:
@@ -682,7 +682,7 @@ bool TexInstr::emit_tex_txd(nir_tex_instr *tex, Inputs& src, Shader& shader)
|
||||
<< "' (" << __func__ << ")\n";
|
||||
|
||||
auto dst = vf.dest_vec4(tex->dest, pin_group);
|
||||
RegisterVec4 empty_dst(126, false, {0,0,0,0}, pin_group);
|
||||
RegisterVec4 empty_dst(0, false, {0,0,0,0}, pin_group);
|
||||
|
||||
auto swizzle = src.swizzle_from_ncomps(tex->coord_components);
|
||||
|
||||
|
Reference in New Issue
Block a user