summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2010-07-26util: fix another mutex leak in mempoolMarek Olšák
By fixing one, I introduced another. Crap.
2010-07-26util: fix mutex leaks in mempoolMarek Olšák
2010-07-23util: Add PIPE_OS_CYGWIN to u_network.Vinson Lee
2010-07-23draw: add small ybias factor for drawing wide pointsBrian Paul
Fixes minor rasterization error detected by some tests.
2010-07-22tgsi: Fix error message on invalid swizzle parseJakob Bornecrantz
2010-07-22draw: re-order optimization passes depending on LLVM version, 32/64-bitBrian Paul
This is a work-around for an apparent bug in LLVM seen with piglit's glsl-vs-sqrt-zero test.
2010-07-22draw: added new assertions to clipping codeBrian Paul
2010-07-21draw: disable depth clipping if depth clamp is enabledMarek Olšák
2010-07-21cso: handle depth clampMarek Olšák
2010-07-21draw: tweak aa line width threshold and samplingBrian Paul
Set sampler max_lod to avoid sampling the 1x1 and 2x2 mipmap levels. Fixes piglit line-aa-width test, fd.o bug 29160.
2010-07-21gallivm: replace has_indirect_addressing field with indirect_files fieldBrian Paul
Instead of one big boolean indicating indirect addressing, use a bitfield indicating which register files are accessed with indirect addressing. Most shaders that use indirect addressing only use it to access the constant buffer. So no need to use an array for temporary registers in this case.
2010-07-21tgsi: added tgsi_shader_info::indirect_files fieldBrian Paul
Indicates which register files are accessed with indirect addressing.
2010-07-21gallivm: refactor code into get_indirect_offsets() functionBrian Paul
2010-07-21gallivm: added commentBrian Paul
2010-07-21gallivm: remove extraneous bracesBrian Paul
2010-07-21gallivm: no longer do indirect addressing in get_temp_ptr()Brian Paul
2010-07-21gallivm: implement correct indirect addressing of temp registersBrian Paul
As with indexing the const buffer, the ADDR reg may have totally different values for each element. Need to use a gather operation.
2010-07-21gallivm: re-org, comments for get_temp_ptr()Brian Paul
2010-07-21draw: whitespace clean-upBrian Paul
2010-07-21gallivm: rename a var to avoid compiler warningsBrian Paul
2010-07-20gallivm: fix indirect addressing of constant bufferBrian 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-20gallivm: added lp_build_const_int32() helperBrian Paul
2010-07-20draw: correctly handle max_index=0xffffffff case in vcache codeBrian 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-20util: mempool: initialize last block's magic number in a pageMarek Olšák
2010-07-19draw: fix incorrect instancing divisor in LLVM codeBrian Paul
2010-07-19util: remove the dummy field in mempoolMarek Olšák
It should allocate less memory now.
2010-07-19util: add dummy field to empty structure typesBrian Paul
Empty structure types aren't allowed with MSVC. I haven't tested this change. Hope I haven't broken it...
2010-07-19util: add a memory pool for equally sized memory allocationsMarek Olšák
malloc/free are in O(1).
2010-07-16scons: Fix Cygwin build.Vinson Lee
The Cygwin SCons build needed several file names to be fully qualified.
2010-07-16draw: updated debug/dump codeBrian Paul
2010-07-16draw: added array element debug / bounds checking code (disabled)Brian Paul
2010-07-16draw/llvm: adjust the instance id at run timeZack Rusin
fixes instancing in draw llvm
2010-07-16draw: use the instance id when fetching vertex dataZack Rusin
2010-07-15draw: update comments for drawing functionsBrian Paul
2010-07-15draw: move prototype, update commentBrian Paul
2010-07-15tgsi: Remove dead assignment in uprcase function.Vinson Lee
2010-07-13Merge branch 'mesa-2d-registers'Zack Rusin
2010-07-12os: remove gratuitous pipe_barrier placeholder codenobled
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-12os, rbug: remove PIPE_THREAD_HAVE_CONDVARnobled
The new default implementation of pipe_condvar makes it unnecessary.
2010-07-12os: Implement pipe_condvar on Windows Vista and laternobled
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-12os: Implement pipe_condvar on win32nobled
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-12u_blitter: add draw_rectangle callback which can be overridden by a driverMarek Olšák
2010-07-12u_blitter: clean up the texcoord computationsMarek Olšák
2010-07-12u_blitter: simplify blitter_set_rectangleMarek Olšák
2010-07-12u_blitter: rename blitter->base, add a way to get a pipe context from blitterMarek Olšák
2010-07-10tgsi: make sure that we print out the adjacency prims correctlyZack Rusin
2010-07-10draw: fix decomposition to work with adjacency primitivesZack Rusin
2010-07-10mesa: get the translation from mesa 2d regs to tgsi workingZack Rusin
first working version of arb_geometry_shader4
2010-07-08draw: Fix off-by-one error in assert.Vinson Lee
textures is an array of size PIPE_MAX_VERTEX_SAMPLERS.
2010-07-07gallivm: restore const qualifierBrian Paul