mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue