summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe
AgeCommit message (Collapse)Author
2010-07-06llvmpipe: Don't build lp_test_round when using MSVC.Vinson Lee
lp_test_round uses the math functions round and trunc, which aren't available with MSVC. Fixes the MSVC build for now.
2010-07-06llvmpipe: Add lp_test_round to SCons build.Vinson Lee
2010-07-06llvmpipe: add test program for round(), trunc(), floor(), ceil()Brian Paul
2010-07-06llvmpipe: disconnect vertex texture sampling from the setupZack Rusin
it was wrong to put this in the fs paths, but it was easier to just stuff it along the fragment texture sampling paths. the patch disconnects vertex texture sampling and just maps the textures before the draw itself and unmaps them after.
2010-07-06draw: implement vertex texture sampling using llvmZack Rusin
2010-07-06llvmpipe: ensure all bins are reset avoids memory corruption.Alan Hourihane
2010-07-05llvmpipe: wait for queries being finished when asked for it or before deletionRoland Scheidegger
This fixes bug #28757, though does not yet address the issue that fences aren't always emitted.
2010-07-02gallivm: 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-02gallivm: Fix 4 x unorm8 -> 4 x float conversion.José Fonseca
Also fix the test.
2010-07-01llvmpipe: silence pointer type warningsBrian Paul
2010-07-01gallivm: Support 4 x unorm8 in lp_build_fetch_rgba_aos().José Fonseca
Uses code and ideas from Brian Paul.
2010-07-01gallivm: Allow to conversions to/from registers of different sizes.José Fonseca
Allow for example to convert from 4 x float32 to 4 x unorm8 and vice versa. Uses code and ideas from Brian Paul.
2010-07-01llvmpipe: Remove lp_build_swizzle2_aos().José Fonseca
Unnecessary special case.
2010-06-30llvmpipe: another null pointer checkBrian Paul
2010-06-30llvmpipe: use dummy tile when out of memoryBrian Paul
2010-06-30llvmpipe: added new lp_memory.[ch] filesBrian Paul
Functions for using dummy tiles when we detect OOM conditions.
2010-06-30llvmpipe: Add a new scene state to describe scenes which only have state ↵José Fonseca
changes. It's a rare condition, but it may happen if all primitives are clipped/culled. For now we just do a no-op rasterization, but we could bypass it.
2010-06-30llvmpipe: Don't reset the bin when there's a zsbuf bound.José Fonseca
The previous rendering may have secondary effects on the zsbuf. Fixes the missing tiles on gearbox.
2010-06-29llvmpipe: don't crash/assert on out of memoryBrian Paul
Check for null pointers and return early, etc.
2010-06-29llvmpipe: restore call to lp_setup_update_state()Brian Paul
This undoes part of commit 8be645d53a0d5d0ca50e4e9597043225e2231b6d and fixes fd.o bug 28822 as well as other regressions. The 'draw' module may issue additional state-change commands while we're inside the draw_arrays/elements() call so it's important to check for updated state at this point.
2010-06-28mesa: initial support for ARB_geometry_shader4Zack Rusin
laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
2010-06-28llvmpipe: set WRITE_ALL only a per-tile basis in lp_resource_copy().José Fonseca
2010-06-28llvmpipe: Actually flush in lp_resource_copy()José Fonseca
The cpu_access is redundant in a software rasterizer.
2010-06-28llvmpipe: Ensure outdated framebuffer state is not reused in ↵José Fonseca
lp_setup_bind_framebuffer(). We were starting a scene whenever lp_setup_get_vertex_info() was called by the draw module. So when when all primitives were culled/clipped, not only did we create a new scene for nothing, but we end up using the old scene with the old framebuffer state instead of a new one. Fix consists in: - don't call lp_setup_update_state() in lp_setup_get_vertex_info() -- no longer necessary - always setting the scene state before binning a command -- query commands were bypassing it - assert no old scene is reused in lp_setup_bind_framebuffer()
2010-06-25llvmpipe: fix comment typoBrian Paul
2010-06-23llvmpipe: Remove unnecessary header.Vinson Lee
2010-06-22llvmpipe: IgnoresJakob Bornecrantz
2010-06-22llvmpipe: make geometry shaders and stream output workZack Rusin
2010-06-21llvmpipe: s/lpfs/shader/José Fonseca
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.