[Mesa-dev] [Bug 29407] llvm 2.8 asserts: "Tried to create an integer operation on a non-integer type!"
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Aug 6 09:17:33 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=29407
--- Comment #8 from nobled <nobled at dreamwidth.org> 2010-08-06 09:17:33 PDT ---
Created an attachment (id=37642)
View: https://bugs.freedesktop.org/attachment.cgi?id=37642
Review: https://bugs.freedesktop.org/review?bug=29407&attachment=37642
draw: Use the correct type
(In reply to comment #7)
> I looked at the code and found the source of the bug I reported in my previous
> comment. The line 231 in gallivm/lp_bld_arit.c uses the lp_type found in the
> lp_build_context struct, without taking in account the ones of a and b.
I'm pretty sure a and b *have* to both be the same type and be used with a
context that mentions what type they are. If they aren't then it's a bug in
draw_llvm_generate, not the patch...
*checks* Okay, it says 'start' and 'count' are both supposed to be
LLVMInt32Type, but it sets vs_type to lp_type_float_vec(32). Patch attached.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list