summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2014-10-15 16:56:43 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2015-01-15 07:18:59 -0800
commit8c75a7ce590e0802cea7d64c28e22bee7c013e16 (patch)
treef4bb08d966b544d0bff707e926fcdf74777e19e3 /src/glsl
parent458a6ce500998e6f463d29641060a1672e01c620 (diff)
downloadexternal_mesa3d-8c75a7ce590e0802cea7d64c28e22bee7c013e16.zip
external_mesa3d-8c75a7ce590e0802cea7d64c28e22bee7c013e16.tar.gz
external_mesa3d-8c75a7ce590e0802cea7d64c28e22bee7c013e16.tar.bz2
nir: Add fine and coarse derivative opcodes
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/nir/nir_opcodes.h4
1 files changed, 4 insertions, 0 deletions
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)
/*@}*/
/**