Commit graph

115447 commits

Author SHA1 Message Date
Michel Dänzer
359bbe7432 gallivm: Explicitly specify the LLVM components we need. 2009-01-12 12:37:13 +01:00
Michel Dänzer
f586c31fa6 gallivm: Adapt to header file move in LLVM 2.4. 2009-01-12 12:34:27 +01:00
Ben Skeggs
7a90ace9c8 nv50: make rtt work again 2009-01-12 16:59:35 +10:00
Ben Skeggs
ac6516101b nv50: fix handling of depth textures 2009-01-12 16:59:35 +10:00
Ben Skeggs
39bcc39717 nv50: another typo.. 2009-01-12 16:59:35 +10:00
Ben Skeggs
ecb2eb4c99 nouveau: fix warning 2009-01-12 16:59:34 +10:00
Ben Skeggs
73f1857aee nv50: fix assertion failure 2009-01-12 16:59:34 +10:00
Ben Skeggs
f935f35287 nv50: remove previous hack to manage tiled surfaces 2009-01-12 16:59:34 +10:00
Ben Skeggs
515c3d9bc1 nv50: fix a typo and a thinko 2009-01-12 16:59:34 +10:00
Ben Skeggs
ed8f0b753b nv50: enable npot textures 2009-01-12 16:59:34 +10:00
Ben Skeggs
b01d0077af nv50: disable shader debug 2009-01-12 16:59:34 +10:00
Ben Skeggs
08b6534bc8 nv50: any cpu access to a texture is done on its backing images
Still a little dodgy:
	- RTT will hit an assertion (hopefully!) and fail
	- 3D textures with depth >= 32 will cause bad things to happen
2009-01-12 16:59:33 +10:00
Ben Skeggs
103020f264 nv50: create buffers for each image that makes up a texture 2009-01-12 16:59:33 +10:00
Ben Skeggs
df266471b1 nouveau: return buffer map to something sane.
Sorry, but no, we're not doing this..  Correctness always takes precedence
over speed.  Implement this higher up where you know it's safe to do so,
and doesn't break other things in the process.
2009-01-12 16:59:33 +10:00
Ben Skeggs
7b6fb34e9d nouveau: use usage, not uninitialised flags value... 2009-01-12 16:59:33 +10:00
Matthieu Herrb
436024561a Build fixes for gcc 2.95 2009-01-11 16:56:34 -07:00
Matthieu Herrb
0f0922f93c Big endian fixes. 2009-01-11 16:44:54 -07:00
Matthieu Herrb
33f6dc3c33 build fix on big endian OpenBSD architectures. 2009-01-11 16:44:52 -07:00
Matthieu Herrb
356428d4e4 replace nearbyint() by rint() for now. 2009-01-11 16:44:50 -07:00
Owain G. Ainsworth
b4866f8a52 Fix build with GCC 2.95. 2009-01-11 16:44:40 -07:00
Matthieu Herrb
297a9606ea __builtin_expect is a gcc 3.x feature. define it out for gcc 2.95.
Patch suggested by miod@. Thanks.
2009-01-11 16:44:36 -07:00
Brian Paul
516dd9b361 cell: optimize unpack_colors() function, saving 12 cycles 2009-01-11 15:28:38 -07:00
Brian Paul
6324c77e01 cell: move color unpacking code into separate function 2009-01-11 15:18:28 -07:00
Brian Paul
b27eb7cb4f cell: re-order the z/stencil fetch/extract/convert instructions for better perf
The new instruction order is 10 cycles faster.
2009-01-11 15:11:00 -07:00
Brian Paul
c4a782041b cell: datatype clean-ups in SPE rtasm 2009-01-11 14:22:00 -07:00
Brian Paul
c73b8c4131 cell: simplify the 'optional register' code 2009-01-11 14:06:39 -07:00
Brian Paul
91fac69537 cell: asst datatype clean-ups 2009-01-11 13:52:58 -07:00
Brian Paul
097da27f55 cell: move depth/stencil code into separate function 2009-01-11 13:40:28 -07:00
Brian Paul
33ba88a0df cell: clean-up, re-indent, comments 2009-01-11 13:23:44 -07:00
Keith Whitwell
e37a3aed95 Merge commit 'origin/gallium-0.2' into gallium-xlib-rework 2009-01-11 16:19:21 +00:00
Kristian Høgsberg
d67987b0d1 Bump dri2proto requirement to 1.99.3, drop CopyRegion bitmask from protocol.
(cherry picked from commit 154a9e5317)
2009-01-11 09:45:04 +10:00
Dave Airlie
efe68930dc radeon/r300: add code to setup r300 vs r500 using pci device from kernel 2009-01-11 09:47:38 +10:00
Brian
44557bf065 mesa: require libdrm 2.4.3 in configure.ac 2009-01-10 16:32:32 -07:00
Brian Paul
83a525af95 cell: use tgsi_dump_instruction() instead of spe_comment() 2009-01-10 14:58:45 -07:00
Brian Paul
2acf07983f gallium: use tgsi_dump_instruction() instead of ppc_comment() 2009-01-10 14:58:45 -07:00
Brian Paul
d4394bb768 gallium: remove unused struct type 2009-01-10 14:58:45 -07:00
Brian Paul
0c71313970 gallium: fix register clobber bug in TGSI->PPC codegen
When negating a src vector that's stored in a altivec register, need to put
negated value into a new register so we don't upset the original value.
This solves the dark colors in the mandelbrot GLSL demo.
Also, use new predicate functions to check if a TGSI temp is stored in
an altivec register.
2009-01-10 14:58:44 -07:00
Brian Paul
1922ea965a gallium: emit comments in TGSI->PPC codegen 2009-01-10 14:58:44 -07:00
Brian Paul
2ebd969f0f gallium: code to dump/debug PPC code (disabled) 2009-01-10 14:58:44 -07:00
Brian Paul
7acaeb8775 gallium: added comment/annotation support to PPC rtasm 2009-01-10 14:58:44 -07:00
Brian Paul
fba6dac380 cell: added rule to produce .s assembly files 2009-01-10 14:58:44 -07:00
Brian Paul
2b26a92cd3 gallium: s/false/FALSE/ 2009-01-10 14:58:44 -07:00
Brian Paul
f1455ca5f4 mesa: omit old headers from tarball 2009-01-10 12:21:37 -07:00
Younes Manton
6cee4b8d7e mesa: Update .gitignore 2009-01-10 14:11:30 -05:00
Younes Manton
0b03cd4ea7 nouveau: Update nv30 swizzling. 2009-01-10 14:09:59 -05:00
Brian Paul
834db82153 docs: document deprecated/removed headers/interfaces 2009-01-10 12:09:08 -07:00
Brian Paul
ef193c10e7 mesa: remove old GLView.h header for BeOS 2009-01-10 12:07:58 -07:00
Brian Paul
c3a00a728b mesa: remove deprecated headers from Makefile.am 2009-01-10 12:06:29 -07:00
Brian Paul
287102ddcc mesa: deprecate GL/amesa.h header (allegro driver) 2009-01-10 12:04:39 -07:00
Brian Paul
f5979b0c15 mesa: deprecate the GL/fxmesa.h header 2009-01-10 12:01:40 -07:00