summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
Commit message (Collapse)AuthorAgeFilesLines
* gallium: remove the swizzling parts of ExtSwizzleKeith Whitwell2009-10-231-20/+6
| | | | | | | | | These haven't been used by the mesa state tracker since the conversion to tgsi_ureg, and it seems that none of the other state trackers are using it either. This helps simplify one of the biggest suprises when starting off with TGSI shaders.
* gallium: remove noise opcodesKeith Whitwell2009-10-231-9/+0
| | | | | | | | | | | Provide a dummy implementation in the GL state tracker (move 0.5 to the destination regs). At some point, a motivated person could add a better implementation of noise. Currently not even the nvidia binary drivers do anything more than this. In any case, the place to do this is in the GL state tracker, not the poor driver.
* llvmpipe: Avoid yet another variable size array.José Fonseca2009-10-221-2/+4
|
* llvmpipe: Define rdtsc for MSVC.José Fonseca2009-10-221-3/+14
|
* llvmpipe: Avoid variable size arrays.José Fonseca2009-10-223-4/+7
| | | | Not really variable size, but MSVC still doesn't like them.
* llvmpipe: Use the pack/unpack functions for 8bit unsigned norm multiplication.José Fonseca2009-10-221-79/+17
|
* llvmpipe: Utility function to double the bit width of a type.José Fonseca2009-10-222-5/+28
|
* llvmpipe: Factor vector packing/unpacking to a separate source file.José Fonseca2009-10-225-237/+519
| | | | | These functions will be needed to implement many of the 8bit operations, and they are quite complex on its own.
* llvmpipe: Call util_cpu_detect() from the unit tests.José Fonseca2009-10-222-0/+7
|
* llvmpipe: Remove extraneous name in lp_type pre-declaration.José Fonseca2009-10-215-5/+5
|
* llvmpipe: Allocate texture storage for whole quads.José Fonseca2009-10-181-3/+11
|
* llvmpipe: Use ALIGN_STACK.José Fonseca2009-10-141-0/+1
|
* llvmpipe: Eliminate constant mapping/unmapping.José Fonseca2009-10-093-56/+17
|
* llvmpipe: Ensure tile cache transfers are mapped before flushing it.José Fonseca2009-10-043-2/+9
|
* llvmpipe: Autogenerate lp_tile_soa.c from u_format.csv.José Fonseca2009-10-047-974/+339
| | | | | | | | | This is just a temporary change until we code generate the tile read/write functions in runtime. The new code avoids an extra memcpy that exists in u_tile.c functions, from which lp_tile_soa.c was originally based. This achieves up to 5% improvement, particularly in frames with little geometry overlap.
* llvmpipe: Remove loop testing from format testing.José Fonseca2009-10-041-6/+0
| | | | Loop building will be rewritten.
* llvmpipe: Match header's protection macro with filename.José Fonseca2009-10-041-3/+3
|
* llvmpipe: Adjust format assertion.José Fonseca2009-10-041-3/+4
| | | | We support array layout too -- if it has a single channel.
* llvmpipe: Fetch tile only if a color buffer is bound.José Fonseca2009-10-032-2/+11
|
* gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.Michel Dänzer2009-10-021-11/+3
| | | | | | Always test for PIPE_TRANSFER_READ/WRITE using the bit-wise and operator, and add a pipe_transfer_buffer_flags() helper for getting the buffer usage flags corresponding to them.
* gallium: remove depth.occlusion_count flagKeith Whitwell2009-10-012-4/+0
| | | | | | | This was redundant as drivers can just keep track of whether they are inside a begin/end query pair. We want to add more query types later and also support nested queries, none of which map well onto a flag like this. No driver appeared to be using the flag.
* llvmpipe: Workaround for bug in llvm 2.5.José Fonseca2009-09-291-1/+14
| | | | | | | | The combination of fptosi and sitofp (necessary for trunc/floor/ceil/round implementation) somehow becomes invalid code. Skip the instruction combining pass when SSE4.1 is not available.
* llvmpipe: First verify LLVM IR, only then run optimizing passes.José Fonseca2009-09-291-5/+5
|
* llvmpipe: Runtime cpu checks for lp_build_min_simple too.José Fonseca2009-09-291-10/+9
|
* llvmpipe: Implement non SSE4.1 versions of floor and round.José Fonseca2009-09-293-35/+159
|
* llvmpipe: Emit SSE intrinsics based on runtime cpu capability check.José Fonseca2009-09-294-51/+37
| | | | | | | Note that llvmpipe still doesn't run on any processor yet: if you don't have a recent processor with SSE4.1 you will still likely end up hitting a code path for which a generic non-sse4 version is not implemented yet.
* 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.