https://bugs.freedesktop.org/show_bug.cgi?id=29407
--- Comment #8 from nobled <nob...@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. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev