diff options
author | Hans de Goede <[email protected]> | 2016-04-21 13:51:14 +0200 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2016-04-27 16:11:48 +0200 |
commit | 90f45357abd4f0007aa3f047464b43188fed4ef1 (patch) | |
tree | 81c444910d4c72704ee8182d0712d353401e896b /src/gallium/drivers/svga | |
parent | 1958397a587919e4a3ec83441c3717813ba2f18b (diff) |
nouveau: codegen: LOAD: Do not call fetchSrc(1) if the address is immediate
"off" later gets set to NULL when the address is immediate, so move the
fetchSrc(1) call to the non-immediate branch of the if-else. This brings
handleLOAD's offset handling inline with how it is done in handleSTORE.
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
0 files changed, 0 insertions, 0 deletions