From 8c75a7ce590e0802cea7d64c28e22bee7c013e16 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 15 Oct 2014 16:56:43 -0700 Subject: [PATCH] nir: Add fine and coarse derivative opcodes Reviewed-by: Connor Abbott --- src/glsl/nir/nir_opcodes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/glsl/nir/nir_opcodes.h b/src/glsl/nir/nir_opcodes.h index bee4bd106b9..9a7a2ab5c30 100644 --- a/src/glsl/nir/nir_opcodes.h +++ b/src/glsl/nir/nir_opcodes.h @@ -111,6 +111,10 @@ UNOP(fcos_reduced, nir_type_float) /*@{*/ UNOP(fddx, nir_type_float) UNOP(fddy, nir_type_float) +UNOP(fddx_fine, nir_type_float) +UNOP(fddy_fine, nir_type_float) +UNOP(fddx_coarse, nir_type_float) +UNOP(fddy_coarse, nir_type_float) /*@}*/ /** -- 2.30.2