prog->nir will generate fsub opcodes, but i965 doesn't implement them. We may as well lower them at the NIR level, since it's trivial to do.
Suggested by Connor Abbott.
bf2c3bc nir: Lower subtraction to add with negation when !lower_negate.
src/glsl/nir/nir_opt_algebraic.py | 2 ++
1 file changed, 2 insertions(+)
Upstream: cgit.freedesktop.org