[Mesa-dev] [PATCH 031/133] nir: Add fine and coarse derivative opcodes

Jason Ekstrand jason at jlekstrand.net
Mon Dec 15 22:04:41 PST 2014


---
 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 bee4bd1..9a7a2ab 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.2.0



More information about the mesa-dev mailing list