summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* u_blitter: simplify blitter_set_rectangleMarek Olšák2010-07-121-19/+32
|
* u_blitter: rename blitter->base, add a way to get a pipe context from blitterMarek Olšák2010-07-122-70/+80
|
* draw: Fix off-by-one error in assert.Vinson Lee2010-07-081-1/+1
| | | | textures is an array of size PIPE_MAX_VERTEX_SAMPLERS.
* gallivm: restore const qualifierBrian Paul2010-07-071-1/+1
|
* gallivm: fix cube map LOD computationBrian Paul2010-07-071-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.
* draw: Remove unnecessary header.Vinson Lee2010-07-061-1/+0
|
* gallivm: Remove unnecessary header.Vinson Lee2010-07-061-1/+0
|
* util: print help for debug options on non-debug buildsMarek Olšák2010-07-071-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 Paul2010-07-061-1/+1
| | | | Fixes fd.o bug 28036 (piglit fbo-cubemap.c regression)
* gallivm: finish implementation of lp_build_iceil()Brian Paul2010-07-061-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.
* draw: make sure softpipe doesn't crash with vertex tex samplingZack Rusin2010-07-061-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 llvmZack Rusin2010-07-069-28/+420
|
* gallivm: Use SSE4.1's BLENDV instructions for lp_build_select().José Fonseca2010-07-061-0/+41
|
* gallivm: Fix 8bit comparisons.José Fonseca2010-07-061-5/+3
|
* auxiliary/util: Add SM3 meta-cap list.Corbin Simpson2010-07-051-0/+17
|
* gallivm: Remove unnecessary headers.Vinson Lee2010-07-032-2/+0
|
* gallivm: Do 4ubyte AoS texture filtering for any format that can be expressed.José Fonseca2010-07-023-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é Fonseca2010-07-021-7/+100
|
* util: Add a fetch_rgba_8unorm.José Fonseca2010-07-022-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é Fonseca2010-07-025-111/+199
| | | | | 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.cJosé Fonseca2010-07-023-32/+40
| | | | It will be more useful here.
* gallivm: Move gather functions to its own module.José Fonseca2010-07-0210-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é Fonseca2010-07-021-2/+6
|
* util: Expose util_format_fits_8unorm().José Fonseca2010-07-022-1/+4
|
* gallium/cso: check for set_vertex_sampler_views != NULL before calling itBrian Paul2010-07-021-1/+2
| | | | | Not all drivers implement this method. Fixes regression reported by Chris Rankin and bug 28889.
* gallivm: Code generate YUV format unpacking.José Fonseca2010-07-025-0/+431
|
* gallivm: Fix 4 x unorm8 -> 4 x float conversion.José Fonseca2010-07-022-7/+30
| | | | Also fix the test.
* r600: use gallium list macros instead of making our own.Dave Airlie2010-07-021-1/+16
| | | | | | | | | before this change, r600 glxinfo segfaulted in the list code, and I wasn't debugging another linked list implementation, its 2010 after all. So add the two missing list macros to the gallium header from X.org list header file (after fixing them), then port all r600 lists to the new header. Signed-off-by: Dave Airlie <[email protected]>
* gallium/cso: unbind sampler views in cso_release_all()Brian Paul2010-07-011-0/+2
|
* gallivm: Support 4 x unorm8 in lp_build_fetch_rgba_aos().José Fonseca2010-07-015-70/+213
| | | | Uses code and ideas from Brian Paul.
* gallivm: Allow to conversions to/from registers of different sizes.José Fonseca2010-07-013-21/+125
| | | | | | Allow for example to convert from 4 x float32 to 4 x unorm8 and vice versa. Uses code and ideas from Brian Paul.
* gallivm: Support extended swizzles in lp_build_swizzle1_aos().José Fonseca2010-07-013-23/+169
| | | | And rename to lp_build_swizzle_aos().
* gallivm: Setup a global optimization pass.José Fonseca2010-07-012-0/+31
| | | | | Modules are still free to setup their own optimization passes, but for the normal case it should not be necessary.
* llvmpipe: Remove lp_build_swizzle2_aos().José Fonseca2010-07-012-61/+0
| | | | Unnecessary special case.
* draw: fix out of memory handling in polygon stipple stageBrian Paul2010-06-301-5/+10
|
* draw: Add inline keyword to inline function.José Fonseca2010-06-291-1/+1
| | | | Otherwise gcc will warn about unusued functions.
* util: reference surfaces and sampler views in blitter when saving themMarek Olšák2010-06-292-5/+46
| | | | Ooops. This should possibly fix some bugs...
* glhd: Re-integrate with the debug systemJakob Bornecrantz2010-06-281-0/+8
|
* Merge branch 'gallium-drm-driver-drescriptor'Jakob Bornecrantz2010-06-283-0/+133
|\ | | | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/radeon/drm/radeon_drm.c
| * gallium: Add debug target helperJakob Bornecrantz2010-06-241-0/+36
| |
| * gallium: Remove drm_api and all references to itJakob Bornecrantz2010-06-241-46/+0
| |
| * target-helpers: Add inline helpersJakob Bornecrantz2010-06-232-0/+97
| |
| * gallium: drm api compat helperJakob Bornecrantz2010-06-061-0/+46
| | | | | | | | | | This is temporary untill all drivers have moved to the new drm driver descriptor interface.
* | util: fix a memory leak in blitterMarek Olšák2010-06-271-6/+1
| |
* | draw: fix build with llvm and makeMarek Olšák2010-06-261-0/+1
| |
* | draw: Remove unnecessary header.Vinson Lee2010-06-261-1/+0
| |
* | draw: deleted by mistakeZack Rusin2010-06-251-0/+1
| |
* | draw: initialize headers in the none post paths as wellZack Rusin2010-06-251-0/+8
| |
* | draw: limit the number of vertex shader variants kept aroundZack Rusin2010-06-258-62/+324
| | | | | | | | | | | | | | we used to create and cache unltimited number of variant, this change limits the number of variants kept around to a fixed number. the change is based on a similar patch by Roland for llvmpipe fragment shaders.
* | draw: initialize vertex headerZack Rusin2010-06-253-43/+16
| |