Commit graph

115447 commits

Author SHA1 Message Date
Michel Dänzer
5b9b5c850f gallium: Fix scons condition for building the xlib winsys. 2008-03-04 18:32:16 +01:00
Michel Dänzer
1cd2623a53 gallium: Make scons build gallivm before other auxiliary modules.
This ensures that the gallivm symbols referenced by the draw module are
resolved properly.
2008-03-04 18:30:12 +01:00
Michel Dänzer
72c9d4a660 gallium: Only use C++ compiler for linking when using LLVM.
Otherwise, the shared objects needlessly link against the C++ runtime
environment.
2008-03-04 18:28:23 +01:00
José Fonseca
9a76798112 scons: Force C++ linkage.
We have some C++ code (LLVM), which must be linked with g++ on certain
platforms. SCons tries to guess when to use g++ by looking to the source files,
but this fails, if the C++ code is not list in the command line, but inside in
the library.
2008-03-04 12:40:18 +01:00
Kristian Høgsberg
3d608c7a2d [dri2] Add tail pointer to reemitDrawableInfo callback.
When the DRI doesn't parse the event buffer for a while, the X server
may overwrite data that the driver didn't get a chance to look at.  The
reemitDrawableInfo callback requests that the X server reemit all info
for the specified drawable.  To make use of this, the drive needs to know
the new tail pointer so it know where to start reading from.
2008-03-03 19:16:20 -05:00
Kristian Høgsberg
4f7a75cc8a [dri2] Optimize event parsing to skip obsolete events.
This also fixes the problem where the X server does multiple resizes before
the DRI driver gets the events.  The obsolete buffer attach events then
reference already destroyed buffer objects.
2008-03-03 19:16:20 -05:00
Kristian Høgsberg
36c26d321b [intel] Silence unused variable warning when compiling for i965. 2008-03-03 19:15:52 -05:00
José Fonseca
13174c195e scons: Make command line arguments effective again. 2008-03-03 18:54:45 +01:00
Keith Whitwell
689e1c5d50 win32: don't prepend all debug with gallium3d 2008-03-03 17:50:10 +01:00
Keith Whitwell
800d13df72 draw: add fetch for bgra ubyte surfaces 2008-03-03 17:50:09 +01:00
Keith Whitwell
9506ac8235 gallium: remove obsolete comment 2008-03-03 17:50:09 +01:00
Keith Whitwell
f4e91c3432 gallium: document user_buffer_create a little 2008-03-03 17:50:09 +01:00
Ben Skeggs
1de15ad83e nv40: re-do vtxbuf format code 2008-03-03 00:01:44 +11:00
Patrice Mandin
f59d59a95f nouveau: compilation fixes 2008-03-02 12:16:23 +01:00
Oliver McFadden
47f08a9fb5 r300: Corrected a bug with the SUB instruction. 2008-03-02 09:34:43 +00:00
Oliver McFadden
e239871d5b r300: Corrected a bug with the MAD instruction.
The PVS_VECTOR_OPCODE macro should be modified to support macro instructions,
too.
2008-03-02 06:35:44 +00:00
Ben Skeggs
57b8711aeb nv40: nuke debug 2008-03-02 16:48:15 +11:00
Ben Skeggs
a5966c8b28 nouveau: silence some warnings 2008-03-02 16:39:24 +11:00
Ben Skeggs
578b5cd9a0 nouveau: fix potential crash 2008-03-02 16:35:47 +11:00
Ben Skeggs
a414173105 Merge remote branch 'nouveau/gallium-0.1' into nouveau-gallium-0.1 2008-03-02 15:42:53 +11:00
Ben Skeggs
59d4b7cc62 nv40: fix segv when app "skips" texture units. 2008-03-02 15:28:24 +11:00
Ben Skeggs
b560ed2444 nouveau: enable multi-context/single-channel support for nv40 2008-03-02 15:02:25 +11:00
Ben Skeggs
0a12e4587c nouveau: turn pushbuf macros into inline functions 2008-03-02 14:09:57 +11:00
Zack Rusin
a9c40f833e refactor code calling builtins and implement dp4 2008-03-01 15:28:00 -05:00
Zack Rusin
17f543fc45 make the first builtin work (dp3) 2008-03-01 15:28:00 -05:00
Zack Rusin
e884c7ed9a start implementing start of bultins 2008-03-01 15:28:00 -05:00
Ben Skeggs
132def0c41 Merge branch 'upstream-gallium-0.1' into nouveau-gallium-0.1 2008-03-02 02:35:17 +11:00
Oliver McFadden
c30cc5904d r300: Added the PVS_SRC_OPERAND documentation from AMD. 2008-03-01 06:33:07 +00:00
Oliver McFadden
3129d8b512 r300: Added the PVS_OP_DST_OPERAND documentation from AMD. 2008-03-01 06:33:07 +00:00
Oliver McFadden
9a3d4b14e9 r300: Added a TODO comment for registers missing from AMD's documentation. 2008-03-01 06:33:07 +00:00
Oliver McFadden
916a53088e r300: Moved the vertex program shift/mask defines into the appropriate file. 2008-03-01 06:33:07 +00:00
Oliver McFadden
038e13b1ee r300: Indented the vertex program code with longer lines. 2008-03-01 06:33:07 +00:00
Oliver McFadden
5dcbdc09f3 r300: Moved the PREFER_DP4 define near the position invariant function. 2008-03-01 06:33:07 +00:00
Oliver McFadden
bbab0f97b8 r300: Added a TODO comment for the MAD opcodes. 2008-03-01 06:33:07 +00:00
Oliver McFadden
2a8b6c62a7 r300: Use the VE_ADD hardware opcode for the SUB opcode. 2008-03-01 06:33:07 +00:00
Oliver McFadden
a6d772ed16 r300: Use the VE_MULTIPLY hardware opcode for the MUL opcode. 2008-03-01 06:33:07 +00:00
Oliver McFadden
f80223d9ff r300: Cleaned up the XPD opcode temporary register usage. 2008-03-01 06:33:06 +00:00
Oliver McFadden
b795e8db5f r300: Cleaned up extra white space. 2008-03-01 06:33:06 +00:00
Oliver McFadden
dda906fcdb r300: Prefer to use the VE_ADD for simple MOV style opcodes.
The VE_MULTIPLY_ADD has further restrictions on reading temporary memory which
may complicate things. See AMD's documentation.
2008-03-01 06:33:06 +00:00
Oliver McFadden
7504981074 r300: Removed the (undocumented) MAD_2 opcode.
This opcode is likely a mistake from reverse engineering. MAD_2 isn't included
in AMD's documentation, and my testing reviles there is no problem using the
documented MAD opcode.
2008-03-01 06:33:06 +00:00
Oliver McFadden
7e1878cdad r300: Cleaned up the MAD/MAD_2 opcode selection. 2008-03-01 06:33:06 +00:00
Oliver McFadden
bb4188b85b r300: Renamed some misleading macro arguments. 2008-03-01 06:33:06 +00:00
Oliver McFadden
fb0947ed33 r300: Cleaned up the vertex program macros. 2008-03-01 06:33:06 +00:00
Oliver McFadden
e3a0a8dc7d r300: Removed duplicate component selection defines. 2008-03-01 06:33:06 +00:00
Oliver McFadden
2fdd6d87f4 r300: Removed duplicate source register class defines. 2008-03-01 06:33:06 +00:00
Oliver McFadden
95604e88e7 r300: Renamed the vertex program source register macro. 2008-03-01 06:33:06 +00:00
Oliver McFadden
9c74291197 r300: Removed the (obsolete) special source register macros. 2008-03-01 06:33:06 +00:00
Oliver McFadden
440a6fbf6e r300: Cleaned up the special vertex program source register macros. 2008-03-01 06:33:06 +00:00
Oliver McFadden
8c4d811295 r300: Added the vertex program swizzle (aka selection) defines. 2008-03-01 06:33:06 +00:00
Oliver McFadden
b2c02a4a7c r300: Converted to the new src/dest register defines. 2008-03-01 06:33:06 +00:00