summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2010-07-06gallivm: Use SSE4.1's BLENDV instructions for lp_build_select().José Fonseca
2010-07-06gallivm: Fix 8bit comparisons.José Fonseca
2010-07-05auxiliary/util: Add SM3 meta-cap list.Corbin Simpson
2010-07-03gallivm: Remove unnecessary headers.Vinson Lee
2010-07-02gallivm: Do 4ubyte AoS texture filtering for any format that can be expressed.José Fonseca
Except if it has only one channel, as it would take the same number of instructions.
2010-07-02gallivm: Use util_format_description::fetch_rgba_8unorm() when available.José Fonseca
2010-07-02util: Add a fetch_rgba_8unorm.José Fonseca
Not always implemented, but useful in situations where we want 8unorms and the samples comes as 8unorms as we needlessly convert to/from floats.
2010-07-02gallivm: Support multiple pixels in lp_build_fetch_rgba_aos().José Fonseca
This allows to do the unpacking of formats that fit in 4 x unorm8 in parallel, 4 pixels at a time.
2010-07-02gallivm: Move lp_build_rgba8_to_f32_soa() to lp_bld_format_soa.cJosé Fonseca
It will be more useful here.
2010-07-02gallivm: Move gather functions to its own module.José Fonseca
They need to grow, and they provide basic functionality which is not specific to sampling.
2010-07-02gallivm: Check inputs/outputs in lp_build_conv()José Fonseca
2010-07-02util: Expose util_format_fits_8unorm().José Fonseca
2010-07-02gallium/cso: check for set_vertex_sampler_views != NULL before calling itBrian Paul
Not all drivers implement this method. Fixes regression reported by Chris Rankin and bug 28889.
2010-07-02gallivm: Code generate YUV format unpacking.José Fonseca
2010-07-02gallivm: Fix 4 x unorm8 -> 4 x float conversion.José Fonseca
Also fix the test.
2010-07-02r600: use gallium list macros instead of making our own.Dave Airlie
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 <airlied@redhat.com>
2010-07-01gallium/cso: unbind sampler views in cso_release_all()Brian Paul
2010-07-01gallivm: Support 4 x unorm8 in lp_build_fetch_rgba_aos().José Fonseca
Uses code and ideas from Brian Paul.
2010-07-01gallivm: Allow to conversions to/from registers of different sizes.José Fonseca
Allow for example to convert from 4 x float32 to 4 x unorm8 and vice versa. Uses code and ideas from Brian Paul.
2010-07-01gallivm: Support extended swizzles in lp_build_swizzle1_aos().José Fonseca
And rename to lp_build_swizzle_aos().
2010-07-01gallivm: Setup a global optimization pass.José Fonseca
Modules are still free to setup their own optimization passes, but for the normal case it should not be necessary.
2010-07-01llvmpipe: Remove lp_build_swizzle2_aos().José Fonseca
Unnecessary special case.
2010-06-30draw: fix out of memory handling in polygon stipple stageBrian Paul
2010-06-29draw: Add inline keyword to inline function.José Fonseca
Otherwise gcc will warn about unusued functions.
2010-06-29util: reference surfaces and sampler views in blitter when saving themMarek Olšák
Ooops. This should possibly fix some bugs...
2010-06-28glhd: Re-integrate with the debug systemJakob Bornecrantz
2010-06-28Merge branch 'gallium-drm-driver-drescriptor'Jakob Bornecrantz
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
2010-06-27util: fix a memory leak in blitterMarek Olšák
2010-06-26draw: fix build with llvm and makeMarek Olšák
2010-06-26draw: Remove unnecessary header.Vinson Lee
2010-06-25draw: deleted by mistakeZack Rusin
2010-06-25draw: initialize headers in the none post paths as wellZack Rusin
2010-06-25draw: limit the number of vertex shader variants kept aroundZack Rusin
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.
2010-06-25draw: initialize vertex headerZack Rusin
2010-06-25gallium/util: fix pipe_sampler_view_reference() callsBrian Paul
The conditionals aren't needed.
2010-06-25draw: Work around an invalid write.Chia-I Wu
SSE vertex shader does not seem to honor the execution mask. Pad the output array as a workaround.
2010-06-24gallium: Add debug target helperJakob Bornecrantz
2010-06-24gallium: Remove drm_api and all references to itJakob Bornecrantz
2010-06-23draw: use gallium's TRUE/FALSEBrian Paul
2010-06-23draw: don't try to precalculate the pipeline output primitiveKeith Whitwell
We were previously calculating a value which was either the geometry shader output primitive or the application's input primitive, and passing that to the various front/middle/back components for use as the ultimate rendering primtive. Unfortunately, this was not correct -- if the vcache decomposition path is active and geometry shaders are *not* active, we can end up with a third primitive -- specifically the decomposed version of the input primitive. Rather than trying to precalculate this, just let the individual components inform their successors about which primitive type they are recieving.
2010-06-23draw: mask off DRAW_PIPE_FLAG_MASK bits in prim decompose codeBrian Paul
Any elt may potentially have flags bits set so mask off those bits everywhere. Fixes crashes with demos/gamma.c, redbook/polys.c, etc. but polygon stippling is still broken.
2010-06-23target-helpers: Add inline helpersJakob Bornecrantz
2010-06-22u_math: Add align function npot alignmentsJakob Bornecrantz
2010-06-22gallium: add a timestamp disjoint queryZack Rusin
allows application to not only request the frequency of the TIME_ELAPSED clock but also to detect if that frequency was consistent throughout the entire bracketed range of graphics commands.
2010-06-18gallium: add a temporary array register fileZack Rusin
like normal temporaries, but allows to define a number of distinct arrays, all of which make it explicit that they contain /indexable/ registers. as a side-effect we're adding support for multi-dimensional destination registers. The whole thing looks like this: DCL TEMPX[0][0..128] # 0 array with 128 registers ADD TEMPX[0][0], IN[0], IMM[0] ADD TEMPX[0][1], IN[0], IMM[0] ABS OUT[0], TEMPX[0][TEMP[0]]
2010-06-18gallium: add a new register file - immediate arrayZack Rusin
allows one to specify a safe (bound checked) array filled with immediates. it works just like a const array and declares much like our current immediates.
2010-06-17draw: implement triangle strips with adjacency in geometry shaderZack Rusin
2010-06-17draw: implement triangle lists with adjacency support in gsZack Rusin
2010-06-17draw: fix a silly errorZack Rusin
2010-06-17draw: implement line strip adjacencyZack Rusin