r600/sfn: No need to pin LDS dests to chan
authorGert Wollny <gert.wollny@collabora.com>
Tue, 6 Dec 2022 07:16:54 +0000 (08:16 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 9 Dec 2022 08:26:31 +0000 (08:26 +0000)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20205>

src/gallium/drivers/r600/sfn/sfn_valuefactory.cpp

index 765411a..de38efc 100644 (file)
@@ -515,7 +515,7 @@ ValueFactory::dest_vec(const nir_dest& dst, int num_components)
    std::vector<PRegister, Allocator<PRegister>> retval;
    retval.reserve(num_components);
    for (int i = 0; i < num_components; ++i)
-      retval.push_back(dest(dst, i, num_components > 1 ? pin_chan : pin_free));
+      retval.push_back(dest(dst, i, num_components > 1 ? pin_none : pin_free));
    return retval;
 }