nir: replace .lower_sub with .has_fsub and .has_isub

This allows a more fine-grained control about whether
a backend supports one of these instructions.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6597>
This commit is contained in:
Daniel Schürmann
2020-09-04 11:24:26 +01:00
committed by Marge Bot
parent b3ce55b445
commit bd8e84eb8d
22 changed files with 37 additions and 15 deletions

View File

@@ -30,7 +30,6 @@
#include "util/debug.h"
#define COMMON_OPTIONS \
.lower_sub = true, \
.lower_fdiv = true, \
.lower_scmp = true, \
.lower_flrp16 = true, \