Commit graph

31972 commits

Author SHA1 Message Date
José Fonseca
382d1d370b mesa: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate. 2010-03-01 16:25:04 +00:00
José Fonseca
daf7caf4cf util: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate. 2010-03-01 16:24:48 +00:00
José Fonseca
cd8b652303 gallium: Introduce a new format to disambiguate PIPE_FORMAT_R8G8B8A8_UNORM.
PIPE_FORMAT_R8G8B8A8_UNORM now means just

  R8 G8 B8 A8

PIPE_FORMAT_R8G8B8A8_UNORM_REV means

  A8 B8 G8 R8

And the thumb rule is vertex buffers refer to PIPE_FORMAT_R8G8B8A8_UNORM,
while textures refer to PIPE_FORMAT_R8G8B8A8_UNORM_REV.

PIPE_FORMAT_R8G8B8A8_UNORM_REV is just a temporary name.
2010-03-01 16:24:09 +00:00
José Fonseca
d170d73b16 bin: Remove raw2png.py.
Outdated, broken, and unused.
2010-03-01 16:10:49 +00:00
José Fonseca
018f4aca79 util: Fix PIPE_FORMAT_R8G8B8_UNORM description and notes.
There is actually no ambiguity in use -- it is always used as

  R8 G8 B8
2010-03-01 16:07:53 +00:00
Michal Krol
b42455c4f4 r300: Save viewport and clip states before invoking blitter. 2010-03-01 17:07:03 +01:00
Michal Krol
932e6f8d52 util: Fix u_blitter setup code after bypass_vs_clip_and_viewport removal.
Not tested.
2010-03-01 17:06:20 +01:00
José Fonseca
4c3bfc9778 gallium: Remove inexisting formats.
Can't find these formats used in any state tracker or any API.

For some of these probably the reverse notation was meant, for which
formats already exist.
2010-03-01 15:17:41 +00:00
José Fonseca
cfdc146247 util: Remove inexisting formats.
Can't find these formats used in any state tracker or any API.

For some of these probably the reverse notation was meant, for which
formats already exist.
2010-03-01 15:16:54 +00:00
José Fonseca
28f2888565 util: A few more links for D3D formats. 2010-03-01 15:14:30 +00:00
José Fonseca
3a26193fd5 r300: Don't implement PIPE_FORMAT_R8G8B8X8_SNORM.
This format is not actually used by any state tracker. Probably the
reverse notation was mean, which would make it identical to
PIPE_FORMAT_X8B8G8R8_SNORM.
2010-03-01 15:14:00 +00:00
José Fonseca
b66b4cf646 util: A few more todo marks. 2010-03-01 14:56:20 +00:00
José Fonseca
4a991b5783 util: More documentation for u_format.csv 2010-03-01 14:56:20 +00:00
José Fonseca
ffe90af2e8 util: Tweak comments regarding R8G8B8A8/X8_UNORM. 2010-03-01 14:56:20 +00:00
José Fonseca
bd3c063da8 python: Don't mention deprecated drivers=trace option.
Now trace always built.
2010-03-01 14:56:19 +00:00
José Fonseca
f54aecc4f2 python: Don't mention deprecated drivers=trace option.
Now trace always built.
2010-03-01 13:08:07 +00:00
José Fonseca
e243e87b52 llvmpipe: Don't mention deprecated drivers=trace option.
Now trace always built.
2010-03-01 13:08:07 +00:00
José Fonseca
c05c675de6 progs/gallium: Make a phony target "unit" to run unit tests. 2010-03-01 13:08:06 +00:00
Francisco Jerez
e7ca0e126e dri/nouveau: Combine the dummy texture more deterministically on nv0x. 2010-03-01 02:07:01 +01:00
Francisco Jerez
c7955f1341 dri/nouveau: Fix up the ADD texture environment on nv0x. 2010-03-01 02:07:01 +01:00
Andrew Randrianasulu
394672659d dri/nouveau: Add two stencil operation cases in nv04_state_raster.c.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-01 02:07:00 +01:00
Andrew Randrianasulu
949587d169 dri/nouveau: Allow to render to XRGB8888 textures.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-01 02:06:13 +01:00
Marek Olšák
d2ac3d5e79 r300g: atomize texture and sampler states 2010-02-28 19:30:39 +01:00
Marek Olšák
942762cd97 r300g: decouple vertex stream setup (PSC) and VS output mapping (VAP_OUT)
Formerly known as vertex_format_state. These two are completely
unrelated when using HWTCL and decoupling them makes the design
less SWTCL-centric.

When bypass_vs_clip_and_viewport gets removed, the PSC setup will
no longer be a derived state.

This change shouldn't make unbreaking SWTCL harder.
2010-02-28 19:30:39 +01:00
Jakob Bornecrantz
79a86d312d i965g: Fix texture creation 2010-02-28 16:28:44 +00:00
Alex Weiss
54f9c509a1 Fixed mklib to properly merge static libraries on darwin.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-02-28 00:55:03 -08:00
Vinson Lee
909c08d177 dri: Remove dead code. 2010-02-27 21:57:38 -08:00
Vinson Lee
edd6c338cf glut: Add asserts to check for null pointer dereferences. 2010-02-27 21:19:47 -08:00
Vinson Lee
706fffbff5 glx: Add assert to check input to memcpy. 2010-02-27 20:23:17 -08:00
Vinson Lee
75dba756b2 mesa: Add asserts to check inputs to memcpy. 2010-02-27 20:11:31 -08:00
Vinson Lee
bfdee9cc70 mesa: Add assert to check input to memcpy is not null. 2010-02-27 17:19:31 -08:00
Vinson Lee
65974f67e1 glsl: Move assert from outside to inside of _slang_gen_swizzle function. 2010-02-27 17:01:25 -08:00
Vinson Lee
cab77711b3 dri: Add assert to check for null pointer dereference. 2010-02-27 16:51:17 -08:00
Vinson Lee
975f105bb8 i810: Add assert to check for null pointer dereference. 2010-02-27 16:41:49 -08:00
Vinson Lee
b45af1ec61 mach64: Add asserts to check for null pointer dereferences. 2010-02-27 16:38:09 -08:00
Vinson Lee
689249bcbe mga: Add assert to check for null pointer dereference. 2010-02-27 16:30:49 -08:00
Vinson Lee
a5406444ae r128: Add assert to check for null pointer dereference. 2010-02-27 16:28:30 -08:00
Marek Olšák
aa4d47f68f st/mesa: do not advertise S3TC if the external lib is not available 2010-02-28 00:46:36 +01:00
Marek Olšák
d36e3952c2 r300g: put validating buffers after flushing
Also cleaning up the nasty validation process.
2010-02-28 00:46:35 +01:00
Marek Olšák
4ed97f0a73 r300g: use the atom size directly during emission 2010-02-28 00:46:35 +01:00
Marek Olšák
279715e76e r300g: atomize invalidation of texture caches 2010-02-28 00:46:35 +01:00
Marek Olšák
fe6d3b9222 r300g: atomize PVS flush
The first non-state atom. It's better and cleaner to have it.
2010-02-28 00:46:35 +01:00
Marek Olšák
841122d0e8 r300g: add size parameter to the atom emit functions
Maintaining a closer relationship between the atom size and what's passed
in BEGIN_CS.
2010-02-28 00:46:35 +01:00
Marcin Slusarz
14771ba7e4 mesa: remove libmesagallium.a on make clean
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-27 23:44:08 +00:00
Vinson Lee
3d3e3a56f2 r300: Add asserts to check for null pointer dereferences. 2010-02-27 15:36:11 -08:00
Vinson Lee
5c007f42a1 savage: Add assert to check for null pointer dereference. 2010-02-27 15:29:44 -08:00
Vinson Lee
9db6a70af5 sis: Add assert to check function pointer is not null. 2010-02-27 15:13:38 -08:00
Vinson Lee
b22437937f tdfx: Add asserts to check for null pointer dereferences. 2010-02-27 15:07:30 -08:00
Vinson Lee
e31a379661 unichrome: Assert that pointer is not null before dereferencing. 2010-02-27 14:56:27 -08:00
José Fonseca
1eba490202 util: Fix X8/A8B8G8R8_SNORM's swizzle. 2010-02-27 20:29:14 +00:00