diff options
author | Dave Airlie <[email protected]> | 2018-03-07 03:24:25 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-03-07 03:34:59 +0000 |
commit | fb077b072823ecb193f4494daeceddf0f21aede2 (patch) | |
tree | f925876aea03d8c0d2962ca12158305e903e2d43 /src/amd/common/ac_surface.h | |
parent | 38e91e2b81104795283d41a6694568138d575540 (diff) |
ac/nir: don't put lod into args if it's zero.
If it's zero but put it in args we still end up consuming a
register for it.
This fixes some spilling in the NIR paths in Dirt Rally that
isn't seen with TGSI.
Reviewed-by: Timothy Arceri <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common/ac_surface.h')
0 files changed, 0 insertions, 0 deletions