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

--- Comment #1 from Neil Roberts <n...@linux.intel.com> 2010-07-21 11:41:33 PDT 
---
Created an attachment (id=37276)
 View: https://bugs.freedesktop.org/attachment.cgi?id=37276
 Review: https://bugs.freedesktop.org/review?bug=29199&attachment=37276

Add a shader which does a negation as one of the arguments to dot

This is basically doing:

 vec3 a_vec;
 vec3 b_vec;
 /* some random calculations */
 float result = dot(-a_vec, b_vec);

But for some reason it currently gets compiled as if it was:

 vec3 a_vec;
 vec3 b_vec;
 /* some random calculations */
 float result = dot(--a_vec, b_vec);

Ie, the negation gets done twice.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to