| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
With this commit all explicit Phi emission is now gone.
|
|
|
|
|
|
|
|
|
|
|
|
| |
We can't patch true-block at end-if time, as there is no guarantee that
the block at the beginning of the true stanza is the same at the end of
the true stanza -- other control flow elements may have been emitted half
way the true stanza.
Although this bug surfaced recently with the commit to skip mip filtering
when lod is an integer the bug was always there, although probably it
was avoided until now: e.g., cubemap selection nests if-then-else on the
else stanza, which does not suffer from the same problem.
|
| |
|
|
|
|
| |
No need for for a flow stack anymore.
|
|
|
|
| |
Simply rely on mem2reg pass. It's easier and more reliable.
|
| |
|
|
|
|
|
| |
Don't branch more than once in quick succession. Don't branch at the
end of the shader.
|
|
|
|
| |
Fixes slowdown in isosurf with earlier versions of llvm.
|
|
|
|
|
|
|
| |
Fixes failed assertion with piglit fbo-drawbuffers-fragcolor.c
See fd.o bug 28358.
With 8 color buffers + Z we need to declare 33 vars, at least.
|
| |
|
| |
|
| |
|
|
|
|
| |
Refactor the code to make this easier.
|
|
|
|
|
|
| |
the loop was doing a NE comparison which we could have skipped if the prim
was triangles (3 verts) and our step was 4 verts. also fix offsets in conversion
to aos.
|
|
|
|
| |
Quite a bit a hair pulling was involved...
|
| |
|
|
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.
|