Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-21 | draw: whitespace clean-up | Brian Paul | |
2010-07-21 | gallivm: rename a var to avoid compiler warnings | Brian Paul | |
2010-07-20 | gallivm: fix indirect addressing of constant buffer | Brian Paul | |
The previous code assumed that all elements of the address register were the same. But it can vary from pixel to pixel or vertex to vertex so we must use a gather operation when dynamically indexing the constant buffer. Still need to fix this for the temporary register file... | |||
2010-07-20 | gallivm: added lp_build_const_int32() helper | Brian Paul | |
2010-07-20 | draw: correctly handle max_index=0xffffffff case in vcache code | Brian Paul | |
If max_index=0xffffffff and elt_bias > 0 the test for elt_bias + max_index >= DRAW_PIPE_MAX_VERTICES was wrong. Check earlier if max_index=0xffffffff and do the "fail" case. This fixes the piglit draw-elements-base-vertex test (and probably some other things). | |||
2010-07-20 | util: mempool: initialize last block's magic number in a page | Marek Olšák | |
2010-07-19 | draw: fix incorrect instancing divisor in LLVM code | Brian Paul | |
2010-07-19 | util: remove the dummy field in mempool | Marek Olšák | |
It should allocate less memory now. | |||
2010-07-19 | util: add dummy field to empty structure types | Brian Paul | |
Empty structure types aren't allowed with MSVC. I haven't tested this change. Hope I haven't broken it... | |||
2010-07-19 | util: add a memory pool for equally sized memory allocations | Marek Olšák | |
malloc/free are in O(1). | |||
2010-07-16 | scons: Fix Cygwin build. | Vinson Lee | |
The Cygwin SCons build needed several file names to be fully qualified. | |||
2010-07-16 | draw: updated debug/dump code | Brian Paul | |
2010-07-16 | draw: added array element debug / bounds checking code (disabled) | Brian Paul | |
2010-07-16 | draw/llvm: adjust the instance id at run time | Zack Rusin | |
fixes instancing in draw llvm | |||
2010-07-16 | draw: use the instance id when fetching vertex data | Zack Rusin | |
2010-07-15 | draw: update comments for drawing functions | Brian Paul | |
2010-07-15 | draw: move prototype, update comment | Brian Paul | |
2010-07-15 | tgsi: Remove dead assignment in uprcase function. | Vinson Lee | |
2010-07-13 | Merge branch 'mesa-2d-registers' | Zack Rusin | |
2010-07-12 | os: remove gratuitous pipe_barrier placeholder code | nobled | |
There's already an implementation of pipe_barrier using the other pipe_* primitives; just use that on Windows, too. Now Windows passes pipe_barrier_test. | |||
2010-07-12 | os, rbug: remove PIPE_THREAD_HAVE_CONDVAR | nobled | |
The new default implementation of pipe_condvar makes it unnecessary. | |||
2010-07-12 | os: Implement pipe_condvar on Windows Vista and later | nobled | |
Unfortunately compiling with these defines enabled would mean Gallium can't run on Windows XP/2003 or older. Todo: Need a macro to declare if we don't care about WinXP compatibililty. | |||
2010-07-12 | os: Implement pipe_condvar on win32 | nobled | |
Or at least a little of it. This version will sleep for a fixed amount of time instead of just deadlocking, which is a slight improvement. Also do the same thing on any unrecognized platform. | |||
2010-07-12 | u_blitter: add draw_rectangle callback which can be overridden by a driver | Marek Olšák | |
2010-07-12 | u_blitter: clean up the texcoord computations | Marek Olšák | |
2010-07-12 | u_blitter: simplify blitter_set_rectangle | Marek Olšák | |
2010-07-12 | u_blitter: rename blitter->base, add a way to get a pipe context from blitter | Marek Olšák | |
2010-07-10 | tgsi: make sure that we print out the adjacency prims correctly | Zack Rusin | |
2010-07-10 | draw: fix decomposition to work with adjacency primitives | Zack Rusin | |
2010-07-10 | mesa: get the translation from mesa 2d regs to tgsi working | Zack Rusin | |
first working version of arb_geometry_shader4 | |||
2010-07-08 | draw: Fix off-by-one error in assert. | Vinson Lee | |
textures is an array of size PIPE_MAX_VERTEX_SAMPLERS. | |||
2010-07-07 | gallivm: restore const qualifier | Brian Paul | |
2010-07-07 | gallivm: fix cube map LOD computation | Brian Paul | |
First, this undoes commit e503af4baa2c709ae5743bb278b277d3faaba076 so we use iround() in lp_build_nearest_mip_level(). Second, in lp_build_sample_general() we need to check if we're sampling a cube map before anything else. Choose the cube face and then recompute the partial derivatives of (S,T) with respect to the chosen cube face. Before, we were using the directional (S,T,R) derivatives to compute the LOD. Third, work around an apparent bug in LLVM 2.7 where setting the lod variable to a const(0) value results in bad x86 code. See comments in the code. | |||
2010-07-06 | draw: Remove unnecessary header. | Vinson Lee | |
2010-07-06 | gallivm: Remove unnecessary header. | Vinson Lee | |
2010-07-07 | util: print help for debug options on non-debug builds | Marek Olšák | |
I'd like to see the help when I request it. | |||
2010-07-06 | gallivm: use trunc, not round in lp_build_nearest_mip_level() | Brian Paul | |
Fixes fd.o bug 28036 (piglit fbo-cubemap.c regression) | |||
2010-07-06 | gallivm: finish implementation of lp_build_iceil() | Brian Paul | |
Plus fix minor error in lp_build_iceil() by tweaking the offset value. And add a bunch of comments for the round(), trunc(), floor(), ceil() functions. | |||
2010-07-06 | draw: make sure softpipe doesn't crash with vertex tex sampling | Zack Rusin | |
softpipe doesn't implement the draw's llvm tex sampling interface so make sure draw can handle the cases where the driver doesn't implement the interface | |||
2010-07-06 | draw: implement vertex texture sampling using llvm | Zack Rusin | |
2010-07-06 | gallivm: Use SSE4.1's BLENDV instructions for lp_build_select(). | José Fonseca | |
2010-07-06 | gallivm: Fix 8bit comparisons. | José Fonseca | |
2010-07-05 | auxiliary/util: Add SM3 meta-cap list. | Corbin Simpson | |
2010-07-03 | gallivm: Remove unnecessary headers. | Vinson Lee | |
2010-07-02 | gallivm: Do 4ubyte AoS texture filtering for any format that can be expressed. | José Fonseca | |
Except if it has only one channel, as it would take the same number of instructions. | |||
2010-07-02 | gallivm: Use util_format_description::fetch_rgba_8unorm() when available. | José Fonseca | |
2010-07-02 | util: Add a fetch_rgba_8unorm. | José Fonseca | |
Not always implemented, but useful in situations where we want 8unorms and the samples comes as 8unorms as we needlessly convert to/from floats. | |||
2010-07-02 | gallivm: Support multiple pixels in lp_build_fetch_rgba_aos(). | José Fonseca | |
This allows to do the unpacking of formats that fit in 4 x unorm8 in parallel, 4 pixels at a time. | |||
2010-07-02 | gallivm: Move lp_build_rgba8_to_f32_soa() to lp_bld_format_soa.c | José Fonseca | |
It will be more useful here. | |||
2010-07-02 | gallivm: Move gather functions to its own module. | José Fonseca | |
They need to grow, and they provide basic functionality which is not specific to sampling. |