Dave,
The series looks great.
Just this one patch seems off: LLVMTypeOf(scalar) should always match
bld->elem_type, and it would only match bld->int_elem_type if the type itself
is an integer. Therefore it seems that the caller is using an integer scalar
with a floating point build context whe
From: Dave Airlie
This adds an undefined int type and uses it for broadcasting
instead of the float type.
Signed-off-by: Dave Airlie
---
src/gallium/auxiliary/gallivm/lp_bld_swizzle.c | 15 +++
src/gallium/auxiliary/gallivm/lp_bld_type.c|1 +
src/gallium/auxiliary/gallivm