mesa/src
Roland Scheidegger 5ae31d7e1d gallivm: optimize lp_build_minify for sse
SSE can't handle true vector shifts (with variable shift count),
so llvm is turning them into a mess of extracts, scalar shifts and inserts.
It is however possible to emulate them in lp_build_minify with float muls,
which should be way faster (saves over 20 instructions per 8-wide
lp_build_minify). This wouldn't work for "generic" 32bit shifts though
since we've got only 24bits of mantissa (actually for left shifts it would
work by using sse41 int mul instead of float mul but not for right shifts).
Note that this has very limited scope for now, since this is only used with
per-pixel lod (otherwise we're avoiding the non-constant shift count by doing
per-quad shifts manually), and only 1d textures even then (though the latter
should change).

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2013-11-05 23:32:24 +01:00
..
egl wayland: silence unused var warning 2013-10-30 12:50:09 -07:00
gallium gallivm: optimize lp_build_minify for sse 2013-11-05 23:32:24 +01:00
gbm dri: Pass in the dlsym()ed driver extension to screen creation. 2013-10-24 14:04:20 -07:00
getopt
glsl glsl: Don't generate misleading debug names when packing gs inputs. 2013-11-04 19:04:29 -08:00
glx scons: Add missing dependencies to src/mapi/glapi/gen/*.xml 2013-10-30 12:21:54 +00:00
gtest gtest: Build it only for 'make check'. 2013-01-13 12:38:44 +01:00
mapi mesa: Add new functions and enums required by GL_ARB_sample_shading 2013-11-01 16:01:47 -07:00
mesa nouveau: Use _NEW_SCISSOR instead of hooking through dd_function_table 2013-11-05 07:50:19 -08:00
Makefile.am gbm: Link to libwayland-drm if Wayland EGL platform is enabled 2013-08-12 15:16:22 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00