summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe
AgeCommit message (Collapse)Author
2010-04-02llvmpipe: limit max texture size to 2Kx2K for nowBrian Paul
MAXWIDTH/HEIGHT were 2048 but the max texture size was 4096. This caused a crash if a 4Kx4K texture was created and rendered to. See comment about max framebuffer size in lp_scene.h. Also added assertions to catch this inconsistancy in the future.
2010-04-01llvmpipe: Support sampling from PIPE_FORMAT_R32_FLOAT.José Fonseca
2010-04-01llvmpipe: More tweaks to the supported texture formats.José Fonseca
2010-04-01llvmpipe: Fix build...José Fonseca
2010-04-01llvmpipe: Fix (un)swizzling, broken due to use of VOID channels.José Fonseca
2010-03-31llvmpipe: Don't call unused generate_clamp().José Fonseca
2010-03-31llvmpipe: Disable threads by default on embedded.José Fonseca
2010-03-31llvmpipe: Don't rely on u_format_access.pyJosé Fonseca
2010-03-31llvmpipe: More accurate format capability exporting.José Fonseca
2010-03-31llvmpipe: Drop the aos format conversion.José Fonseca
It's unused and incomplete. Still in git history if necessary in future.
2010-03-29Add test case for lp_bld_printf()Chris Li
2010-03-26gallium/llvmpipe: add PROGS target/rule to Makefile.templateChris Li
So other directory can share it. Also remove the libllvmpipe.a dependency from test programs. It is not needed any more. Signed-Off-By: Christopher Li <chrisl@vmware.com>
2010-03-25Revert "llvmpipe: optimize the lp_setup_fence() function"Brian Paul
This reverts commit a9063cad0f0190ff88cd20fbad5aa87bf1a943f6. Not too surprisingly, this change caused some regressions. Revert it for the time being. See fd.o bug 27320.
2010-03-25llvmpipe: disable an assertionBrian Paul
We shouldn't try to clear a non-existant z/stencil buffer, so there's probably a bug elsewhere. Disable the assertion for now to allow things to at least run.
2010-03-24llvmpipe: fix up some questionable fence codeBrian Paul
Jose should probably review this since he wrote the original code.
2010-03-24llvmpipe: optimize the lp_setup_fence() functionBrian Paul
Avoid emitting fences when not needed. Speeds up glReadPixels quite a bit when reading image row by row.
2010-03-24llvmpipe: call lp_fence_signal()Brian Paul
2010-03-24llvmpipe: added lp_fence_signal()Brian Paul
2010-03-24llvmpipe: fix texture reference counting bugBrian Paul
We weren't saving the per-scene texture references at the right point. Fixes piglit cubemap segfault. The segfault resulted from referencing texture memory which was prematurely freed because of a missed reference count. Fixes fd.o bug 27276.
2010-03-21drm/sw: llvmpipe texture_from_handleGeorge Sapountzis
Not sure, but judging by softpipe, this hook was forgotten.
2010-03-18gallivm/llvmpipe: added lp_rast_shader_inputs::facing and pass throughBrian Paul
The triangle rasterizer sets this field to indicate front/back-facing. It gets passed into the generated fragment code as another parameter. Used now for stencil front/back selection but will also be used for fragment shaders in general (see TGSI_SEMANTIC_FACE). With this commit two-sided stenciling mostly works but there's still a bug or two...
2010-03-18llvmpipe: defines for RAST_WHOLE, RAST_EDGE_TESTBrian Paul
2010-03-18gallivm/llvmpipe: simplify front/back stencil ref value handlingBrian Paul
Instead of passing an array, just pass two scalar values.
2010-03-18llvmpipe: set opaque = FALSE if stencil enabledBrian Paul
Fixes occasional bad tiles seen in some demos like progs/demos/reflect.c
2010-03-18llvmpipe: Fix crashes when there is no depth buffer bound.José Fonseca
2010-03-17gallivm/llvmpipe: basic stencil testing worksBrian Paul
Most stencil demos look OK (modulo some unrelated rendering glitches). Only single-sided stencil test works at this point. There are probably some bugs to be found...
2010-03-17llvmpipe: remove incorrect depth test checkBrian Paul
2010-03-17llvmpipe: silence some pointer/casting warningsBrian Paul
2010-03-17gallivm/llvmpipe: more asst changes for stencil testingBrian Paul
2010-03-17gallivm/llmvpipe: pass stencil refs state into z/stencil build codeBrian Paul
2010-03-17llvmpipe: use new LP_JIT_CTX_ enums for jit context field positionsBrian Paul
Use the new enum values rather than integers in a few places.
2010-03-17llvmpipe: added stencil ref values to jit context stateBrian Paul
2010-03-17llvmpipe: break linesBrian Paul
2010-03-16Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell
This branch already seems to have the nv50_tex.c fix. Conflicts: src/gallium/drivers/nv50/nv50_tex.c
2010-03-16llvmpipe: Fix rebase typoJakob Bornecrantz
2010-03-16winsys/sw: Add a software winsys layered on a pipeJakob Bornecrantz
2010-03-15gallivm/llvmpipe: rename some constant building functionsBrian Paul
2010-03-15gallivm/llvmpipe: rename os_llvm.h to lp_bld.hBrian Paul
The llvm wrapper wasn't really an OS thing. Use lp_bld.h for now but we eventually should rename/re-prefix all the files/functions in the gallivm/ directory.
2010-03-15llvmpipe: updated status in README fileBrian Paul
2010-03-15Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell
Conflicts: src/gallium/drivers/nv30/nv30_context.h src/gallium/drivers/nv30/nv30_state.c src/gallium/drivers/nv40/nv40_context.h src/gallium/drivers/nv40/nv40_state.c src/gallium/drivers/r300/r300_emit.c
2010-03-13llvmpipe: Ensure the context is flushed before modifying textures.José Fonseca
2010-03-13llvmpipe: Don't use texture transfer internally.José Fonseca
Now that transfers are context objects their sideeffects must happen in order when used by the state tracker, but that synchronization must be bypassed when used inside the driver, or it would cause infinite recursion.
2010-03-13Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell
Conflicts: src/gallium/auxiliary/util/u_tile.c src/gallium/auxiliary/util/u_tile.h src/gallium/drivers/identity/id_context.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_setup.h src/gallium/drivers/softpipe/sp_tex_tile_cache.c src/gallium/include/pipe/p_context.h src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_drawpixels.c
2010-03-13llvmpipe: Obey rasterization rules.José Fonseca
Replicates softpipe.
2010-03-13llvmpipe: setup_context -> lp_setup_contextJosé Fonseca
Otherwise IDEs and debuggers have trouble distinguishing from softpipe's setup_context.
2010-03-12Merge commit 'origin/gallium-context-transfers-2'Keith Whitwell
2010-03-11llvmpipe: Remove unnecessary header.Vinson Lee
2010-03-11gallivm/llvmpipe: replace 'int stride' with 'int row_stride[MAX_LEVELS]'Brian Paul
The stride depends on the mipmap level. Rename to row_stride to distinguish from img_stride for 3D textures. Fixes incorrect texel addressing in small mipmap levels.
2010-03-11llvmpipe: fix comment typoBrian Paul
2010-03-11gallivm/llvmpipe: include os_llvm.h instead of llvm-c/Core.hBrian Paul