[Bug 92760] Add FP64 support to the i965 shader backends
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jan 18 08:14:39 PST 2016
https://bugs.freedesktop.org/show_bug.cgi?id=92760
--- Comment #32 from Samuel Iglesias <siglesias at igalia.com> ---
I found an issue related to the opt_algebraic passes after we lowered lrp
instruction when it has double-based types as arguments (lrp instruction does
not support doubles in BDW).
Currently, the lowering of double ops run as part the optimization loop in
nir_optimize(). In that lowering function, I converted the lrp to its
equivalent mathematical function when we have doubles as arguments... which is
reverted by opt_algebraic() in next iteration of the optimization loop :-)
My idea is: remove my lrp's lowering pass, add a new flag in
nir_shader_compiler_options called 'lower_lrp_doubles' and modify
nir_opt_algebraic.py to run its lrp's lowering when the arguments are doubles,
if that flag is enabled. Any driver that does not support lrp with double
arguments, just enable that nir option in its configuration.
I would like to know your opinion about this solution before implementing it.
Do you have other solutions in mind?
Thanks!
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160118/7d545731/attachment.html>
More information about the intel-3d-bugs
mailing list