Commit graph

115447 commits

Author SHA1 Message Date
Brian Paul
5bf89cf2c3 mesa: fix storage size computation in emit_arith() 2008-07-15 14:41:47 -06:00
Eric Anholt
a5f02368d2 intel-gem: Disable spantmp sse/mmx functions when tile swizzling.
Those functions rely on being able to treat the GET_PTR returned value as an
array indexed by x, but that's not the case for our tiling.

Bug #16387
2008-07-15 13:21:37 -07:00
Brian Paul
f006358d56 gallium: added some sanity check assertions 2008-07-15 13:29:25 -06:00
Brian Paul
f6152c3510 mesa: fix some function inlining bugs
Need to add local vars of original function to the new scope's variable
list (though the DECLs were already present).
In slang_operation_copy() call slang_replace_scope() for SLANG_OPER_BLOCK_NEW_SCOPE opers.
2008-07-15 13:29:25 -06:00
Brian Paul
bc4b1ca563 mesa: improved printing 2008-07-15 13:29:25 -06:00
Ian Romanick
27e3f7f21d glx: Update my e-mail address. :) 2008-07-15 11:06:31 -07:00
Ian Romanick
67108adb48 glx: Trivial clean-ups to __glXSetArrayEnable 2008-07-15 11:06:04 -07:00
Michal Krol
f9c574d719 mesa: Silence compiler warnings on Windows. 2008-07-15 11:49:02 +02:00
Michal Krol
6c534b830c st: Silence compiler warnings on Windows. 2008-07-15 11:48:59 +02:00
Michal Krol
090e212c0c mesa: Silence compiler warnings on Windows. 2008-07-15 11:48:55 +02:00
José Fonseca
3392bcaaa8 python: Cleanup. 2008-07-15 17:58:48 +09:00
José Fonseca
ee470020e1 python: Request/respect the texture & buffer usage flags in the examples. 2008-07-15 17:58:48 +09:00
José Fonseca
d5ed158dc8 python: Get object ownership done correctly. 2008-07-15 17:58:48 +09:00
José Fonseca
9a99b19949 python: Don't use python cflags as they conflict with existing flags. 2008-07-15 17:58:48 +09:00
José Fonseca
1d03102b31 python: Allow hardware support. 2008-07-15 17:58:48 +09:00
José Fonseca
2c4349aa3a python: Move the python scons code to a separate tool module. 2008-07-15 17:58:47 +09:00
José Fonseca
ead8fcd92a python: Get it to build on windows too. 2008-07-15 17:58:47 +09:00
Michal Krol
c60e009a91 tgsi: Numerical label before an instruction is optional. 2008-07-15 10:58:17 +02:00
Brian Paul
6eb7f763fb tgsi: fix bug in execution of loops inside of conditionals.
Fixes infinite loop bug.
2008-07-14 18:08:52 -06:00
Brian Paul
ec698034d1 mesa: assemble main() after all other functions
Before, main() had to come after any functions it called.
2008-07-14 16:00:35 -06:00
Brian Paul
51654783ef mesa: comments about vectors vs components 2008-07-14 16:00:35 -06:00
Brian Paul
f214a848ab mesa: assemble main() after all other functions
Before, main() had to come after any functions it called.
2008-07-14 15:59:44 -06:00
Eric Anholt
946abd9b5a i915: fix build after previous commit. 2008-07-14 13:55:37 -07:00
Brian Paul
e7fd3de927 egl: set EGL_CONFORMANT, EGL_RENDERABLE_TYPE config fields, fix null ptr crashes in MakeCurrent 2008-07-14 12:09:07 -06:00
Brian Paul
2833d4e715 mesa: fix stencil state problem when GL_ATI_separate_stencil wasn't enabled
In glStencilFunc/Op/Mask() set both the front and back-face state, unless
GL_EXT_stencil_two_side is enabled.  Before, we only set the front+back state
if GL_ATI_separate_stencil was enabled.

Ultimately, we probably should remove GL_EXT_stencil_two_side since it's
incompatible with GL 2.x.
2008-07-14 09:55:33 -06:00
Brian Paul
c62cb6be6c mesa: fix stencil state problem when GL_ATI_separate_stencil wasn't enabled
In glStencilFunc/Op/Mask() set both the front and back-face state, unless
GL_EXT_stencil_two_side is enabled.  Before, we only set the front+back state
if GL_ATI_separate_stencil was enabled.

Ultimately, we probably should remove GL_EXT_stencil_two_side since it's
incompatible with GL 2.x.
2008-07-14 09:51:35 -06:00
Guillaume Melquiond
4430597bf6 fix gltrace (bug 16691) 2008-07-14 08:50:36 -06:00
Julien Cristau
6852ef64f3 glu: only export public symbols 2008-07-14 08:42:02 -06:00
Julien Cristau
270b2a5c54 mklib: don't version symbols when using --exports
Use the default version instead of one based on the library SONAME
in the version script created by --exports.
2008-07-14 08:41:54 -06:00
Julien Cristau
0a7df3794c glu: only export public symbols 2008-07-14 08:37:49 -06:00
Julien Cristau
f7eb0cec69 mklib: don't version symbols when using --exports
Use the default version instead of one based on the library SONAME
in the version script created by --exports.
2008-07-14 08:37:38 -06:00
Blair Sadewitz
2f5cd68797 mesa: also check for __NetBSD__ 2008-07-14 08:16:46 -06:00
Blair Sadewitz
a63b90712a mesa: also check for __NetBSD__ 2008-07-14 08:15:10 -06:00
Brian Paul
62db707a3d mesa: check for null shader->Source 2008-07-14 08:13:52 -06:00
José Fonseca
64979d618a python: Basic test case for 2d texture. 2008-07-14 22:27:40 +09:00
José Fonseca
3aea28b9b1 python: Raw tile access to surface. 2008-07-14 22:26:40 +09:00
Chris Rankin
5e600209f4 radeon: SetTexOffset support
This patch is a straightforward duplication of the R200 SetTexOffset code,
except that there is no big-endian tx_table[] array.
2008-07-14 10:11:20 +02:00
José Fonseca
00cd96b68f python: Get the sample app to draw triangle like trivial/tri exanple. 2008-07-14 12:41:07 +09:00
José Fonseca
f07ad529af python: Surface clears. 2008-07-14 12:41:07 +09:00
José Fonseca
3679f69023 python: Set default state. 2008-07-14 12:41:06 +09:00
José Fonseca
05a23e6c6f python: Allow to create/specify shaders. 2008-07-14 12:41:06 +09:00
Stephane Marchesin
93115c4b23 nouveau: say goodbye to the old DRI driver... 2008-07-14 01:03:07 +02:00
Jakob Bornecrantz
16c2267d55 i915: Ops should not have pushed that
This reverts commit 930a863c4f.
2008-07-13 18:55:38 +02:00
Jakob Bornecrantz
e59086ab91 EGL: Only build EGL dri based drivers under linux-dri based configs 2008-07-13 18:05:20 +02:00
Ben Skeggs
d68a3ebf0e Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-07-14 01:14:52 +10:00
Jakob Bornecrantz
930a863c4f i915: WIP swap rework 2008-07-13 16:49:00 +02:00
José Fonseca
6410e94b96 python: New state tracker which exposes the pipe driver to python scripts.
Still under development. Just barely works.
2008-07-13 23:37:40 +09:00
José Fonseca
36dd89c8a7 util: Eliminate pipe from the arguments to pipe_get/put_tile_xxx functions.
You don't need a pipe_context * for this, and all other necessary info is
already inside pipe_surface.
2008-07-13 23:37:40 +09:00
José Fonseca
17af66fc1a pb: buffer over/underflows are errors. 2008-07-13 23:37:40 +09:00
Michal Krol
f5c51ebd2a tgsi: Parse destination operand modulate modifier. 2008-07-13 15:23:14 +02:00