summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe
AgeCommit message (Collapse)Author
2010-06-18llvmpipe: Fix pointer dereference after free.José Fonseca
2010-06-18llvmpipe: limit the number of fragment shader variants kept aroundRoland Scheidegger
llvmpipe can create a large number of shader variants for a single shader (which are quite big), and they were only ever deleted if the shader itself was deleted. This is especially apparent in things like glean blendFunc where a new variant is created for every different subtest, chewing up all memory. This change limits the numbers of fragment shader variants (for all shaders) which are kept around to a fixed number. If that would be exceeded a fixed portion of the cached variants is deleted (since without tracking the used variants this involves flushing we don't want to delete only one). Always the least recently used variants (from all shaders together) are deleted. For now this is all per-context. Both the number of how many variants are cached (1024) as well as how many will be deleted at once (1/4 of the cache size) are just rough guesses and subject to further optimization.
2010-06-09llvmpipe: fix copy & paste bug in clear logicRoland Scheidegger
fixes bug 28450.
2010-06-08gallium: adjust the query interface to support custom typesZack Rusin
we need to change it to support composite types
2010-06-08llvmpipe: Add geom shader file to make buildJakob Bornecrantz
2010-06-07llvmpipe: Remove unnecessary header.Vinson Lee
2010-06-07llvmpipe: use util_clear_render_target/depth_stencil fallbacksRoland Scheidegger
2010-06-07llvmpipe: hook up basic gs and multiple constant buffer supportKeith Whitwell
2010-06-05Revert "llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE query"Roland Scheidegger
This reverts commit acb20e7208341fb6a2b81ac10aa01f17e93a1dea. Oops should check commits after rebase...
2010-06-05llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE queryRoland Scheidegger
asserts on unknown caps
2010-06-05llvmpipe: Expose PIPE_CAP_TEXTURE_SWIZZLE.José Fonseca
2010-06-04llvmpipe: new -s option to run single testBrian Paul
Put specific test code in the test_single() function and pass -s to execute that code.
2010-06-04llvmpipe: Do unswizzling in parallel when flushing for transfers.José Fonseca
2010-06-03llvmpipe: Fix uninitialized variable on non-debug builds.Vinson Lee
2010-06-03Merge branch 'gallium-newclear'Roland Scheidegger
Conflicts: src/gallium/state_trackers/python/p_context.i
2010-06-03llvmpipe: Number shaders/variants for more reproducible function names in ↵José Fonseca
the IR.
2010-06-03gallium: silence all debug_named_value related warningsJoakim Sindholt
2010-06-02llvmpipe: Fix bad logic.José Fonseca
Courtesy of Vinson and coverity.
2010-06-02llvmpipe: Remove unnecessary header.Vinson Lee
2010-06-02llvmpipe: Fix typo in assert.José Fonseca
2010-06-02llvmpipe: Per quad interpolation.José Fonseca
First interpolate the 4 quads upper left corners, then sub-interpolate each quad pixel. Do the perspective divide once per quad. Saves some muls and reciprocates. But doesn't seem to make a noticeable improvement. It make the code simpler and more compact, so commiting anyway.
2010-06-02llvmpipe: Minor cleanup to the interpolator.José Fonseca
2010-06-02llvmpipe: Centralize all position interpolation in lp_bld_interp.c.José Fonseca
2010-06-01llvmpipe: Obey color interpolation.José Fonseca
Don't force color to be linearly interpolated when that's not being requested.
2010-06-01llvmpipe: Use struct lp_shader_input in the interpolator.José Fonseca
Eliminates all this identical yet slightly different code to decide how shader inputs should be interpolated. As bonus, don't interpolate the position twice when it is listed in the TGSI shader inputs.
2010-06-01llvmpipe: Don't waste time interpolating unused input channels.José Fonseca
2010-05-31llvmpipe: Show fs's TGSI when LP_DEBUG=tgsi is set.José Fonseca
2010-05-30llvmpipe: Remove unused framebuffer stuff from the rasterizer.José Fonseca
2010-05-30llvmpipe: Don't force a linear to tiled conversion after rasterization on ↵José Fonseca
debug builds. Only do this if runtime debugging flags to show subtiles/tiles are set.
2010-05-30llvmpipe: Call llvmpipe_set_texture_tile_layout only when necessary.José Fonseca
Like the other places.
2010-05-30llvmpipe: Use pointer_to_func() instead of custom wrappers.José Fonseca
2010-05-30llvmpipe: Pass the fs variant to the rasterizer.José Fonseca
2010-05-29llvmpipe: adapt to clear interface changesRoland Scheidegger
with some newfangled code, should support separate depth/stencil clears. Needs some testing.
2010-05-28llvmpipe: add PIPE_BUFFER to assertionBrian Paul
Fixes regression from commit f2e05acac931889e0820e1cc5d7ea810048a6b5f.
2010-05-28llvmpipe: add out of memory checking to triangle setup pathBrian Paul
2010-05-27llvmpipe: s/bool/boolean/Brian Paul
2010-05-27llvmpipe: s/bool/booleanBrian Paul
2010-05-27llvmpipe: Refer to my personal udis86 repository.José Fonseca
As it has a bunch of fixes/additions not merged by upstream yet.
2010-05-25llvmpipe: Stop relying on PIPE_FLUSH_TEXTURE_CACHE/PIPE_FLUSH_RENDER_CACHE ↵José Fonseca
magic. Flush means flush, i.e., all previous operations should be visible from other contexts. This does not imply unswizzling tiles, since unswizzling should be done on a needed basis for any context.
2010-05-24llvmpipe: Also test compressed formats in lp_test_format()José Fonseca
2010-05-24llvmpipe: Fix lp_test_format on 32bit OSes.José Fonseca
2010-05-24llvmpipe: Delete extraneous arugment too.José Fonseca
2010-05-24llvmpipe: Remove unused sincos_test_case struct.José Fonseca
2010-05-24llvmpipe: Unit test for sin/cos that compares against reference implementation.Qicheng Christopher Li
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-05-22llvmpipe: Fill in slice_stride.José Fonseca
2010-05-21Merge branch 'gallium-msaa'Roland Scheidegger
Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
2010-05-21Merge branch 'gallium-front-ccw'Keith Whitwell
2010-05-20llvmpipe: more tweaks to dump_fs_variant_key()Brian Paul
2010-05-20llvmpipe: use util_dump_logicop()Brian Paul
2010-05-20llvmpipe: put variant print/debug code into separate functionBrian Paul