summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/lp_bld_flow.c
AgeCommit message (Collapse)Author
2010-10-17gallivm: Comment lp_build_insert_new_block().José Fonseca
2010-10-10gallivm: Use variables instead of Phis in loops.José Fonseca
With this commit all explicit Phi emission is now gone.
2010-10-10gallivm: Fix a long standing bug with nested if-then-else emission.José Fonseca
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.
2010-10-09gallivm: Cleanup the rest of the flow module.José Fonseca
2010-10-09gallivm: Simplify if/then/else implementation.José Fonseca
No need for for a flow stack anymore.
2010-10-09gallivm: Remove support for Phi generation.José Fonseca
Simply rely on mem2reg pass. It's easier and more reliable.
2010-10-09gallivm: Don't generate Phis for execution mask.José Fonseca
2010-10-09llvmpipe: try to be sensible about whether to branch after mask updatesKeith Whitwell
Don't branch more than once in quick succession. Don't branch at the end of the shader.
2010-10-09llvmpipe: store zero into all alloca'd valuesKeith Whitwell
Fixes slowdown in isosurf with earlier versions of llvm.
2010-06-02gallivm: bump up LP_BUILD_FLOW_MAX_VARIABLESBrian Paul
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.
2010-05-27gallivm: add assertions to check type of phi variablesBrian Paul
2010-05-20gallivm: fix spelling in commentBrian Paul
2010-05-08gallivm: Fix segfaul when inserting allocas in an empty function.José Fonseca
2010-04-27gallivm: Ensure all allocas are in the first block.José Fonseca
Refactor the code to make this easier.
2010-04-06draw llvm: fix loop iteration and vertex header offsetsZack Rusin
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.
2010-03-12gallivm: fix bugs in nested if/then/else codegenBrian Paul
Quite a bit a hair pulling was involved...
2010-03-10gallivm: implement loopsZack Rusin
2010-02-08llvmpipe: export the tgsi translation code to a common layerZack Rusin
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.