Commit graph

15361 commits

Author SHA1 Message Date
Brian Paul
0bafe4b771 mesa: regenerated file 2008-07-15 15:04:15 -06:00
Brian Paul
5e8e532cd0 mesa: fix some broken bool, bvec2, bvec3, bvec4 constructors 2008-07-15 15:03:42 -06:00
Brian Paul
5bf89cf2c3 mesa: fix storage size computation in emit_arith() 2008-07-15 14:41:47 -06: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
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
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
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
Blair Sadewitz
2f5cd68797 mesa: also check for __NetBSD__ 2008-07-14 08:16:46 -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
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
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
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
Michal Krol
94013b66b9 tgsi: Parse extended source register modifiers. 2008-07-13 15:14:31 +02:00
Michal Krol
47a45aaa0f tgsi: Parse _SAT and _SAT opcode suffix. 2008-07-13 14:50:12 +02:00
Michal Krol
a7d8eed61c tgsi: Parse IMM statements. 2008-07-13 14:11:26 +02:00
Michal Krol
3d5dcc2203 tgsi: Parse texture instructions correctly. 2008-07-13 13:17:41 +02:00
Michal Krol
46a7843099 tgsi: Fix instruction operand counts. 2008-07-13 13:17:39 +02:00
Michal Krol
cfd2bf9fa1 tgsi: Fix instruction opcode parsing. 2008-07-13 13:17:37 +02:00
Michal Krol
625034104a tgsi: Add missing SWZ opcode. 2008-07-13 13:17:34 +02:00
Michal Krol
ee647b9020 tgsi: Parse DCL statements. 2008-07-13 13:17:32 +02:00
Michal Krol
bd3b47590e tgsi: Remove depricated ATTRIB interpolate mode. 2008-07-13 13:17:30 +02:00
Stephane Marchesin
92d711e9e6 llvm: build fixes. 2008-07-13 11:33:41 +02:00
Michal Krol
c415de5e25 scons: List `util/tgsi_text.c'. 2008-07-12 17:10:21 +02:00
Michal Krol
d0386d55ff tgsi: Add tgsi_text utility module.
Translates textual shader into a binary token stream.
The syntax matches the tgsi_dump module, so it's possible to
simply copy-paste the shader dump and transform it back
to a binary form.
2008-07-12 17:06:37 +02:00