Age | Commit message (Collapse) | Author |
|
The field was redundant. Use the gallivm->builder value instead.
|
|
This branch defines a gallivm_state structure which contains the
LLVMBuilderRef, LLVMContextRef, etc. All data structures built with
this object can be periodically freed during a "garbage collection"
operation.
The gallivm_state object has to be passed to most of the builder
functions where LLVMBuilderRef used to be used.
Conflicts:
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
src/gallium/drivers/llvmpipe/lp_state_setup.c
|
|
Doesn't change generated code quality, but saves some typing.
|
|
|
|
The permutation vector must always be a vector of int32 values.
|
|
More accurate description of this function purpose.
|
|
Much more convenient than boolean arrays.
|
|
And rename to lp_build_swizzle_aos().
|
|
Unnecessary special case.
|
|
lp_build_broadcast_scalar()."
This reverts commit a09e46c72461183c879d8472b44fe740ecc79b9f.
|
|
It produces exactly the same machine code, but it cuts 5% of the
number of instructions generated for a typical shader.
Also, preserve the scalar when length is 1.
|
|
Also start axing the code duplication for scalar case. The olution is to
treat the scalar case specially in a few innermost functions, and leave
outer functions untouched.
|
|
|
|
|
|
the llvmpipe tgsi translation is a lot more complete than what was in
gallivm so replacing the latter with the former. this is needed since
the draw llvm paths will use the same code. effectively the proven
llvmpipe code becomes gallivm.
|