Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-05-08 | gallivm: Centralize SoA swizzling into a single place. | José Fonseca | |
2010-05-08 | gallivm: Support predicates. | José Fonseca | |
2010-05-04 | gallivm: Proper implementation of TXL opcode. | José Fonseca | |
2010-05-04 | gallivm: Fix several glitches introduced in the prev commit. | José Fonseca | |
2010-05-04 | gallivm: Implement TXD. | José Fonseca | |
2010-05-04 | gallivm: Increase the TGSI translation limits and centralize them in a header. | José Fonseca | |
2010-05-04 | gallicm: Newton-Raphson step to improve precision. | José Fonseca | |
Disabled as it doesn't make VS/PSPrecision DCT happy, and it would unnecessarily slow some cases where it is not needed. | |||
2010-05-03 | gallivm: Display message instead of crashing when sampler generator was not ↵ | José Fonseca | |
supplied for tgsi translation. | |||
2010-05-03 | gallivm: Replace predicate assertion failure with warning message. | José Fonseca | |
2010-05-02 | gallivm: fix nested break and continue statements | Zack Rusin | |
we were resetting the mask on each new break/continue statement within the same scope. we always need to and the current execution mask with the current break/continue mask to get the correct result (the masks are always ~1 initially) | |||
2010-04-30 | llvmpipe: fix out-of-bounds texture sampling | Brian Paul | |
If we're using a wrap mode in which border color sampling is possible it means that texcoords may be outside of the texture image bounds. Fetching the texel may result in a segfault. Use the 'use_border' variable to catch such texcoords and replace the texel offset with zero (which will be in bounds). Fixes segfault in Lightsmark demo, fd.o bug 27877. | |||
2010-04-30 | llvmpipe: added lp_build_sample_nop() for debugging | Brian Paul | |
2010-04-29 | gallivm: add some assertions in special-case sampler code | Brian Paul | |
2010-04-27 | gallivm: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes. | José Fonseca | |
2010-04-27 | gallivm: Disable llvm.cos.v4f32 and llvm.sin.v4f32 instrinsics on Windows. | José Fonseca | |
Runtime linking doesn't quite work. Just comment then out for now to prevent crashes. These will go away in the future because calling 4 times CRT's cosf()/sinf() is over-precise and under-performing. | |||
2010-04-27 | gallivm: Ensure all allocas are in the first block. | José Fonseca | |
Refactor the code to make this easier. | |||
2010-04-26 | gallivm: BGNFOR/ENDFOR fallthrough to BGNLOOP/ENDLOOP | Alan Hourihane | |
2010-04-26 | llvmpipe: Respect pipe_sampler_view::swizzle_r/g/b/a | José Fonseca | |
This allows u_sampler_view_default_dx9_template to do its magic on DX9. | |||
2010-04-25 | gallivm: Rename variable info to opcode_info. | Vinson Lee | |
Avoid hiding existing variable already named info in outer scope. | |||
2010-04-24 | gallivm: Remove NULL check of pointer that can't be NULL. | Vinson Lee | |
info cannot be NULL at the call to debug_printf. emit_instruction dereferences info, so at debug_printf it is either not NULL or the program has already crashed. | |||
2010-04-24 | llvmpipe: Implement shader bias. | José Fonseca | |
Fixes glean glsl1 test: texture2D(), with bias. | |||
2010-04-24 | gallivm: Centralize the cpu caps detection. | José Fonseca | |
2010-04-24 | gallivm: LLVMConstBitCast -> LLVMBuildBitCast | José Fonseca | |
As the argument in general might not be a constant. | |||
2010-04-22 | gallivm: implement indirect addressing over temporaries | Zack Rusin | |
a bit more involved than indirect addressing over consts, but still fairly reasonable. we allocate an array instead of individual alloca's, and we do it only if the shader does indirect addressing. | |||
2010-04-22 | gallivm: implement indirect addressing over constants | Zack Rusin | |
implement indirect addressing (ARL and ARR instructions) when used with CONST's. indirect addressing over other vars (temps, inputs, outputs) is not supported yet. | |||
2010-04-22 | gallivm: remove Z/stencil special case code in lp_build_sample_offset() | Brian Paul | |
Fixes progs/tests/zreaddraw.c and progs/demos/shadowtex.c | |||
2010-04-22 | gallivm: update comments | Zack Rusin | |
2010-04-22 | gallivm: fix nested cont statements | Zack Rusin | |
2010-04-22 | gallivm: fix nested break statemants | Zack Rusin | |
2010-04-22 | gallivm: make sure we return the correct type when approximating log's | Zack Rusin | |
2010-04-22 | gallivm: Remove unused variable. | Vinson Lee | |
2010-04-21 | gallivm: added some assertions in loop-gen code | Brian Paul | |
We're hitting these assertions with nested loops... | |||
2010-04-21 | gallivm: fix copy&paste error: s/cont_stack_size/break_stack_size/ | Brian Paul | |
2010-04-21 | gallivm: emit_instruction() is boolean | Brian Paul | |
2010-04-21 | gallivm: implement TGSI KILP | Brian Paul | |
As in tgsi_exec.c we don't actually rely on condition codes; we do an unconditional kill. The only predication comes from the execution mask which applies inside loops/conditionals. | |||
2010-04-20 | gallivm: Remove unnecessary headers. | Vinson Lee | |
2010-04-20 | gallivm: Universal format support on lp_build_fetch_rgba_aos via ↵ | José Fonseca | |
util_format_description::fetch_rgba_float This therefore adds support to half float vertex buffers. | |||
2010-04-20 | gallivm: Cleanups and bugfixes to aos format translation. | José Fonseca | |
2010-04-20 | gallivm: New function to fetch a pixel into a 4xfloat AoS vector. | José Fonseca | |
2010-04-20 | gallivm: Bring aos format back to life. | José Fonseca | |
Useful for fetching vertices for formats that are straight arrays. This reverts commit aa364d091e7e2ef2296fb25f92efc79a8c88f77d. | |||
2010-04-19 | gallivm: pass 3D texture stride as an array | Brian Paul | |
This should have been included with the previous commit. | |||
2010-04-19 | gallivm: Remove redundant initialization of dst_vec_type. | Vinson Lee | |
dec_vec_type is already initialized to lp_build_vec_type(dst_type) at its declaration. | |||
2010-04-16 | gallivm/llvmpipe: move lp_bld_blend* files to llvmpipe/ directory | Brian Paul | |
2010-04-16 | gallivm/llvmpipe: move lp_bld_alpha.c to llvmpipe/ directory | Brian Paul | |
2010-04-16 | gallivm/llvmpipe: move lp_bld_depth.[ch] to llvmpipe/ directory | Brian Paul | |
This is specific to the llvmpipe driver and not re-usable. | |||
2010-04-16 | gallivm/llvmpipe: move lp_bld_interp.c to llvmpipe/ directory | Brian Paul | |
This file is specific to the llvmpipe driver and not re-usable. | |||
2010-04-16 | gallivm: init some vars to silence warnings | Brian Paul | |
2010-04-16 | gallivm: remove some old stuff | Brian Paul | |
2010-04-12 | llvmpipe: Respect pipe_sampler_view::format. | José Fonseca | |
2010-04-12 | llvmpipe: pipe_target needs now 3 bits to be represented. | José Fonseca | |