Commit graph

1283 commits

Author SHA1 Message Date
José Fonseca
43df2fe2d9 gallium: Fix typo in function name. 2008-07-20 09:27:48 +09:00
José Fonseca
b1d6ff1afd python/tests: Specify the right texture target when querying formats. 2008-07-19 12:32:29 +09:00
José Fonseca
8aafc03b26 gallium: Finer grained is_format_supported. 2008-07-19 12:32:29 +09:00
José Fonseca
ff26c50153 tgsi: Make tgsi_sanity return TRUE on success as documented. 2008-07-19 12:32:29 +09:00
José Fonseca
1a8ceb3828 gallium: Move PIPE_TEXTURE_USAGE* to p_defines.h 2008-07-19 12:32:29 +09:00
José Fonseca
583b9ccbd5 gallium: Add a pf_is_ycbcr utility function. 2008-07-18 22:22:22 +09:00
José Fonseca
3ca935d9ef python/tests: Extend the texture tests to cover volumes. 2008-07-18 10:42:44 +09:00
José Fonseca
bfee84df86 python: Add methods to get texture width, height, etc.
SWIG does a poor job with arrays inside structures.
2008-07-18 10:42:44 +09:00
Michal Krol
1e5419fa30 tgsi: Express tgsi_sanity in terms of tgsi_iterate. 2008-07-18 00:41:45 +02:00
Michal Krol
e1fd3ea415 scons: List util/tgsi_iterate.c. 2008-07-18 00:40:28 +02:00
Michal Krol
638ecbda3e tgsi: Add tgsi_iterate_shader utility.
Walks the token stream and invokes callbacks.
2008-07-18 00:39:23 +02:00
Michal Krol
f2053cfa1a tgsi: Fix parsing an instruction with no operands. 2008-07-17 20:40:13 +02:00
Michal Krol
10d1dc68a4 tgsi: Perform a sanity check after reading a shader from text. 2008-07-17 20:23:26 +02:00
Michal Krol
3c5ec98e45 scons: List util/tgsi_sanity.c. 2008-07-17 20:22:47 +02:00
Michal Krol
2727702b17 tgsi: New file. 2008-07-17 20:19:40 +02:00
José Fonseca
e74f94b39a python: Reimplement the generation of random texture samples in C. 2008-07-18 01:20:44 +09:00
José Fonseca
174c6912d6 gallium: Expose the ability to get a tile outside a surface. 2008-07-18 01:20:44 +09:00
José Fonseca
6a65a0d9ef gallium: Be less verbose with debug options messages. 2008-07-18 01:20:44 +09:00
José Fonseca
d398e1360d python: Reimplement tile comparison in C to speed up tests. 2008-07-18 01:20:44 +09:00
José Fonseca
f610deed37 python/tests: Cover all last_level combinations. 2008-07-17 08:52:51 +09:00
José Fonseca
7f32834df3 python/tests: Extend the texture tests to cover cube maps. 2008-07-16 23:27:15 +09:00
José Fonseca
1049e65240 python: Set PIPE_TEX_MIPFILTER_NONE by default. 2008-07-16 23:26:23 +09:00
José Fonseca
32fe752d31 python: Test all miplevels. 2008-07-16 19:36:59 +09:00
José Fonseca
78d18bb690 gallium: ycbcr_get_tile_rgba allow reading an uneven number of pixels from yuv surfaces. 2008-07-16 19:36:36 +09:00
José Fonseca
70b1ff9ff3 python: Expand the texture test suit to cover one YUV and one DXT format. 2008-07-16 14:13:10 +09:00
José Fonseca
61c4de53c3 python: Silent debug output. 2008-07-16 14:13:10 +09:00
José Fonseca
fbf0f6bd4d gallium: Add pf_is_compressed utility function. 2008-07-16 14:13:09 +09:00
José Fonseca
0c2c0a862c softpipe: DXT formats not really supported. 2008-07-16 14:13:09 +09:00
Brian Paul
f006358d56 gallium: added some sanity check assertions 2008-07-15 13:29:25 -06: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
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
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
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