Brian Paul
9b9eba5a42
cell: more documentation updates
vor 17 Jahren
Brian Paul
38bacb6f32
cell: implement colormask on fallback path
Also, some var renaming and additional comments
vor 17 Jahren
Brian Paul
9defef29c5
gallium: avoid redundant tgsi_exec_machine_bind_shader() calls on draw exec path
tgsi_exec_machine_bind_shader() isn't cheap so avoiding unecessary calls
is a big win.
A similar change should be done for softpipe's fragment exec path but
extra care needs to be taken with the texture sampler state/params.
vor 17 Jahren
Brian Paul
bd34b8a4fe
gallium: use copy_token() function to avoid type punning/aliasing problems
This fixes parsing errors seen with optimized builds on PPC (which led to crashes).
The memcpy() is heavy-handed, but works. A lighter uint assignment could
be used on x86...
vor 17 Jahren
Brian Paul
73193b7735
cell: fix twiddled tile display for XSHM. Fixed blank window problem.
vor 17 Jahren
Brian Paul
31d2e5b954
gallium: use new compare32() function to fix warnings about type punning and aliasing
vor 17 Jahren
Brian Paul
50f78fcc2e
gallium: silence warning
vor 17 Jahren
Brian Paul
a449465556
cell: fix non-debug build error
vor 17 Jahren
Brian Paul
e8b199c6e3
cell: implement swizzling for src regs
vor 17 Jahren
Brian Paul
6c0fa79857
cell: setup fragment program inputs in SOA format
Also remove old code, etc.
vor 17 Jahren
Brian Paul
c436f96b10
simple add with swizzle and mul with swizzle tests
vor 17 Jahren
Brian Paul
0c0e5b71c0
cell: updated docs/status
vor 17 Jahren
Brian Paul
b71f4150c8
gallium: minor optimization to spe_load_int()
vor 17 Jahren
Brian Paul
be5d8bd078
gallium: initial PPC/Altivec codegen
vor 17 Jahren
Brian Paul
2d28c2e356
cell: update branch info in docs
vor 17 Jahren
Brian Paul
fa0aa1443b
cell: disable calls to old gen code
vor 17 Jahren
Brian Paul
690f5af337
gallium: don't build winsys/ here
vor 17 Jahren
Jakob Bornecrantz
3df0647027
i915simple: A step closer to compiling
vor 17 Jahren
Keith Whitwell
f7d7a212cd
mesa: build gallium directories before core mesa
vor 17 Jahren
Keith Whitwell
4b458555ab
mesa: regenerate shader files
vor 17 Jahren
Keith Whitwell
522139dd14
vp: add run script
vor 17 Jahren
Keith Whitwell
176c454765
Merge commit 'origin/gallium-0.1' into gallium-0.2
Conflicts:
progs/fp/Makefile
vor 17 Jahren
Keith Whitwell
1f13545679
fp: put test name in window title, add run script
vor 17 Jahren
Keith Whitwell
af74abab6b
mesa: get fixed-function program generation working again
vor 17 Jahren
Keith Whitwell
52a9dfd4fe
use APP_CC, remove redundant target
vor 17 Jahren
Brian Paul
aa66f08a21
cell: initial support for fragment shader code generation.
TGSI shaders are translated into SPE instructions which are then sent to
the SPEs for execution. Only a few opcodes work, no swizzling yet, no
support for constants/immediates, etc.
vor 17 Jahren
Brian Paul
dbbbc33344
use APP_CC
vor 17 Jahren
Brian Paul
084ab37b7f
cell: fix tile twidding bug seen in the event of multiple expose events
vor 17 Jahren
Brian Paul
bc304bbd49
cell: minor improvements to fragment code-gen
vor 17 Jahren
Brian Paul
178bbaff80
gallium: add special cases in spe_load_float(), spe_load_int(), added spe_splat()
vor 17 Jahren
Brian Paul
be925ab6e8
cell: put cell_ prefix on gen_fragment_function()
vor 17 Jahren
Keith Whitwell
fd0ee68305
trivial: remove stray merge conflict
vor 17 Jahren
Keith Whitwell
b66ee9e32f
st: adapt to new framebuffer struct, with one FIXME outstanding
vor 17 Jahren
Keith Whitwell
7ee599d30b
mesa: update PointParameter usage
vor 17 Jahren
Keith Whitwell
a90cae8a17
demos: fix LIBS ref in makefile
vor 17 Jahren
Brian Paul
fbf1586b36
gallium: typo: s/PIPE_FORMAT_Z16UNORM/PIPE_FORMAT_Z16_UNORM/
vor 17 Jahren
Dima Zavin
7d3d5fb7a5
egl_xdri: Add the top-level lib dir so we link against the libGL we built.
vor 17 Jahren
Dima Zavin
912488a8d0
egl_dri/egl_xdri: Makefiles should use pkg-config to find libdrm.
vor 17 Jahren
Keith Whitwell
536092f9e0
xlib: fix typo
vor 17 Jahren
Keith Whitwell
cc7dd4fc1b
Merge commit 'origin/gallium-0.1' into gallium-0.2
Conflicts:
Makefile
progs/demos/Makefile
progs/glsl/Makefile
progs/redbook/Makefile
progs/samples/Makefile
progs/tests/Makefile
progs/trivial/Makefile
progs/xdemos/Makefile
src/gallium/Makefile
src/mesa/main/attrib.c
src/mesa/main/bufferobj.c
src/mesa/vbo/vbo_exec_draw.c
vor 17 Jahren
Keith Whitwell
685248bea1
mesa: use sources.mak -- need to figure out how to support non-gallium builds also
vor 17 Jahren
Alan Hourihane
cdd97ceca0
add gallium dir
winsys/common -> winsys/
vor 17 Jahren
Brian Paul
d50d68a1c9
glut: only call glFinish() in processWindowWorkList() for indirect contexts.
Basically, do as the comment says.
vor 17 Jahren
Brian Paul
90c93bbeee
define new APP_CC configuration variable for building apps/demos/tests
For Cell, need to use different compilers for the libraries vs. the demos/tests
to avoid strange link error regarding "_Unwind_GetIPInfo@GCC_4.2.0"
vor 17 Jahren
Alan Hourihane
5835d7e573
tree builds
vor 17 Jahren
Brian Paul
7ce1d0fb67
cell: more comments, stub code for colormask/logicop/etc
vor 17 Jahren
Brian Paul
5c459b3925
simple quad drawing test
vor 17 Jahren
Brian Paul
1b5331d7eb
cell: fix typos in blend code-gen
vor 17 Jahren
Brian Paul
73c6ae98c1
cell: remove old state CMDs, added comments
vor 17 Jahren
Brian Paul
f6bf8d9d41
cell: clean-up, comments
vor 17 Jahren