Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: remove the swizzling parts of ExtSwizzle | Keith Whitwell | 2009-10-23 | 1 | -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 opcodes | Keith Whitwell | 2009-10-23 | 1 | -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é Fonseca | 2009-10-22 | 1 | -2/+4 |
| | |||||
* | llvmpipe: Define rdtsc for MSVC. | José Fonseca | 2009-10-22 | 1 | -3/+14 |
| | |||||
* | llvmpipe: Avoid variable size arrays. | José Fonseca | 2009-10-22 | 3 | -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é Fonseca | 2009-10-22 | 1 | -79/+17 |
| | |||||
* | llvmpipe: Utility function to double the bit width of a type. | José Fonseca | 2009-10-22 | 2 | -5/+28 |
| | |||||
* | llvmpipe: Factor vector packing/unpacking to a separate source file. | José Fonseca | 2009-10-22 | 5 | -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é Fonseca | 2009-10-22 | 2 | -0/+7 |
| | |||||
* | llvmpipe: Remove extraneous name in lp_type pre-declaration. | José Fonseca | 2009-10-21 | 5 | -5/+5 |
| | |||||
* | llvmpipe: Allocate texture storage for whole quads. | José Fonseca | 2009-10-18 | 1 | -3/+11 |
| | |||||
* | llvmpipe: Use ALIGN_STACK. | José Fonseca | 2009-10-14 | 1 | -0/+1 |
| | |||||
* | llvmpipe: Eliminate constant mapping/unmapping. | José Fonseca | 2009-10-09 | 3 | -56/+17 |
| | |||||
* | llvmpipe: Ensure tile cache transfers are mapped before flushing it. | José Fonseca | 2009-10-04 | 3 | -2/+9 |
| | |||||
* | llvmpipe: Autogenerate lp_tile_soa.c from u_format.csv. | José Fonseca | 2009-10-04 | 7 | -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é Fonseca | 2009-10-04 | 1 | -6/+0 |
| | | | | Loop building will be rewritten. | ||||
* | llvmpipe: Match header's protection macro with filename. | José Fonseca | 2009-10-04 | 1 | -3/+3 |
| | |||||
* | llvmpipe: Adjust format assertion. | José Fonseca | 2009-10-04 | 1 | -3/+4 |
| | | | | We support array layout too -- if it has a single channel. | ||||
* | llvmpipe: Fetch tile only if a color buffer is bound. | José Fonseca | 2009-10-03 | 2 | -2/+11 |
| | |||||
* | gallium: Preparations for adding more PIPE_TRANSFER_* usage flags. | Michel Dänzer | 2009-10-02 | 1 | -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 flag | Keith Whitwell | 2009-10-01 | 2 | -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é Fonseca | 2009-09-29 | 1 | -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é Fonseca | 2009-09-29 | 1 | -5/+5 |
| | |||||
* | llvmpipe: Runtime cpu checks for lp_build_min_simple too. | José Fonseca | 2009-09-29 | 1 | -10/+9 |
| | |||||
* | llvmpipe: Implement non SSE4.1 versions of floor and round. | José Fonseca | 2009-09-29 | 3 | -35/+159 |
| | |||||
* | llvmpipe: Emit SSE intrinsics based on runtime cpu capability check. | José Fonseca | 2009-09-29 | 4 | -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 Manton | 2009-09-28 | 2 | -4/+9 |
| | | | | Based on softpipe commit a77226071f6814a53358a5d6caff685889d0e4ec. | ||||
* | llvmpipe: Allow building with LLVM 2.6 too. | José Fonseca | 2009-09-26 | 3 | -0/+15 |
| | |||||
* | llvmpipe: add missing __FUNCTION__ parameter to debug_printf() calls | Brian Paul | 2009-09-24 | 1 | -4/+8 |
| | |||||
* | llvmpipe: increase max 3D texture size to 256 | Brian Paul | 2009-09-24 | 1 | -1/+1 |
| | |||||
* | llvmpipe: move tile cache datatypes into .c file since they're private | Brian Paul | 2009-09-23 | 2 | -36/+38 |
| | |||||
* | llvmpipe: added max texture/surface size sanity check | Brian Paul | 2009-09-23 | 1 | -0/+6 |
| | | | | Carried over from softpipe driver. | ||||
* | llvmpipe: increase MAX_WIDTH/HEIGHT to match max texture size | Brian Paul | 2009-09-23 | 1 | -2/+2 |
| | |||||
* | llvmpipe: Fix lp_get_cached_tile. | José Fonseca | 2009-09-20 | 1 | -1/+1 |
| | | | | Align coordinates to tile boundaries. | ||||
* | llvmpipe: Update tile status on flush. | José Fonseca | 2009-09-20 | 1 | -0/+3 |
| | |||||
* | llvmpipe: Respect input interpolators for the shader. | Michal Krol | 2009-09-19 | 1 | -2/+19 |
| | | | | Cherry-picked from fb2c7b6743ba6e89f24843890fb7fcd6a09c3dbb | ||||
* | llvmpipe: Don't assert due to unsupported texture wrap modes. | José Fonseca | 2009-09-16 | 1 | -0/+5 |
| | | | | Issue a warning and fallback to clamping. | ||||
* | gallium: Deprecate PIPE_CAP_S3TC. | José Fonseca | 2009-09-16 | 1 | -2/+0 |
| | | | | | No longer used. S3TC support is queried via pipe_screen::is_format_supported. | ||||
* | llvmpipe: Make the code portable for MinGW. | José Fonseca | 2009-09-16 | 5 | -16/+16 |
| | |||||
* | Merge branch 'mesa_7_6_branch' | Brian Paul | 2009-09-15 | 1 | -0/+2 |
|\ | |||||
| * | llvmpipe: asst fixes for 'make linux-llvmpipe' | Brian Paul | 2009-09-11 | 1 | -0/+2 |
| | | |||||
* | | llvmpipe: Make lp_type a regular union. | José Fonseca | 2009-09-14 | 36 | -272/+270 |
| | | | | | | | | | | Union not worth the hassle of violating C99 or adding a name to the structure. | ||||
* | | llvmpipe: Compute derivatives. | José Fonseca | 2009-09-13 | 1 | -4/+87 |
| | | |||||
* | | llvmpipe: Remove dead references to pipe_winsys. | José Fonseca | 2009-09-13 | 1 | -4/+1 |
| | | |||||
* | | llvmpipe: Use const keyword for input array arguments. | José Fonseca | 2009-09-13 | 4 | -11/+12 |
| | | |||||
* | | llvmpipe: Delay storing into the dst register to prevent clobbering the src ↵ | José Fonseca | 2009-09-13 | 1 | -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é Fonseca | 2009-09-13 | 1 | -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é Fonseca | 2009-09-13 | 2 | -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é Fonseca | 2009-09-13 | 1 | -7/+7 |
| | | | | | | | | meaning. | ||||
* | | llvmpipe: set dirty_render_cache in llvmpipe_clear() | José Fonseca | 2009-09-11 | 1 | -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. |