Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallivm: restore const qualifier | Brian Paul | 2010-07-07 | 1 | -1/+1 |
| | |||||
* | gallivm: fix cube map LOD computation | Brian Paul | 2010-07-07 | 1 | -38/+54 |
| | | | | | | | | | | | | | | | First, this undoes commit e503af4baa2c709ae5743bb278b277d3faaba076 so we use iround() in lp_build_nearest_mip_level(). Second, in lp_build_sample_general() we need to check if we're sampling a cube map before anything else. Choose the cube face and then recompute the partial derivatives of (S,T) with respect to the chosen cube face. Before, we were using the directional (S,T,R) derivatives to compute the LOD. Third, work around an apparent bug in LLVM 2.7 where setting the lod variable to a const(0) value results in bad x86 code. See comments in the code. | ||||
* | llvmpipe: Don't build lp_test_round when using MSVC. | Vinson Lee | 2010-07-06 | 1 | -1/+3 |
| | | | | | | | lp_test_round uses the math functions round and trunc, which aren't available with MSVC. Fixes the MSVC build for now. | ||||
* | llvmpipe: Add lp_test_round to SCons build. | Vinson Lee | 2010-07-06 | 1 | -0/+1 |
| | |||||
* | draw: Remove unnecessary header. | Vinson Lee | 2010-07-06 | 1 | -1/+0 |
| | |||||
* | gallivm: Remove unnecessary header. | Vinson Lee | 2010-07-06 | 1 | -1/+0 |
| | |||||
* | util: print help for debug options on non-debug builds | Marek Olšák | 2010-07-07 | 1 | -2/+2 |
| | | | | I'd like to see the help when I request it. | ||||
* | gallivm: use trunc, not round in lp_build_nearest_mip_level() | Brian Paul | 2010-07-06 | 1 | -1/+1 |
| | | | | Fixes fd.o bug 28036 (piglit fbo-cubemap.c regression) | ||||
* | llvmpipe: add test program for round(), trunc(), floor(), ceil() | Brian Paul | 2010-07-06 | 2 | -0/+278 |
| | |||||
* | gallivm: finish implementation of lp_build_iceil() | Brian Paul | 2010-07-06 | 1 | -19/+67 |
| | | | | | | Plus fix minor error in lp_build_iceil() by tweaking the offset value. And add a bunch of comments for the round(), trunc(), floor(), ceil() functions. | ||||
* | llvmpipe: disconnect vertex texture sampling from the setup | Zack Rusin | 2010-07-06 | 8 | -89/+85 |
| | | | | | | | it was wrong to put this in the fs paths, but it was easier to just stuff it along the fragment texture sampling paths. the patch disconnects vertex texture sampling and just maps the textures before the draw itself and unmaps them after. | ||||
* | draw: make sure softpipe doesn't crash with vertex tex sampling | Zack Rusin | 2010-07-06 | 1 | -7/+16 |
| | | | | | | softpipe doesn't implement the draw's llvm tex sampling interface so make sure draw can handle the cases where the driver doesn't implement the interface | ||||
* | draw: implement vertex texture sampling using llvm | Zack Rusin | 2010-07-06 | 15 | -32/+516 |
| | |||||
* | r300/compiler: Implement KILP opcode. | Tom Stellard | 2010-07-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Marek Olšák <[email protected]> | ||||
* | gallivm: Use SSE4.1's BLENDV instructions for lp_build_select(). | José Fonseca | 2010-07-06 | 1 | -0/+41 |
| | |||||
* | gallivm: Fix 8bit comparisons. | José Fonseca | 2010-07-06 | 1 | -5/+3 |
| | |||||
* | llvmpipe: ensure all bins are reset avoids memory corruption. | Alan Hourihane | 2010-07-06 | 1 | -2/+2 |
| | |||||
* | st/egl: Add support for !GLX_DIRECT_RENDERING. | Chia-I Wu | 2010-07-06 | 4 | -41/+79 |
| | | | | | | | st/egl uses GLX code for DRI2 support. It should honor GLX_DIRECT_RENDERING. Also updates configure.ac to define GLX_DIRECT_RENDERING for st/egl. | ||||
* | auxiliary/util: Add SM3 meta-cap list. | Corbin Simpson | 2010-07-05 | 1 | -0/+17 |
| | |||||
* | llvmpipe: wait for queries being finished when asked for it or before deletion | Roland Scheidegger | 2010-07-05 | 1 | -6/+26 |
| | | | | | This fixes bug #28757, though does not yet address the issue that fences aren't always emitted. | ||||
* | i915g: Remove unnecessary header. | Vinson Lee | 2010-07-04 | 1 | -1/+0 |
| | |||||
* | i915g: Add flag to not send commands to hw | Jakob Bornecrantz | 2010-07-04 | 3 | -1/+6 |
| | |||||
* | i915g: If the kernel reject the batchbuffer print it then assert | Jakob Bornecrantz | 2010-07-04 | 1 | -13/+18 |
| | |||||
* | i915g: Minor cleanups | Jakob Bornecrantz | 2010-07-04 | 2 | -9/+16 |
| | |||||
* | i915g: Make batchbuffer flush function not be inline | Jakob Bornecrantz | 2010-07-04 | 3 | -15/+28 |
| | |||||
* | i915g: Rename texture state to map state | Jakob Bornecrantz | 2010-07-04 | 1 | -23/+23 |
| | |||||
* | i915g: Move fragment state to its own file | Jakob Bornecrantz | 2010-07-04 | 6 | -17/+64 |
| | |||||
* | i915g: Move static state to its own file | Jakob Bornecrantz | 2010-07-04 | 4 | -18/+50 |
| | |||||
* | i915g: Don't dirty dynamic state if it hasn't changed | Jakob Bornecrantz | 2010-07-04 | 1 | -1/+4 |
| | |||||
* | i915g: Don't flush after blit | Jakob Bornecrantz | 2010-07-04 | 1 | -2/+0 |
| | |||||
* | i915g: Don't flush empty batchbuffers | Jakob Bornecrantz | 2010-07-04 | 1 | -2/+0 |
| | |||||
* | gallium: Make trivial examples use target helpers | Jakob Bornecrantz | 2010-07-04 | 3 | -26/+23 |
| | |||||
* | gallium: Fix compilation of trivial quad-tex | Jakob Bornecrantz | 2010-07-04 | 1 | -1/+1 |
| | |||||
* | st/egl: Remove unnecessary headers. | Vinson Lee | 2010-07-03 | 1 | -3/+0 |
| | |||||
* | gallivm: Remove unnecessary headers. | Vinson Lee | 2010-07-03 | 2 | -2/+0 |
| | |||||
* | r300g: fix warnings | Marek Olšák | 2010-07-03 | 1 | -2/+5 |
| | |||||
* | r300/compiler: Use hardware flow control instructions for loops on r500. | Tom Stellard | 2010-07-03 | 1 | -1/+2 |
| | |||||
* | r300g: Fix typo in r300_reg.h | Tom Stellard | 2010-07-03 | 1 | -2/+2 |
| | |||||
* | gallivm: Do 4ubyte AoS texture filtering for any format that can be expressed. | José Fonseca | 2010-07-02 | 3 | -52/+96 |
| | | | | | Except if it has only one channel, as it would take the same number of instructions. | ||||
* | gallivm: Use util_format_description::fetch_rgba_8unorm() when available. | José Fonseca | 2010-07-02 | 1 | -7/+100 |
| | |||||
* | util: Add a fetch_rgba_8unorm. | José Fonseca | 2010-07-02 | 2 | -0/+15 |
| | | | | | | Not always implemented, but useful in situations where we want 8unorms and the samples comes as 8unorms as we needlessly convert to/from floats. | ||||
* | gallivm: Support multiple pixels in lp_build_fetch_rgba_aos(). | José Fonseca | 2010-07-02 | 6 | -112/+202 |
| | | | | | This allows to do the unpacking of formats that fit in 4 x unorm8 in parallel, 4 pixels at a time. | ||||
* | gallivm: Move lp_build_rgba8_to_f32_soa() to lp_bld_format_soa.c | José Fonseca | 2010-07-02 | 3 | -32/+40 |
| | | | | It will be more useful here. | ||||
* | gallivm: Move gather functions to its own module. | José Fonseca | 2010-07-02 | 10 | -61/+215 |
| | | | | | They need to grow, and they provide basic functionality which is not specific to sampling. | ||||
* | gallivm: Check inputs/outputs in lp_build_conv() | José Fonseca | 2010-07-02 | 1 | -2/+6 |
| | |||||
* | util: Expose util_format_fits_8unorm(). | José Fonseca | 2010-07-02 | 2 | -1/+4 |
| | |||||
* | softpipe: fix incorrect blend func index passed to blend_quad() | Brian Paul | 2010-07-02 | 1 | -8/+15 |
| | | | | | | | | Need to pass the index indicating which blend terms to use, not which color buffer we're blending into. Rename the parameter to blend_quad() and add comments to be more clear about this. | ||||
* | softpipe: better assertions | Brian Paul | 2010-07-02 | 1 | -7/+7 |
| | |||||
* | gallium/cso: check for set_vertex_sampler_views != NULL before calling it | Brian Paul | 2010-07-02 | 1 | -1/+2 |
| | | | | | Not all drivers implement this method. Fixes regression reported by Chris Rankin and bug 28889. | ||||
* | gallivm: Code generate YUV format unpacking. | José Fonseca | 2010-07-02 | 5 | -0/+431 |
| |