diff options
author | Jason Ekstrand <[email protected]> | 2014-10-15 16:56:43 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 07:18:59 -0800 |
commit | 8c75a7ce590e0802cea7d64c28e22bee7c013e16 (patch) | |
tree | f4bb08d966b544d0bff707e926fcdf74777e19e3 /src/glsl/nir | |
parent | 458a6ce500998e6f463d29641060a1672e01c620 (diff) |
nir: Add fine and coarse derivative opcodes
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/nir')
-rw-r--r-- | src/glsl/nir/nir_opcodes.h | 4 |
1 files changed, 4 insertions, 0 deletions
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) /*@}*/ /** |