summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe
AgeCommit message (Collapse)Author
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.
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.