José Fonseca
43df2fe2d9
gallium: Fix typo in function name.
2008-07-20 09:27:48 +09:00
José Fonseca
939be248fe
raw2png: Handle r5g6b5 format.
2008-07-20 09:27:27 +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
Brian Paul
72e57b52f0
mesa: glsl: various writemask/swizzle improvements and clean-ups
2008-07-18 19:46:19 -06:00
Brian Paul
7218626cf5
mesa: rework array/struct addressing code.
...
The slang_ir_storage type now has a pointer to parent storage to represent
storage of an array element within an array, or a field within a struct.
This fixes some problems related to addressing of fields/elements in non-
trivial cases. More work to follow.
2008-07-18 14:46:42 -06:00
Brian Paul
a4fd90e325
mesa: regenerated file
2008-07-18 14:46:41 -06:00
Brian Paul
2b3515c5b2
mesa: fix some GLSL /= int operators
...
plus add a few more special constructors to improve code quality.
2008-07-18 14:46:41 -06:00
Brian Paul
b64882d0f8
mesa: fix set_program_uniform_matrix(): need to loop over matrix count
2008-07-18 14:46:41 -06: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
c76787a1dc
scons: Set default LIBS env var.
2008-07-18 01:20:44 +09:00
José Fonseca
381e3489c2
scons: Convert tabs to spaces.
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
Brian Paul
457bb10cee
mesa: regenerated file
2008-07-17 10:04:56 -06:00
Brian Paul
91de7b6cd3
mesa: fix/improve the atan(y,x) function
2008-07-17 10:04:56 -06:00
Brad Smith
8336fbc35c
mesa: added checks for OpenBSD
2008-07-17 10:04:56 -06:00
José Fonseca
f610deed37
python/tests: Cover all last_level combinations.
2008-07-17 08:52:51 +09:00
Jonathan White
e4f3770690
mesa: WinCE fixes
2008-07-16 16:11:38 -06:00
Brian Paul
ab8f838060
mesa: fix temp re-use bug in emit_arith()
2008-07-16 16:11:38 -06:00
Brian Paul
a1e55dcd9c
mesa: regenerated files
2008-07-16 16:11:38 -06:00
Brian Paul
bd09676de5
mesa: fix copy&paste errors in degrees() functions
2008-07-16 16:11:38 -06:00
Brian Paul
ebcdbff6f1
mesa: implement grammar/parsing for precision/invariant syntax
...
Plus, fix some issues with pre-defined preprocessor symbols and version checking.
2008-07-16 16:11:38 -06:00
Michal Krol
7a0b79fe36
mesa: Silence compiler warnings on Windows.
2008-07-16 20:14:42 +02:00
Brian Paul
26df49cd7a
egl: set EGL_SAMPLES, EGL_SAMPLE_BUFFERS config attribs
2008-07-16 10:35:12 -06:00
Brian Paul
479a807e01
mesa: add GL_POLYGON_OFFSET_POINT/LINE/FILL queries, remove GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE
...
Issues found by Bob Ellison.
2008-07-16 10:27:33 -06: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
Blair Sadewitz
99233e483d
additional preprocessor checks for stdint.h, inttypes.h, etc
...
The patches to glext.h and glxext.h have been sent to Khronos/bugzilla.
2008-07-15 17:30:51 -06:00
Blair Sadewitz
b4adb9e1de
mesa: added test for __NetBSD__
2008-07-15 17:30:36 -06:00
Blair Sadewitz
45209baf5d
mesa: added test for __NetBSD__
2008-07-15 17:30:21 -06:00