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 <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10608>
This commit is contained in:
Gert Wollny 2021-05-14 18:47:50 +02:00
parent 3b4b962c15
commit aa055f78ba
1 changed files with 1 additions and 1 deletions

View File

@ -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);