Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: Make sure the JIT engine and X86 target are linked on MSVC build. | José Fonseca | 2009-10-28 | 6 | -4/+118 |
| | | | | | Basically mimic the llvm 2.6 way of linking execution engines and targets. | ||||
* | llvmpipe: Implement round() for MSVC. | José Fonseca | 2009-10-28 | 1 | -0/+12 |
| | |||||
* | llvmpipe: Human friendlier sampler state dump. | José Fonseca | 2009-10-25 | 2 | -9/+22 |
| | |||||
* | llvmpipe: Dump the sampler state of the shader key. | José Fonseca | 2009-10-25 | 1 | -0/+18 |
| | |||||
* | llvmpipe: Immediate multiplication. | José Fonseca | 2009-10-25 | 4 | -32/+64 |
| | |||||
* | llvmpipe: Fast path for sampling rgba8 textures with linear filtering. | José Fonseca | 2009-10-25 | 1 | -12/+256 |
| | | | | | | | | Implement Keith's suggestion of doing most of the sampling with 16x8 and 8x16 AoS, and only doing the conversion to floating point SoA at the very last step. Improves gloss performance by 10%. | ||||
* | llvmpipe: Make lerping work for 8.8 fixed point values. | José Fonseca | 2009-10-25 | 1 | -4/+50 |
| | |||||
* | llvmpipe: New module to help make assertions about formats. | José Fonseca | 2009-10-25 | 4 | -0/+78 |
| | |||||
* | llvmpipe: New function to unpack rgba8 formats into 4 x u8n AoS. | José Fonseca | 2009-10-25 | 2 | -12/+148 |
| | |||||
* | llvmpipe: Split the format swizzling step from the unpacking. | José Fonseca | 2009-10-25 | 2 | -16/+34 |
| | |||||
* | llvmpipe: Allow different signs when unpacking. | José Fonseca | 2009-10-25 | 1 | -2/+1 |
| | |||||
* | llvmpipe: Add inlines to quickly generate types matching the native SIMD ↵ | José Fonseca | 2009-10-25 | 2 | -12/+102 |
| | | | | register bitwidth. | ||||
* | llvmpipe: Merge lp_build_load_rgba_soa into lp_build_sample_texel. | José Fonseca | 2009-10-25 | 1 | -32/+16 |
| | |||||
* | llvmpipe: Factor our pixel offset computation. | José Fonseca | 2009-10-25 | 3 | -43/+83 |
| | |||||
* | llvmpipe: Share testing infrastructure with lp_test_format. | José Fonseca | 2009-10-25 | 2 | -23/+46 |
| | |||||
* | llvmpipe: Eliminate lp_build_store_rgba_aos. | José Fonseca | 2009-10-25 | 3 | -49/+16 |
| | |||||
* | llvmpipe: Eliminate lp_build_load_rgba_aos. | José Fonseca | 2009-10-25 | 3 | -52/+15 |
| | |||||
* | llvmpipe: Move a few format/sampling functions into better space. | José Fonseca | 2009-10-25 | 7 | -123/+158 |
| | |||||
* | 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. |