Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-04-29 | cso: remove commented-out code, update function docs | Brian Paul | |
2010-04-29 | gallivm: add some assertions in special-case sampler code | Brian Paul | |
2010-04-29 | gallium/draw: Fix PPC compiler warning. | Michel Dänzer | |
2010-04-29 | gallium/draw: Fix PPC build failure. | Michel Dänzer | |
2010-04-28 | draw: remove extra semicolons | Brian Paul | |
2010-04-28 | draw: use a cast wrapper | Brian Paul | |
2010-04-28 | draw: put 'create' in the vs varient create function names | Brian Paul | |
2010-04-28 | draw: add missing function parameter | Brian Paul | |
2010-04-28 | gallium/util: convert //-style comments | Brian Paul | |
2010-04-28 | gallium/util: convert //-style comments | Brian Paul | |
2010-04-27 | tgsi: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes. | José Fonseca | |
2010-04-27 | gallivm: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes. | José Fonseca | |
2010-04-27 | util: fix assorted problems in the image packing functions | Brian Paul | |
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 | draw/llvm: implement fetch elts paths | Zack Rusin | |
we were only running the llvm paths when the input elts were linear, now we can handle abritrary fetch elts arrays. we do this by generating two paths - linear and fetch_elts one and just selecting the right one at run time. | |||
2010-04-26 | gallivm: BGNFOR/ENDFOR fallthrough to BGNLOOP/ENDLOOP | Alan Hourihane | |
2010-04-26 | draw: Always use the llvm middle end when available & enabled. | José Fonseca | |
2010-04-26 | draw: Pass-through pipe_buffer::max_index to translate. | José Fonseca | |
max_index must be observed to prevent crashes due to bad index data. I've been using this patch for some time without regressions. Some places, where we use internal vertex buffer, it is not entirely clear what max_index should be, so passing just ~0 to avoid regressions for now. | |||
2010-04-26 | translate: Take and respect a max_index argument. | José Fonseca | |
2010-04-26 | os: Check for spurious wakeups in pipe_barrier_wait. | Vinson Lee | |
The POSIX function pthread_cond_wait can have spurious wakeups when waiting on a condition variable. Add a 64-bit counter that is incremented whenever the barrier becomes full. A woken thread checks the counter. If the counter has not changed then it has been spuriously woken and goes back to sleep. If the counter has changed then it was properly signaled and exits the barrier. Tested on Mac OS X. This patch was based on ideas from Luca Barbieri. | |||
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 | draw: Respect pipe_vertex_buffer::max_index in llvm generated code. | José Fonseca | |
Everybody should respect max_index, specially llvm generated code, which likes to eat vertices 4 at a time, so it may end up chew a bit a bit more than actually exists. | |||
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 | util: Add missing static keyword. | José Fonseca | |
2010-04-24 | util: Fix unsigned <-> ptr conversions. | José Fonseca | |
2010-04-24 | gallivm: Centralize the cpu caps detection. | José Fonseca | |
2010-04-24 | cso_cache: Ensure irrelevant state of the blend state is zeroed. | José Fonseca | |
Otherwise drivers that bake the full blend state in a key end up having uninitialized memory in their key. Courtesy of valgrind. | |||
2010-04-24 | gallivm: LLVMConstBitCast -> LLVMBuildBitCast | José Fonseca | |
As the argument in general might not be a constant. | |||
2010-04-23 | gallium: In option helpers, move assignment outside of if clause. | Vinson Lee | |
This silences Coverity assign_where_compare_meant warnings. | |||
2010-04-23 | gallium/util: document that pack/unpack strides are in bytes | Brian Paul | |
2010-04-23 | gallium/draw: remove old comment | Brian Paul | |
2010-04-23 | gallium: Convert some uses of get option to static | Jakob Bornecrantz | |
2010-04-23 | gallium: Add static get option helpers | Jakob Bornecrantz | |
2010-04-23 | gallium: Add option to not print options | Jakob Bornecrantz | |
2010-04-23 | gallium: s/free/FREE/ and same for friends. | José Fonseca | |
Based on Stephen Johnson's feedback. | |||
2010-04-23 | draw: use FREE() instead of free() | Stephen Johnson | |
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 | u_format: Reduce code duplication. | José Fonseca | |
2010-04-22 | gallivm: Remove unused variable. | Vinson Lee | |
2010-04-21 | gallium/util: Fix deviation calculation in u_cache. | Vinson Lee | |
The approximate deviation calculation was using the entire cache's total instead of each cache entry's total. | |||
2010-04-21 | gallivm: added some assertions in loop-gen code | Brian Paul | |
We're hitting these assertions with nested loops... |