[Bug 93560] opt_combine_constants failing fabsf(reg->f) == table.imm[i].val assertion

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 11 09:33:11 PST 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93560

--- Comment #1 from Matt Turner <mattst88 at gmail.com> ---
I don't know what to say. The shader contains

   vec3((0.0/0.0),(0.0/0.0),(0.0/0.0))

We can change the assert to

   assert(isnan(reg->f) || fabsf(reg->f) == table.imm[i].val);

but I can't believe this is what they intended to do -- it's used directly in
the expression that calculates the color output.

-- 
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/20160111/6b04c20d/attachment.html>


More information about the intel-3d-bugs mailing list