Commit graph

21865 commits

Author SHA1 Message Date
Michal Krol
bbf84cca57 tgsi: Note that LOG and EXP are approximations. 2009-03-10 10:27:15 +01:00
Michal Krol
5d0f69e33d tgsi: Document EXT_vertex_shader instruction set operations. 2009-03-10 10:27:13 +01:00
Corbin Simpson
42fc3d3fa9 radeon-gallium: Unbreak non-RADEON_SOFTPIPE.
Hehe, sleep may be necessary now.
2009-03-10 02:08:59 -07:00
Corbin Simpson
d559796d6f r300-gallium: Initial, broken, query setup.
Not going to bother unbreaking it here until it's unbroken elsewhere.
2009-03-10 01:54:24 -07:00
Corbin Simpson
fdfde00cd8 radeon-gallium: Unbreak RADEON_SOFTPIPE.
And there was much rejoicing.
2009-03-10 01:52:02 -07:00
Corbin Simpson
8dbe4f0c35 r300-gallium: Unbreak fallback in surface_fill. 2009-03-10 00:57:32 -07:00
Corbin Simpson
b7219853af r300-gallium: Fix a handful of compiler warnings.
Missing INLINE, missing declarations, extraneous definitions. The usual.
2009-03-10 00:36:08 -07:00
Corbin Simpson
9d9e0815be r300-gallium: First stab at texture support. 2009-03-10 00:27:13 -07:00
Corbin Simpson
c9da0283e7 r300-gallium: Moar fixes in the register file.
Sorry, but it's confusing when format0 in r300_reg != format0 in the docs.
2009-03-10 00:10:24 -07:00
Brian Paul
22bac2a1a0 xmesa: set back-buffer's drawable field
Fixes back-buffer rendering when MESA_BACK_BUFFER=pixmap
2009-03-09 16:27:56 -06:00
Keith Whitwell
ce0ac9006a vpglsl: build with scons and glew 2009-03-09 18:51:14 +00:00
Brian Paul
0e28e1a72f demos: in progs/demos/cubemap.c press c/f to cycle through clamp/filter modes
Also generate a mipmap for the default checker images.
2009-03-09 11:49:57 -06:00
Brian Paul
6f915b10d5 i965: fix cube map lock-up / corruption
If we're using anything but GL_NEAREST sampling of a cube map, we need to
use the BRW_TEXCOORDMODE_CUBE texcoord wrap mode.  Before this, the GPU
would either lock up or subsequent texture filtering would be corrupted.
2009-03-09 11:49:57 -06:00
Michel Dänzer
2b6235c9f7 scons: Also link in additional LLVM components.
They don't seem necessary here, but they shouldn't hurt either...
2009-03-09 17:46:49 +01:00
Kamalneet Singh
37fdfe89dd linux-llvm config: Linking with required llvm libs 2009-03-09 17:42:59 +01:00
Michel Dänzer
a6f768f029 scons: Also define USE_XSHM for the glx/xlib state tracker build.
Fixes an inconsisten definition of struct xmesa_buffer between there and
winsys/xlib, resulting in a crash in XPutImage.
2009-03-09 17:39:14 +01:00
Brian Paul
886ceb556e st: silence warning 2009-03-09 09:42:26 -06:00
Brian Paul
62ef614eb3 st: remove unused DrawPixels code 2009-03-09 09:42:26 -06:00
Brian Paul
44af5a953f st: use pointer_to_offset() cast wrapper to convert pointers to uint
Silences warnings with 64-bit builds.  See comments for details.
2009-03-09 09:42:26 -06:00
Brian Paul
9457d9ff44 mesa: reorder register file enums 2009-03-09 09:42:26 -06:00
Keith Whitwell
48b1fe12b1 trivial: add tri-stipple to SConscript 2009-03-09 15:20:12 +00:00
Keith Whitwell
fe60dbc536 st: also check for a8 texture support in bitmap code 2009-03-09 15:20:11 +00:00
Roland Scheidegger
1ebc92b0d0 fix typo in fragment pipe alu define, should fix dot3_rgb tex combine 2009-03-09 15:53:41 +01:00
Keith Whitwell
ef5fd0b66a vbo: yet tighter still usage of FLUSH_NEED_CURRENT
Previous change broke redbook/polys and probably others.  I'm fairly
sure that drivers like r300 don't need to touch
ctx->Driver.NeedVertices, but this code is incredibly fragile and I'm
not confident about removing it from there.  Hopefully this gets
things working again.
2009-03-09 14:40:34 +00:00
Keith Whitwell
fb8a9875f6 fp: enable a second texture unit and add a kil test for it 2009-03-09 14:08:52 +00:00
Michel Dänzer
317687cd94 Fix up another instance of _mesa_unreference_framebuffer(). 2009-03-09 13:30:17 +01:00
Keith Whitwell
0756dc876c vbo: stricter checks on Driver.NeedFlush
This variable is being used in the r300 driver to trigger a flush under
circumstances unrelated to the use in the vbo module.  Tighten up the
checks in vbo so as to avoid conflict with r300.

Reported by Maciej Cencora <m.cencora@gmail.com>
2009-03-09 12:18:51 +00:00
Michel Dänzer
a2aedf95d8 gallium: Fix p_refcnt.h for C++ compilers. 2009-03-09 12:58:16 +01:00
Michal Krol
9438ffda50 tgsi: Implement CND, CND0 opcodes. 2009-03-09 08:51:44 +01:00
Michal Krol
5ee3c79959 tgsi: Remove redundant micro_ge() -- use micro_le(). 2009-03-09 08:51:41 +01:00
Michal Krol
0d727fa0f0 tgsi: Document ATI_fragment_shader instruction set operations. 2009-03-09 08:51:39 +01:00
Corbin Simpson
40ca02a045 r300-gallium: Unbreak trivial/point.
Oops, forgot to remove that.

Edit: And trivial/line and trivial/tri.
2009-03-08 15:05:49 -07:00
Michal Krol
8766677ac4 tgsi: Document NV_vertex_program instruction set operations. 2009-03-08 19:16:36 +01:00
Corbin Simpson
2305642b2e r300-gallium: Correct vertex format setup, cleanup regs and debugging.
trivial/point no longer hardlocks.
2009-03-07 13:28:03 -08:00
Corbin Simpson
46de433d27 r300-gallium: Clean up RS.
Wow, there were buggies by the boatload in there.
2009-03-07 13:28:02 -08:00
Corbin Simpson
8262974625 r300-gallium: Move a few registers.
These shouldn't be written if not on TCL HW.
2009-03-07 13:28:02 -08:00
Brian Paul
460e5b11c9 mesa: s/int/GLsizeiptr/ to silence warning with 64-bit build 2009-03-07 13:30:03 -07:00
Brian Paul
799f55803d gallium: use unsigned long to silence warnings with 64-bit build 2009-03-07 13:23:08 -07:00
Brian Paul
3377cd535e r300: remove assignment to removed StringPos field 2009-03-07 13:20:50 -07:00
Brian Paul
4045a2c7d3 mesa: move shared context state functions to new shared.c file 2009-03-07 13:14:37 -07:00
Brian Paul
2e798e4b7e vbo: make bind_array_obj() code a little more concise 2009-03-07 12:42:34 -07:00
Brian Paul
39c203507a mesa: use @ to silence some Makefile output 2009-03-07 12:36:16 -07:00
Brian Paul
2c37851595 mesa: move glViewport and glDepthRange functions into new viewport.c file
A bit of refactoring with an eye toward ES2 and GL 3.1
2009-03-07 12:33:11 -07:00
Brian Paul
4de5abee39 swrast: remove old comment 2009-03-07 12:11:44 -07:00
Brian Paul
2ee5ba0411 swrast: rename s_buffers.c -> s_clear.c 2009-03-07 12:09:33 -07:00
Brian Paul
b4026d9be8 mesa: gl_register_file enum typedef 2009-03-07 12:02:52 -07:00
Brian Paul
69e07bdeb4 mesa: remove GL_MESA_program_debug extension
This was never fully fleshed out and hasn't been used.
2009-03-07 11:53:18 -07:00
Brian Paul
34e77493ce mesa: silence warning 2009-03-07 11:49:45 -07:00
Brian Paul
0f04a1d3f8 mesa: remove last of _mesa_unreference_framebuffer() calls 2009-03-07 11:32:18 -07:00
Maciej Cencora
b125af1d25 r300: shut up valgrind
It complained about uninitialized values

Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-07 16:20:16 +01:00