nir: Add fine and coarse derivative opcodes
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 15 Oct 2014 23:56:43 +0000 (16:56 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:18:59 +0000 (07:18 -0800)
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir_opcodes.h

index bee4bd106b9aa223bebd7d2513599885bf8fd2c8..9a7a2ab5c307044c860170adb39cbe8c4f17341f 100644 (file)
@@ -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)
 /*@}*/
 
 /**