summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe
AgeCommit message (Collapse)Author
2009-10-23gallium: remove the swizzling parts of ExtSwizzleKeith Whitwell
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.
2009-10-23gallium: remove noise opcodesKeith Whitwell
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.
2009-10-22llvmpipe: Avoid yet another variable size array.José Fonseca
2009-10-22llvmpipe: Define rdtsc for MSVC.José Fonseca
2009-10-22llvmpipe: Avoid variable size arrays.José Fonseca
Not really variable size, but MSVC still doesn't like them.
2009-10-22llvmpipe: Use the pack/unpack functions for 8bit unsigned norm multiplication.José Fonseca
2009-10-22llvmpipe: Utility function to double the bit width of a type.José Fonseca
2009-10-22llvmpipe: Factor vector packing/unpacking to a separate source file.José Fonseca
These functions will be needed to implement many of the 8bit operations, and they are quite complex on its own.
2009-10-22llvmpipe: Call util_cpu_detect() from the unit tests.José Fonseca
2009-10-21llvmpipe: Remove extraneous name in lp_type pre-declaration.José Fonseca
2009-10-18llvmpipe: Allocate texture storage for whole quads.José Fonseca
2009-10-14llvmpipe: Use ALIGN_STACK.José Fonseca
2009-10-09llvmpipe: Eliminate constant mapping/unmapping.José Fonseca
2009-10-04llvmpipe: Ensure tile cache transfers are mapped before flushing it.José Fonseca
2009-10-04llvmpipe: Autogenerate lp_tile_soa.c from u_format.csv.José Fonseca
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.
2009-10-04llvmpipe: Remove loop testing from format testing.José Fonseca
Loop building will be rewritten.
2009-10-04llvmpipe: Match header's protection macro with filename.José Fonseca
2009-10-04llvmpipe: Adjust format assertion.José Fonseca
We support array layout too -- if it has a single channel.
2009-10-03llvmpipe: Fetch tile only if a color buffer is bound.José Fonseca
2009-10-02gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.Michel Dänzer
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.
2009-10-01gallium: remove depth.occlusion_count flagKeith Whitwell
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.
2009-09-29llvmpipe: Workaround for bug in llvm 2.5.José Fonseca
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.
2009-09-29llvmpipe: First verify LLVM IR, only then run optimizing passes.José Fonseca
2009-09-29llvmpipe: Runtime cpu checks for lp_build_min_simple too.José Fonseca
2009-09-29llvmpipe: Implement non SSE4.1 versions of floor and round.José Fonseca
2009-09-29llvmpipe: Emit SSE intrinsics based on runtime cpu capability check.José Fonseca
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.
2009-09-28llvmpipe: Grab a ref when the fb is set.Younes Manton
Based on softpipe commit a77226071f6814a53358a5d6caff685889d0e4ec.
2009-09-26llvmpipe: Allow building with LLVM 2.6 too.José Fonseca
2009-09-24llvmpipe: add missing __FUNCTION__ parameter to debug_printf() callsBrian Paul
2009-09-24llvmpipe: increase max 3D texture size to 256Brian Paul
2009-09-23llvmpipe: move tile cache datatypes into .c file since they're privateBrian Paul
2009-09-23llvmpipe: added max texture/surface size sanity checkBrian Paul
Carried over from softpipe driver.
2009-09-23llvmpipe: increase MAX_WIDTH/HEIGHT to match max texture sizeBrian Paul
2009-09-20llvmpipe: Fix lp_get_cached_tile.José Fonseca
Align coordinates to tile boundaries.
2009-09-20llvmpipe: Update tile status on flush.José Fonseca
2009-09-19llvmpipe: Respect input interpolators for the shader.Michal Krol
Cherry-picked from fb2c7b6743ba6e89f24843890fb7fcd6a09c3dbb
2009-09-16llvmpipe: Don't assert due to unsupported texture wrap modes.José Fonseca
Issue a warning and fallback to clamping.
2009-09-16gallium: Deprecate PIPE_CAP_S3TC.José Fonseca
No longer used. S3TC support is queried via pipe_screen::is_format_supported.
2009-09-16llvmpipe: Make the code portable for MinGW.José Fonseca
2009-09-15Merge branch 'mesa_7_6_branch'Brian Paul
2009-09-14llvmpipe: Make lp_type a regular union.José Fonseca
Union not worth the hassle of violating C99 or adding a name to the structure.
2009-09-13llvmpipe: Compute derivatives.José Fonseca
2009-09-13llvmpipe: Remove dead references to pipe_winsys.José Fonseca
2009-09-13llvmpipe: Use const keyword for input array arguments.José Fonseca
2009-09-13llvmpipe: Delay storing into the dst register to prevent clobbering the src ↵José Fonseca
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.
2009-09-13llvmpipe: Translate more TGSI opcodes.José Fonseca
Basically cover all low hanging fruit, and mark the still missing opcodes as "fixme" or deprecated.
2009-09-13llvmpipe: Add a few more common arithmetic functions.José Fonseca
We are relying on SSE4.1 for round/trunc/ceil/floor. We'll need to eventually find alternatives for the rest of the world.
2009-09-13llvmpipe: Rename function to free up lp_build_trunc to the usual arithmetic ↵José Fonseca
meaning.
2009-09-11llvmpipe: asst fixes for 'make linux-llvmpipe'Brian Paul
2009-09-11llvmpipe: set dirty_render_cache in llvmpipe_clear()José Fonseca
Based on Brian's softpipe change on commit 988db641195819c948249a1bb2d59f13577a482f. We don't use the tile cache for zsbuf though, only for color buffers.