2016-07-22 12:28 GMT+02:00 Józef Kucia jkucia@codeweavers.com:
- if (!gl_info->supported[ARB_DERIVATIVE_CONTROL])
- {
FIXME("OpenGL implementation does not support ARB_derivative_control.\n");
return;
- }
What about using the generic dFdx()/dFdy() builtins (maybe with a WARN) for the coarse and fine variants when ARB_derivative_control isn't supported? I don't know that it's particularly relevant in practice, it just seems something we don't need to strictly depend on.
On Tue, Jul 26, 2016 at 1:41 AM, Matteo Bruni matteo.mystral@gmail.com wrote:
What about using the generic dFdx()/dFdy() builtins (maybe with a WARN) for the coarse and fine variants when ARB_derivative_control isn't supported? I don't know that it's particularly relevant in practice, it just seems something we don't need to strictly depend on.
I have no idea if this is issue in practice but wined3d currently requires ARB_derivative_control for SM5. I guess we can add a fallback to dFdx()/dFdy() if we find an OpenGL implementation which is otherwise capable to support SM5 but doesn't expose ARB_derivative_control.