commit | 0aca04afa585e87bc900fb3b9c19c92d78b3e8f7 | [log] [tgz] |
---|---|---|
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | Mon Jun 22 13:33:21 2020 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Tue Jun 23 07:45:03 2020 +0000 |
tree | 1e24711d9775f8ac8b3dd02a7f7dc5d8628bedb5 | |
parent | e0518800a1256a98588f1cb9dcc89e7346756b1a [diff] |
aco: fix printing ASM on GFX6-7 again Checking errno is actually wrong because it's only updated if popen() fails (ie. NULL). One solution is to check if the first line is empty. Fixes: c95d258d1bc ("aco: fix printing ASM on GFX6-7 if clrxdisasm is not found") Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5591>