Age | Commit message (Collapse) | Author | |
---|---|---|---|
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... | |||
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-21 | draw: Make LLVM integration work without llvmpipe too (e.g. sofptipe). | José Fonseca | |
Prevents the assertion failure. | |||
2010-04-21 | gallium/draw: fix point sprite handling | Brian Paul | |
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. | |||
2010-04-21 | gallium/draw: use local var to simplify code | Brian Paul | |
2010-04-21 | targets: Don't check if we should use trace | Jakob Bornecrantz | |
Trace does its own checking, and it used the GALLIUM_TRACE variable as well, but expected a file and not a bool argument. | |||
2010-04-20 | gallivm: Remove unnecessary headers. | Vinson Lee | |
2010-04-20 | gallium/util: remove bogus return statement | Brian Paul | |
util_surfaces_do_detach() is a void-valued function. | |||
2010-04-20 | gallium: replace pipe_resource::_usage with pipe_resource::usage | Brian Paul | |
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 | draw: Fallback to gallivm for translation of ↵ | José Fonseca | |
A8R8G8B8/B8G8R8A8/R10G10B10X2/R10G10B10X2 and other formats. These need swizzles, and bitshifts. | |||
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-20 | draw: Remove draw_vs_llvm.c. | José Fonseca | |
To silence some warnings. Super-seeded by Zack's new llvm middle end. | |||
2010-04-20 | Merge branch 'gallium-index-bias' | José Fonseca | |
2010-04-20 | draw: No need to rebase for elt_bias. | José Fonseca | |
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. | |||
2010-04-20 | draw: Fix cache elt_bias implementation. | José Fonseca | |
2010-04-20 | draw: Fix typo resulting from bad regular expression in index bias addition. | José Fonseca | |
2010-04-20 | draw llvm: Move dereference of pointer after NULL check. | Vinson Lee | |
2010-04-19 | draw llvm: Remove unnecessary header. | Vinson Lee | |
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 | draw llvm: make sure use_llvm isn't used when not defined | Zack Rusin | |
2010-04-19 | draw llvm: fix typo (boolean, not bool) | Zack Rusin | |
2010-04-19 | draw llvm: allow runtime switching of pipelines (yes/no to llvm) | Zack Rusin | |
use DRAW_USE_LLVM to disable or enable (default) llvm | |||
2010-04-19 | draw llvm: fix constructor mess | Zack Rusin | |
use just one constructor to figure out whether to use llvm. | |||
2010-04-19 | gallium/util: specify binding type for blit src texture | Brian Paul | |
Fixes fd.o bug 27711. | |||
2010-04-19 | draw: Implement index bias. | José Fonseca | |
2010-04-19 | gallium/draw: use a local var to simplify some code | Brian Paul | |
2010-04-19 | Merge branch '7.8' | Brian Paul | |
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/drivers/llvmpipe/lp_context.c | |||
2010-04-19 | gallium/draw: use correct rasterization state for wide/AA points/lines | Brian Paul | |
When points or lines are decomposed into triangles, we need to be sure to disable polygon culling, stippling, "un-filled" modes, etc. This patch sets the rasterization state to disable those things prior to drawing points/lines with triangles, then restores the previous state afterward. The new piglit point-no-line-cull test checks this problem & solution. | |||
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-18 | auxiliary: Move loop variable declaration outside for loop. | Vinson Lee | |
Fixes MSVC build. | |||
2010-04-18 | auxiliary: Initialize variable. | Vinson Lee | |
2010-04-18 | auxiliary: Add util/u_surfaces.c to SCons build. | Vinson Lee | |
This was missed in commit ac4b8db62d056fa5b85661f67ba5e1d1d29e3fcf. | |||
2010-04-18 | u_inlines: split pipe_surface_init in pipe_surface_reset and *_init | Luca Barbieri | |