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:
parent
3b4b962c15
commit
aa055f78ba
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue