Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | gallivm: Remove unnecessary header. | Vinson Lee | |
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 | gallivm: Use SSE4.1's BLENDV instructions for lp_build_select(). | José Fonseca | |
2010-07-06 | gallivm: Fix 8bit comparisons. | José Fonseca | |
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 | 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 | 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-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-14 | gallivm: Omit references to NoFramePointerElimNonLeaf | José Fonseca | |
It was added after 2.7. | |||
2010-06-14 | gallivm: Override some of the default target options. | José Fonseca | |
In particular: - enable LLVM <-> GDB integration for JIT code - disable frame-pointer elimination on debug/profile builds - enable fast-math. | |||
2010-06-14 | gallivm: Use func_to_pointer(). | José Fonseca | |
2010-06-07 | gallivm: eliminate tgsi_exec.h include | Keith Whitwell | |
2010-06-03 | gallivm: Register the JIT engine with oprofile on debug/profile builds. | José Fonseca | |
2010-06-03 | gallivm: Factor out the quad derivative code into a single place. Fix ddy. | José Fonseca | |
For ddy it should be (bottom - top). | |||
2010-06-03 | gallium: silence all debug_named_value related warnings | Joakim Sindholt | |
2010-06-02 | gallivm: bump up LP_BUILD_FLOW_MAX_VARIABLES | Brian Paul | |
Fixes failed assertion with piglit fbo-drawbuffers-fragcolor.c See fd.o bug 28358. With 8 color buffers + Z we need to declare 33 vars, at least. | |||
2010-06-02 | gallivm: Add a lp_build_const_elem(). | José Fonseca | |
2010-06-02 | llvmpipe: Store often used LLVM types in the lp_build_context. | José Fonseca | |
2010-06-02 | gallivm: Zero min_lod and max_lod when only one view is selected and min/mag ↵ | José Fonseca | |
filter are equal. | |||
2010-06-02 | gallivm: Make lp_build_sample_wrap_int usage more accurate. | José Fonseca | |
Fixes mesa texwrap demo border with GL_CLAMP. | |||
2010-06-02 | gallivm: Don't use reciprocate in lp_build_sample_wrap_linear(). | José Fonseca | |
Always clamp the scaled coordinates. | |||
2010-06-02 | gallivm: Avoid fp arithmetic in lp_build_sample_wrap_nearest(). | José Fonseca | |
2010-06-02 | gallivm: Don't use lp_build_sample_wrap_nearest() | José Fonseca | |
Always clamp with scaled coordinates. | |||
2010-05-27 | gallivm: add assertions to check type of phi variables | Brian Paul | |
2010-05-26 | gallivm: Remove unnecessary headers. | Vinson Lee | |
2010-05-25 | gallivm: Choose an appropriate code generation optimization level. | José Fonseca | |
'Default' unless GALLIVM_DEBUG=nopt option is set. | |||
2010-05-24 | gallivm: Efficient implementation of sin/cos. | Qicheng Christopher Li | |
Based on Julien Pommier's SSE and SSE2 algorithms. Signed-off-by: José Fonseca <jfonseca@vmware.com> | |||
2010-05-20 | gallivm: rename a var: s/val/array_size/ | Brian Paul | |
2010-05-20 | gallivm: fix spelling in comment | Brian Paul | |
2010-05-20 | gallivm: handle pointer types in lp_dump_llvmtype() | Brian Paul | |
2010-05-17 | gallivm: Tweak ret_mask handling. | José Fonseca | |
2010-05-17 | gallivm: implement function calls by inlining | Zack Rusin | |
with this approach we inline the entire function body in the caller | |||
2010-05-15 | gallivm: Centralize some of the LLVM debugging options. | José Fonseca | |
2010-05-15 | gallivm: Temporarily remove function call support | José Fonseca | |
Commits moved to the gallivm-call feature branch for further experimentation and stabilization. | |||
2010-05-15 | gallivm: use our util_snprintf | Zack Rusin | |
2010-05-15 | gallivm: implement function calls | Zack Rusin | |
2010-05-14 | gallivm: added some vector length sanity checks | Brian Paul | |