<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 16, 2014 at 10:31 PM, Connor Abbott <span dir="ltr"><<a href="mailto:cwabbott0@gmail.com" target="_blank">cwabbott0@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">As a future cleanup, would it be worth getting rid of fddx and fddy<br>
entirely and just generating the correct variant based on the<br>
glHint/drirc configuration?<br></blockquote><div><br></div><div>Nope. <a href="https://www.opengl.org/registry/specs/ARB/derivative_control.txt">https://www.opengl.org/registry/specs/ARB/derivative_control.txt</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div class="h5"><br>
On Tue, Dec 16, 2014 at 1:04 AM, Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>> wrote:<br>
> ---<br>
> src/glsl/nir/nir_opcodes.h | 4 ++++<br>
> 1 file changed, 4 insertions(+)<br>
><br>
> diff --git a/src/glsl/nir/nir_opcodes.h b/src/glsl/nir/nir_opcodes.h<br>
> index bee4bd1..9a7a2ab 100644<br>
> --- a/src/glsl/nir/nir_opcodes.h<br>
> +++ b/src/glsl/nir/nir_opcodes.h<br>
> @@ -111,6 +111,10 @@ UNOP(fcos_reduced, nir_type_float)<br>
> /*@{*/<br>
> UNOP(fddx, nir_type_float)<br>
> UNOP(fddy, nir_type_float)<br>
> +UNOP(fddx_fine, nir_type_float)<br>
> +UNOP(fddy_fine, nir_type_float)<br>
> +UNOP(fddx_coarse, nir_type_float)<br>
> +UNOP(fddy_coarse, nir_type_float)<br>
> /*@}*/<br>
><br>
> /**<br>
> --<br>
> 2.2.0<br>
><br>
</div></div>> _______________________________________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div></div></div>