Module: Mesa Branch: main Commit: aa055f78bad48d526907b094eb61f1e7502f401c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa055f78bad48d526907b094eb61f1e7502f401c
Author: Gert Wollny <[email protected]> Date: Fri May 14 18:47:50 2021 +0200 r600/sfn: Don't check the faction when searching for the input slot All loads from the same driver location are merged into one variable, so there is no need to check the frachtion. Signed-off-by: Gert Wollny <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10608> --- src/gallium/drivers/r600/sfn/sfn_shaderio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/sfn/sfn_shaderio.cpp b/src/gallium/drivers/r600/sfn/sfn_shaderio.cpp index 1ac94ccc786..07cbebcb223 100644 --- a/src/gallium/drivers/r600/sfn/sfn_shaderio.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_shaderio.cpp @@ -416,7 +416,7 @@ ShaderInput& ShaderIO::input(size_t driver_loc, int frac) continue; auto& v = static_cast<ShaderInputVarying&>(*i); - if (v.location() == driver_loc && v.location_frac() == frac) + if (v.location() == driver_loc) return v; } return input(driver_loc); _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
