Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cso_cache: Ensure irrelevant state of the blend state is zeroed. | José Fonseca | 2010-04-24 | 1 | -0/+1 |
| | | | | | | | Otherwise drivers that bake the full blend state in a key end up having uninitialized memory in their key. Courtesy of valgrind. | ||||
* | gallivm: LLVMConstBitCast -> LLVMBuildBitCast | José Fonseca | 2010-04-24 | 1 | -2/+4 |
| | | | | As the argument in general might not be a constant. | ||||
* | gallium: In option helpers, move assignment outside of if clause. | Vinson Lee | 2010-04-23 | 1 | -3/+9 |
| | | | | This silences Coverity assign_where_compare_meant warnings. | ||||
* | gallium/util: document that pack/unpack strides are in bytes | Brian Paul | 2010-04-23 | 1 | -0/+10 |
| | |||||
* | gallium/draw: remove old comment | Brian Paul | 2010-04-23 | 1 | -1/+0 |
| | |||||
* | gallium: Convert some uses of get option to static | Jakob Bornecrantz | 2010-04-23 | 2 | -5/+12 |
| | |||||
* | gallium: Add static get option helpers | Jakob Bornecrantz | 2010-04-23 | 1 | -0/+33 |
| | |||||
* | gallium: Add option to not print options | Jakob Bornecrantz | 2010-04-23 | 1 | -10/+32 |
| | |||||
* | gallium: s/free/FREE/ and same for friends. | José Fonseca | 2010-04-23 | 1 | -1/+1 |
| | | | | Based on Stephen Johnson's feedback. | ||||
* | draw: use FREE() instead of free() | Stephen Johnson | 2010-04-23 | 1 | -1/+1 |
| | |||||
* | gallivm: implement indirect addressing over temporaries | Zack Rusin | 2010-04-22 | 3 | -39/+73 |
| | | | | | | 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. | ||||
* | gallivm: implement indirect addressing over constants | Zack Rusin | 2010-04-22 | 1 | -14/+36 |
| | | | | | | implement indirect addressing (ARL and ARR instructions) when used with CONST's. indirect addressing over other vars (temps, inputs, outputs) is not supported yet. | ||||
* | gallivm: remove Z/stencil special case code in lp_build_sample_offset() | Brian Paul | 2010-04-22 | 1 | -46/+8 |
| | | | | Fixes progs/tests/zreaddraw.c and progs/demos/shadowtex.c | ||||
* | gallivm: update comments | Zack Rusin | 2010-04-22 | 1 | -3/+12 |
| | |||||
* | gallivm: fix nested cont statements | Zack Rusin | 2010-04-22 | 1 | -1/+1 |
| | |||||
* | gallivm: fix nested break statemants | Zack Rusin | 2010-04-22 | 1 | -2/+3 |
| | |||||
* | gallivm: make sure we return the correct type when approximating log's | Zack Rusin | 2010-04-22 | 1 | -1/+3 |
| | |||||
* | u_format: Reduce code duplication. | José Fonseca | 2010-04-22 | 1 | -118/+97 |
| | |||||
* | gallivm: Remove unused variable. | Vinson Lee | 2010-04-22 | 1 | -3/+0 |
| | |||||
* | gallium/util: Fix deviation calculation in u_cache. | Vinson Lee | 2010-04-21 | 1 | -1/+1 |
| | | | | | The approximate deviation calculation was using the entire cache's total instead of each cache entry's total. | ||||
* | gallivm: added some assertions in loop-gen code | Brian Paul | 2010-04-21 | 1 | -1/+6 |
| | | | | We're hitting these assertions with nested loops... | ||||
* | gallivm: fix copy&paste error: s/cont_stack_size/break_stack_size/ | Brian Paul | 2010-04-21 | 1 | -1/+1 |
| | |||||
* | gallivm: emit_instruction() is boolean | Brian Paul | 2010-04-21 | 1 | -39/+44 |
| | |||||
* | gallivm: implement TGSI KILP | Brian Paul | 2010-04-21 | 1 | -2/+33 |
| | | | | | | 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. | ||||
* | draw: Make LLVM integration work without llvmpipe too (e.g. sofptipe). | José Fonseca | 2010-04-21 | 1 | -0/+1 |
| | | | | Prevents the assertion failure. | ||||
* | gallium/draw: fix point sprite handling | Brian Paul | 2010-04-21 | 6 | -4/+25 |
| | | | | | | | | New draw API function to indicate whether or not to convert points to quads for sprite rasterization. Fix point-to-quad conversion regression in the wide-point stage. We need to check the pipe_rasterizer_state::point_quad_rasterization flag. | ||||
* | gallium/draw: use local var to simplify code | Brian Paul | 2010-04-21 | 1 | -17/+18 |
| | |||||
* | targets: Don't check if we should use trace | Jakob Bornecrantz | 2010-04-21 | 1 | -3/+2 |
| | | | | | Trace does its own checking, and it used the GALLIUM_TRACE variable as well, but expected a file and not a bool argument. | ||||
* | gallivm: Remove unnecessary headers. | Vinson Lee | 2010-04-20 | 2 | -3/+0 |
| | |||||
* | gallium/util: remove bogus return statement | Brian Paul | 2010-04-20 | 1 | -1/+1 |
| | | | | util_surfaces_do_detach() is a void-valued function. | ||||
* | gallium: replace pipe_resource::_usage with pipe_resource::usage | Brian Paul | 2010-04-20 | 2 | -2/+2 |
| | |||||
* | gallivm: Universal format support on lp_build_fetch_rgba_aos via ↵ | José Fonseca | 2010-04-20 | 4 | -57/+92 |
| | | | | | | util_format_description::fetch_rgba_float This therefore adds support to half float vertex buffers. | ||||
* | gallivm: Cleanups and bugfixes to aos format translation. | José Fonseca | 2010-04-20 | 2 | -128/+36 |
| | |||||
* | draw: Fallback to gallivm for translation of ↵ | José Fonseca | 2010-04-20 | 1 | -4/+20 |
| | | | | | | A8R8G8B8/B8G8R8A8/R10G10B10X2/R10G10B10X2 and other formats. These need swizzles, and bitshifts. | ||||
* | gallivm: New function to fetch a pixel into a 4xfloat AoS vector. | José Fonseca | 2010-04-20 | 2 | -10/+50 |
| | |||||
* | gallivm: Bring aos format back to life. | José Fonseca | 2010-04-20 | 3 | -0/+382 |
| | | | | | | Useful for fetching vertices for formats that are straight arrays. This reverts commit aa364d091e7e2ef2296fb25f92efc79a8c88f77d. | ||||
* | draw: Remove draw_vs_llvm.c. | José Fonseca | 2010-04-20 | 5 | -142/+3 |
| | | | | | | To silence some warnings. Super-seeded by Zack's new llvm middle end. | ||||
* | Merge branch 'gallium-index-bias' | José Fonseca | 2010-04-20 | 8 | -43/+63 |
|\ | |||||
| * | draw: No need to rebase for elt_bias. | José Fonseca | 2010-04-20 | 1 | -7/+5 |
| | | | | | | | | | | | | | | As we are rebasing to min_index + elt_bias, and the vertex buffer has no elt_bias. I still don't know how to exercise this code. I hope this is now right. | ||||
| * | draw: Fix cache elt_bias implementation. | José Fonseca | 2010-04-20 | 1 | -5/+8 |
| | | |||||
| * | draw: Fix typo resulting from bad regular expression in index bias addition. | José Fonseca | 2010-04-20 | 1 | -4/+4 |
| | | |||||
| * | draw: Implement index bias. | José Fonseca | 2010-04-19 | 8 | -46/+65 |
| | | |||||
* | | draw llvm: Move dereference of pointer after NULL check. | Vinson Lee | 2010-04-20 | 1 | -1/+3 |
| | | |||||
* | | draw llvm: Remove unnecessary header. | Vinson Lee | 2010-04-19 | 1 | -1/+0 |
| | | |||||
* | | gallivm: pass 3D texture stride as an array | Brian Paul | 2010-04-19 | 2 | -9/+18 |
| | | | | | | | | This should have been included with the previous commit. | ||||
* | | draw llvm: make sure use_llvm isn't used when not defined | Zack Rusin | 2010-04-19 | 1 | -1/+1 |
| | | |||||
* | | draw llvm: fix typo (boolean, not bool) | Zack Rusin | 2010-04-19 | 1 | -1/+1 |
| | | |||||
* | | draw llvm: allow runtime switching of pipelines (yes/no to llvm) | Zack Rusin | 2010-04-19 | 2 | -1/+4 |
| | | | | | | | | use DRAW_USE_LLVM to disable or enable (default) llvm | ||||
* | | draw llvm: fix constructor mess | Zack Rusin | 2010-04-19 | 3 | -28/+9 |
| | | | | | | | | use just one constructor to figure out whether to use llvm. | ||||
* | | gallium/util: specify binding type for blit src texture | Brian Paul | 2010-04-19 | 1 | -0/+1 |
| | | | | | | | | Fixes fd.o bug 27711. |