summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: Grab a ref when the fb is set.Younes Manton2009-09-282-4/+9
| | | | Based on softpipe commit a77226071f6814a53358a5d6caff685889d0e4ec.
* llvmpipe: Allow building with LLVM 2.6 too.José Fonseca2009-09-263-0/+15
|
* llvmpipe: add missing __FUNCTION__ parameter to debug_printf() callsBrian Paul2009-09-241-4/+8
|
* llvmpipe: increase max 3D texture size to 256Brian Paul2009-09-241-1/+1
|
* llvmpipe: move tile cache datatypes into .c file since they're privateBrian Paul2009-09-232-36/+38
|
* llvmpipe: added max texture/surface size sanity checkBrian Paul2009-09-231-0/+6
| | | | Carried over from softpipe driver.
* llvmpipe: increase MAX_WIDTH/HEIGHT to match max texture sizeBrian Paul2009-09-231-2/+2
|
* llvmpipe: Fix lp_get_cached_tile.José Fonseca2009-09-201-1/+1
| | | | Align coordinates to tile boundaries.
* llvmpipe: Update tile status on flush.José Fonseca2009-09-201-0/+3
|
* llvmpipe: Respect input interpolators for the shader.Michal Krol2009-09-191-2/+19
| | | | Cherry-picked from fb2c7b6743ba6e89f24843890fb7fcd6a09c3dbb
* llvmpipe: Don't assert due to unsupported texture wrap modes.José Fonseca2009-09-161-0/+5
| | | | Issue a warning and fallback to clamping.
* gallium: Deprecate PIPE_CAP_S3TC.José Fonseca2009-09-161-2/+0
| | | | | No longer used. S3TC support is queried via pipe_screen::is_format_supported.
* llvmpipe: Make the code portable for MinGW.José Fonseca2009-09-165-16/+16
|
* Merge branch 'mesa_7_6_branch'Brian Paul2009-09-151-0/+2
|\
| * llvmpipe: asst fixes for 'make linux-llvmpipe'Brian Paul2009-09-111-0/+2
| |
* | llvmpipe: Make lp_type a regular union.José Fonseca2009-09-1436-272/+270
| | | | | | | | | | Union not worth the hassle of violating C99 or adding a name to the structure.
* | llvmpipe: Compute derivatives.José Fonseca2009-09-131-4/+87
| |
* | llvmpipe: Remove dead references to pipe_winsys.José Fonseca2009-09-131-4/+1
| |
* | llvmpipe: Use const keyword for input array arguments.José Fonseca2009-09-134-11/+12
| |
* | llvmpipe: Delay storing into the dst register to prevent clobbering the src ↵José Fonseca2009-09-131-134/+103
| | | | | | | | | | | | | | registers. How I'm thankful for regular expressions -- just a couple of them were all that was needed to do this otherwise tiresome and bug prone change.
* | llvmpipe: Translate more TGSI opcodes.José Fonseca2009-09-131-23/+116
| | | | | | | | | | Basically cover all low hanging fruit, and mark the still missing opcodes as "fixme" or deprecated.
* | llvmpipe: Add a few more common arithmetic functions.José Fonseca2009-09-132-0/+111
| | | | | | | | | | We are relying on SSE4.1 for round/trunc/ceil/floor. We'll need to eventually find alternatives for the rest of the world.
* | llvmpipe: Rename function to free up lp_build_trunc to the usual arithmetic ↵José Fonseca2009-09-131-7/+7
| | | | | | | | meaning.
* | llvmpipe: set dirty_render_cache in llvmpipe_clear()José Fonseca2009-09-111-0/+1
| | | | | | | | | | | | Based on Brian's softpipe change on commit 988db641195819c948249a1bb2d59f13577a482f. We don't use the tile cache for zsbuf though, only for color buffers.
* | llvmpipe: Update status in README and TODO/FIXME comments throughout the code.José Fonseca2009-09-119-36/+36
| |
* | llvmpipe: Fix alpha test.José Fonseca2009-09-101-26/+13
| |
* | llvmpipe: Mask out color channels not present in the color buffer.José Fonseca2009-09-101-5/+23
| |
* | llvmpipe: Fix sampling from depth textures. Respect texture compare func.José Fonseca2009-09-102-49/+122
| | | | | | | | Fixes Mesa shadowtex sample.
* | llvmpipe: Skip blending when mask is zero.José Fonseca2009-09-102-13/+30
| | | | | | | | This increases quake3 timedemo fps another 10%.
* | llvmpipe: Proper control flow builders.José Fonseca2009-09-103-60/+426
| | | | | | | | | | | | | | | | | | | | New control flow helper functions which keep track of all variables and generate the correct Phi functions. This re-enables skipping the fs execution of quads masked out by the rasterizer, early z testing, and kill opcode. This yields a performance improvement of around 20%.
* | llvmpipe: Copy the texture target into the sampler static state.José Fonseca2009-09-101-0/+1
| | | | | | | | Hunk forgotten in previous commit.
* | llvmpipe: Quick hack for 1D textures.José Fonseca2009-09-092-0/+4
| |
* | llvmpipe: Fix depth mask computation.José Fonseca2009-09-091-4/+5
| | | | | | | | Fixes depth test for 24bit depth formats.
* | llvmpipe: Include zsbuf's format in the fragment shader key.José Fonseca2009-09-092-14/+17
| |
* | llvmpipe: Debug function to check stack alignment.José Fonseca2009-09-093-4/+28
| | | | | | | | | | Doing alignment check in locus is redundant, as gcc alignment assumptions will optimize away the check.
* | scons: Don't set LLVM_VERSION if one of the llvm-config calls fails.Vinson Lee2009-09-071-1/+1
| | | | | | | | | | Ubuntu 8.10 has llvm-config version 2.2, which doesn't have nativecodegen. This triggers an exception.
* | llvmpipe: Silent debug statement.José Fonseca2009-09-071-1/+1
| |
* | llvmpipe: Better abs for floating points.José Fonseca2009-09-071-6/+17
| |
* | llvmpipe: Code generate the texture sampling inside the shader.José Fonseca2009-09-0711-6/+306
| | | | | | | | | | | | | | | | | | | | Finally a substantial performance improvement: framerates of apps using texturing tripled, and furthermore, enabling/disabling texturing only affects around 15% of the framerate, which means the bottleneck is now somewhere else. Generated texture sampling code is not complete though -- we always sample from the base level -- so final figures will be different.
* | llvmpipe: Texture sampling code generation primitives.José Fonseca2009-09-074-0/+478
| | | | | | | | | | Only supports single level 2d textures, with neareast and bilinear filtering for now.
* | llvmpipe: Convenience function to obtain the integer type with same bitdepth ↵José Fonseca2009-09-072-0/+15
| | | | | | | | of an arbitrary type.
* | llvmpipe: Utility functions for linear and bilinear interpolation.José Fonseca2009-09-072-0/+45
| |
* | llvmpipe: Correct implementation of floor.José Fonseca2009-09-072-0/+95
| |
* | llvmpipe: Utility function to get the pointer to a structure member.José Fonseca2009-09-072-4/+29
| |
* | llvmpipe: SoA pixel unpacking specialization.José Fonseca2009-09-076-39/+252
| |
* | llvmpipe: Further abstract the texture sampling generation from TGSI ↵José Fonseca2009-09-075-125/+186
|/ | | | translation.
* tgsi: remove redundant CND0 opcodeKeith Whitwell2009-09-011-4/+0
| | | | Can be implemented with CMP src2, src1, src0
* scons: Tool for LLVM. Gracefully disable llvmpipe if LLVM not found.José Fonseca2009-09-011-3/+5
|
* llvmpipe: Fallback to element-wise comparisons when no comparison intrinsic ↵José Fonseca2009-08-311-2/+45
| | | | | | | | | | | | is available. Although selection of vector elements is valid LLVM IR, no machine target supports it yet. This is a last-resort option, but it allows llvmpipe to be used on any target supported by LLVM without modifications. Obviously better performance is attainable by emitting SIMD intrinsics where otherwise LLVM doesn't.
* llvmpipe: In the abcense of a min/max intrinsic, use the comparison intrinsics.José Fonseca2009-08-313-11/+7
|