Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-12 | u_blitter: clean up the texcoord computations | Marek Olšák | |
2010-07-12 | u_blitter: simplify blitter_set_rectangle | Marek Olšák | |
2010-07-12 | u_blitter: rename blitter->base, add a way to get a pipe context from blitter | Marek Olšák | |
2010-07-08 | draw: Fix off-by-one error in assert. | Vinson Lee | |
textures is an array of size PIPE_MAX_VERTEX_SAMPLERS. | |||
2010-07-07 | gallivm: restore const qualifier | Brian Paul | |
2010-07-07 | gallivm: fix cube map LOD computation | Brian Paul | |
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. | |||
2010-07-06 | draw: Remove unnecessary header. | Vinson Lee | |
2010-07-06 | gallivm: Remove unnecessary header. | Vinson Lee | |
2010-07-07 | util: print help for debug options on non-debug builds | Marek Olšák | |
I'd like to see the help when I request it. | |||
2010-07-06 | gallivm: use trunc, not round in lp_build_nearest_mip_level() | Brian Paul | |
Fixes fd.o bug 28036 (piglit fbo-cubemap.c regression) | |||
2010-07-06 | gallivm: finish implementation of lp_build_iceil() | Brian Paul | |
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. | |||
2010-07-06 | draw: make sure softpipe doesn't crash with vertex tex sampling | Zack Rusin | |
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 | |||
2010-07-06 | draw: implement vertex texture sampling using llvm | Zack Rusin | |
2010-07-06 | gallivm: Use SSE4.1's BLENDV instructions for lp_build_select(). | José Fonseca | |
2010-07-06 | gallivm: Fix 8bit comparisons. | José Fonseca | |
2010-07-05 | auxiliary/util: Add SM3 meta-cap list. | Corbin Simpson | |
2010-07-03 | gallivm: Remove unnecessary headers. | Vinson Lee | |
2010-07-02 | gallivm: 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-02 | gallivm: Use util_format_description::fetch_rgba_8unorm() when available. | José Fonseca | |
2010-07-02 | util: 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-02 | gallivm: 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-02 | gallivm: Move lp_build_rgba8_to_f32_soa() to lp_bld_format_soa.c | José Fonseca | |
It will be more useful here. | |||
2010-07-02 | gallivm: 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-02 | gallivm: Check inputs/outputs in lp_build_conv() | José Fonseca | |
2010-07-02 | util: Expose util_format_fits_8unorm(). | José Fonseca | |
2010-07-02 | gallium/cso: check for set_vertex_sampler_views != NULL before calling it | Brian Paul | |
Not all drivers implement this method. Fixes regression reported by Chris Rankin and bug 28889. | |||
2010-07-02 | gallivm: Code generate YUV format unpacking. | José Fonseca | |
2010-07-02 | gallivm: Fix 4 x unorm8 -> 4 x float conversion. | José Fonseca | |
Also fix the test. | |||
2010-07-02 | r600: 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-01 | gallium/cso: unbind sampler views in cso_release_all() | Brian Paul | |
2010-07-01 | gallivm: Support 4 x unorm8 in lp_build_fetch_rgba_aos(). | José Fonseca | |
Uses code and ideas from Brian Paul. | |||
2010-07-01 | gallivm: 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-01 | gallivm: Support extended swizzles in lp_build_swizzle1_aos(). | José Fonseca | |
And rename to lp_build_swizzle_aos(). | |||
2010-07-01 | gallivm: 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-01 | llvmpipe: Remove lp_build_swizzle2_aos(). | José Fonseca | |
Unnecessary special case. | |||
2010-06-30 | draw: fix out of memory handling in polygon stipple stage | Brian Paul | |
2010-06-29 | draw: Add inline keyword to inline function. | José Fonseca | |
Otherwise gcc will warn about unusued functions. | |||
2010-06-29 | util: reference surfaces and sampler views in blitter when saving them | Marek Olšák | |
Ooops. This should possibly fix some bugs... | |||
2010-06-28 | glhd: Re-integrate with the debug system | Jakob Bornecrantz | |
2010-06-28 | Merge 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-27 | util: fix a memory leak in blitter | Marek Olšák | |
2010-06-26 | draw: fix build with llvm and make | Marek Olšák | |
2010-06-26 | draw: Remove unnecessary header. | Vinson Lee | |
2010-06-25 | draw: deleted by mistake | Zack Rusin | |
2010-06-25 | draw: initialize headers in the none post paths as well | Zack Rusin | |
2010-06-25 | draw: limit the number of vertex shader variants kept around | Zack 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-25 | draw: initialize vertex header | Zack Rusin | |
2010-06-25 | gallium/util: fix pipe_sampler_view_reference() calls | Brian Paul | |
The conditionals aren't needed. | |||
2010-06-25 | draw: 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-24 | gallium: Add debug target helper | Jakob Bornecrantz | |