mesa.git
14 years agoutil: Tweak comment for D3D10-like formats.
José Fonseca [Tue, 2 Mar 2010 11:30:23 +0000 (11:30 +0000)]
util: Tweak comment for D3D10-like formats.

14 years agoprogs/gallium/python: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:15:04 +0000 (18:15 +0000)]
progs/gallium/python: Rename pipe formats.

14 years agogallium/unit: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:14:48 +0000 (18:14 +0000)]
gallium/unit: Rename pipe formats.

14 years agorbug: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:14:38 +0000 (18:14 +0000)]
rbug: Rename pipe formats.

14 years agogdi: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:14:31 +0000 (18:14 +0000)]
gdi: Rename pipe formats.

14 years agodrm/nouveau: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:14:26 +0000 (18:14 +0000)]
drm/nouveau: Rename pipe formats.

14 years agosvga: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:14:12 +0000 (18:14 +0000)]
svga: Rename pipe formats.

14 years agosoftpipe: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:13:57 +0000 (18:13 +0000)]
softpipe: Rename pipe formats.

14 years agor300: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:13:41 +0000 (18:13 +0000)]
r300: Rename pipe formats.

14 years agonouveau: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:13:32 +0000 (18:13 +0000)]
nouveau: Rename pipe formats.

14 years agollvmpipe: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:12:38 +0000 (18:12 +0000)]
llvmpipe: Rename pipe formats.

14 years agoi965: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:12:25 +0000 (18:12 +0000)]
i965: Rename pipe formats.

14 years agoi915g: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:12:19 +0000 (18:12 +0000)]
i915g: Rename pipe formats.

14 years agocell: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:12:09 +0000 (18:12 +0000)]
cell: Rename pipe formats.

14 years agopython: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:11:55 +0000 (18:11 +0000)]
python: Rename pipe formats.

14 years agovega: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:11:46 +0000 (18:11 +0000)]
vega: Rename pipe formats.

14 years agowgl: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:11:30 +0000 (18:11 +0000)]
wgl: Rename pipe formats.

14 years agoxorg: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:11:24 +0000 (18:11 +0000)]
xorg: Rename pipe formats.

14 years agoglx: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:11:04 +0000 (18:11 +0000)]
glx: Rename pipe formats.

14 years agoegl: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:10:52 +0000 (18:10 +0000)]
egl: Rename pipe formats.

14 years agodri: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:10:41 +0000 (18:10 +0000)]
dri: Rename pipe formats.

14 years agomesa: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:10:23 +0000 (18:10 +0000)]
mesa: Rename pipe formats.

14 years agotranslate: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:10:07 +0000 (18:10 +0000)]
translate: Rename pipe formats.

14 years agodraw: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:09:55 +0000 (18:09 +0000)]
draw: Rename pipe formats.

14 years agoutil: Rename pipe formats.
José Fonseca [Mon, 1 Mar 2010 18:09:40 +0000 (18:09 +0000)]
util: Rename pipe formats.

14 years agogallium: Standardize on the LSB->MSB notation.
José Fonseca [Mon, 1 Mar 2010 18:09:03 +0000 (18:09 +0000)]
gallium: Standardize on the LSB->MSB notation.

Less confusing, and seems to gather more consensus.

Below are the sed commands used. This and following commits are the
result of applying this too to the whole tree, plus manual whitespaces
fixes.

s/\<PIPE_FORMAT_A8R8G8B8_UNORM\>/ASDGFSJKDGSDFGSJDFGREKT/g
s/\<PIPE_FORMAT_B8G8R8A8_UNORM\>/PIPE_FORMAT_A8R8G8B8_UNORM/g
s/\<ASDGFSJKDGSDFGSJDFGREKT\>/PIPE_FORMAT_B8G8R8A8_UNORM/g

s/\<PIPE_FORMAT_X8R8G8B8_UNORM\>/ASDGFSJKDGSDFGSJDFGREKT/g
s/\<PIPE_FORMAT_B8G8R8X8_UNORM\>/PIPE_FORMAT_X8R8G8B8_UNORM/g
s/\<ASDGFSJKDGSDFGSJDFGREKT\>/PIPE_FORMAT_B8G8R8X8_UNORM/g

s/\<PIPE_FORMAT_R8G8B8A8_UNORM_REV\>/PIPE_FORMAT_A8B8G8R8_UNORM/g
s/\<PIPE_FORMAT_R8G8B8X8_UNORM\>/PIPE_FORMAT_X8B8G8R8_UNORM/g
s/\<PIPE_FORMAT_A1R5G5B5_UNORM\>/PIPE_FORMAT_B5G5R5A1_UNORM/g
s/\<PIPE_FORMAT_A4R4G4B4_UNORM\>/PIPE_FORMAT_B4G4R4A4_UNORM/g
s/\<PIPE_FORMAT_R5G6B5_UNORM\>/PIPE_FORMAT_B5G6R5_UNORM/g
s/\<PIPE_FORMAT_A2B10G10R10_UNORM\>/PIPE_FORMAT_R10G10B10A2_UNORM/g

s/\<PIPE_FORMAT_A8L8_UNORM\>/PIPE_FORMAT_L8A8_UNORM/g

s/\<PIPE_FORMAT_A8L8_SRGB\>/PIPE_FORMAT_L8A8_SRGB/g
s/\<PIPE_FORMAT_R8G8B8A8_SRGB\>/PIPE_FORMAT_A8B8G8R8_SRGB/g
s/\<PIPE_FORMAT_R8G8B8X8_SRGB\>/PIPE_FORMAT_X8B8G8R8_SRGB/g

s/\<PIPE_FORMAT_A8R8G8B8_SRGB\>/ASDGFSJKDGSDFGSJDFGREKT/g
s/\<PIPE_FORMAT_B8G8R8A8_SRGB\>/PIPE_FORMAT_A8R8G8B8_SRGB/g
s/\<ASDGFSJKDGSDFGSJDFGREKT\>/PIPE_FORMAT_B8G8R8A8_SRGB/g

s/\<PIPE_FORMAT_X8R8G8B8_SRGB\>/ASDGFSJKDGSDFGSJDFGREKT/g
s/\<PIPE_FORMAT_B8G8R8X8_SRGB\>/PIPE_FORMAT_X8R8G8B8_SRGB/g
s/\<ASDGFSJKDGSDFGSJDFGREKT\>/PIPE_FORMAT_B8G8R8X8_SRGB/g

s/\<PIPE_FORMAT_A8B8G8R8_SNORM\>/PIPE_FORMAT_R8G8B8A8_SNORM/g
s/\<PIPE_FORMAT_X8B8G8R8_SNORM\>/PIPE_FORMAT_R8G8B8X8_SNORM/g
s/\<PIPE_FORMAT_X8UB8UG8SR8S_NORM\>/PIPE_FORMAT_R8SG8SB8UX8U_NORM/g
s/\<PIPE_FORMAT_B6UG5SR5S_NORM\>/PIPE_FORMAT_R5SG5SB6U_NORM/g

s/\<PIPE_FORMAT_S8Z24_UNORM\>/ASDGFSJKDGSDFGSJDFGREKT/g
s/\<PIPE_FORMAT_Z24S8_UNORM\>/PIPE_FORMAT_S8Z24_UNORM/g
s/\<ASDGFSJKDGSDFGSJDFGREKT\>/PIPE_FORMAT_Z24S8_UNORM/g

s/\<PIPE_FORMAT_X8Z24_UNORM\>/ASDGFSJKDGSDFGSJDFGREKT/g
s/\<PIPE_FORMAT_Z24X8_UNORM\>/PIPE_FORMAT_X8Z24_UNORM/g
s/\<ASDGFSJKDGSDFGSJDFGREKT\>/PIPE_FORMAT_Z24X8_UNORM/g

s/\<PIPE_FORMAT_YCBCR\>/PIPE_FORMAT_UYVY/g
s/\<PIPE_FORMAT_YCBCR_REV\>/PIPE_FORMAT_YUYV/g

14 years agoprogs/gallium/unit: Rename PIPE_FORMAT_A8B8G8R8_SNORM.
José Fonseca [Mon, 1 Mar 2010 18:42:01 +0000 (18:42 +0000)]
progs/gallium/unit: Rename PIPE_FORMAT_A8B8G8R8_SNORM.

14 years agor300: Remove PIPE_FORMAT_A8B8G8R8_SNORM.
José Fonseca [Mon, 1 Mar 2010 18:41:05 +0000 (18:41 +0000)]
r300: Remove PIPE_FORMAT_A8B8G8R8_SNORM.

PIPE_FORMAT_R8G8B8A8_SNORM already listed.

14 years agosoftpipe: Advertise PIPE_FORMAT_R8G8B8A8_SNORM instead.
José Fonseca [Mon, 1 Mar 2010 18:40:33 +0000 (18:40 +0000)]
softpipe: Advertise PIPE_FORMAT_R8G8B8A8_SNORM instead.

14 years agoutil: Remove PIPE_FORMAT_A8B8G8R8_SNORM.
José Fonseca [Mon, 1 Mar 2010 18:40:02 +0000 (18:40 +0000)]
util: Remove PIPE_FORMAT_A8B8G8R8_SNORM.

14 years agogallium: Remove PIPE_FORMAT_A8B8G8R8_SNORM.
José Fonseca [Mon, 1 Mar 2010 18:39:47 +0000 (18:39 +0000)]
gallium: Remove PIPE_FORMAT_A8B8G8R8_SNORM.

Its actually an alias for PIPE_FORMAT_R8G8B8A8_SNORM.

14 years agoutil: Generate linear<->sRGB conversion tables.
Michal Krol [Mon, 1 Mar 2010 18:00:40 +0000 (19:00 +0100)]
util: Generate linear<->sRGB conversion tables.

14 years agoutil: Fix PIPE_FORMAT_R8G8B8_SRGB swizzles.
José Fonseca [Mon, 1 Mar 2010 16:42:54 +0000 (16:42 +0000)]
util: Fix PIPE_FORMAT_R8G8B8_SRGB swizzles.

The only user of PIPE_FORMAT_R8G8B8_SRGB is mesa, which
per src/mesa/main/texstore.c interprets it as

  R8 G8 B8

and not the other way around.

14 years agoxlib: Use PIPE_FORMAT_R8G8B8A8_UNORM(_REV) as appropriate.
José Fonseca [Mon, 1 Mar 2010 16:28:38 +0000 (16:28 +0000)]
xlib: Use PIPE_FORMAT_R8G8B8A8_UNORM(_REV) as appropriate.

14 years agor300: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.
José Fonseca [Mon, 1 Mar 2010 16:26:36 +0000 (16:26 +0000)]
r300: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.

14 years agoi915g: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.
José Fonseca [Mon, 1 Mar 2010 16:25:25 +0000 (16:25 +0000)]
i915g: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.

14 years agomesa: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.
José Fonseca [Mon, 1 Mar 2010 16:25:04 +0000 (16:25 +0000)]
mesa: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.

14 years agoutil: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.
José Fonseca [Mon, 1 Mar 2010 16:24:48 +0000 (16:24 +0000)]
util: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.

14 years agogallium: Introduce a new format to disambiguate PIPE_FORMAT_R8G8B8A8_UNORM.
José Fonseca [Mon, 1 Mar 2010 16:24:09 +0000 (16:24 +0000)]
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.

14 years agobin: Remove raw2png.py.
José Fonseca [Mon, 1 Mar 2010 16:10:49 +0000 (16:10 +0000)]
bin: Remove raw2png.py.

Outdated, broken, and unused.

14 years agoutil: Fix PIPE_FORMAT_R8G8B8_UNORM description and notes.
José Fonseca [Mon, 1 Mar 2010 16:07:53 +0000 (16:07 +0000)]
util: Fix PIPE_FORMAT_R8G8B8_UNORM description and notes.

There is actually no ambiguity in use -- it is always used as

  R8 G8 B8

14 years agogallium: Remove inexisting formats.
José Fonseca [Mon, 1 Mar 2010 15:17:41 +0000 (15:17 +0000)]
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.

14 years agoutil: Remove inexisting formats.
José Fonseca [Mon, 1 Mar 2010 15:16:54 +0000 (15:16 +0000)]
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.

14 years agoutil: A few more links for D3D formats.
José Fonseca [Mon, 1 Mar 2010 15:14:30 +0000 (15:14 +0000)]
util: A few more links for D3D formats.

14 years agor300: Don't implement PIPE_FORMAT_R8G8B8X8_SNORM.
José Fonseca [Mon, 1 Mar 2010 15:14:00 +0000 (15:14 +0000)]
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.

14 years agoutil: A few more todo marks.
José Fonseca [Mon, 1 Mar 2010 14:56:05 +0000 (14:56 +0000)]
util: A few more todo marks.

14 years agoutil: More documentation for u_format.csv
José Fonseca [Mon, 1 Mar 2010 14:49:18 +0000 (14:49 +0000)]
util: More documentation for u_format.csv

14 years agoutil: Tweak comments regarding R8G8B8A8/X8_UNORM.
José Fonseca [Mon, 1 Mar 2010 14:24:41 +0000 (14:24 +0000)]
util: Tweak comments regarding R8G8B8A8/X8_UNORM.

14 years agopython: Don't mention deprecated drivers=trace option.
José Fonseca [Mon, 1 Mar 2010 14:22:30 +0000 (14:22 +0000)]
python: Don't mention deprecated drivers=trace option.

Now trace always built.

14 years agopython: Don't mention deprecated drivers=trace option.
José Fonseca [Sat, 27 Feb 2010 23:50:09 +0000 (23:50 +0000)]
python: Don't mention deprecated drivers=trace option.

Now trace always built.

14 years agollvmpipe: Don't mention deprecated drivers=trace option.
José Fonseca [Sat, 27 Feb 2010 23:49:58 +0000 (23:49 +0000)]
llvmpipe: Don't mention deprecated drivers=trace option.

Now trace always built.

14 years agoprogs/gallium: Make a phony target "unit" to run unit tests.
José Fonseca [Sat, 27 Feb 2010 23:46:32 +0000 (23:46 +0000)]
progs/gallium: Make a phony target "unit" to run unit tests.

14 years agodri/nouveau: Combine the dummy texture more deterministically on nv0x.
Francisco Jerez [Mon, 1 Mar 2010 00:56:38 +0000 (01:56 +0100)]
dri/nouveau: Combine the dummy texture more deterministically on nv0x.

14 years agodri/nouveau: Fix up the ADD texture environment on nv0x.
Francisco Jerez [Mon, 1 Mar 2010 00:53:22 +0000 (01:53 +0100)]
dri/nouveau: Fix up the ADD texture environment on nv0x.

14 years agodri/nouveau: Add two stencil operation cases in nv04_state_raster.c.
Andrew Randrianasulu [Mon, 1 Mar 2010 00:48:29 +0000 (01:48 +0100)]
dri/nouveau: Add two stencil operation cases in nv04_state_raster.c.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
14 years agodri/nouveau: Allow to render to XRGB8888 textures.
Andrew Randrianasulu [Mon, 1 Mar 2010 00:46:32 +0000 (01:46 +0100)]
dri/nouveau: Allow to render to XRGB8888 textures.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
14 years agor300g: atomize texture and sampler states
Marek Olšák [Sun, 28 Feb 2010 18:28:31 +0000 (19:28 +0100)]
r300g: atomize texture and sampler states

14 years agor300g: decouple vertex stream setup (PSC) and VS output mapping (VAP_OUT)
Marek Olšák [Sun, 28 Feb 2010 06:45:56 +0000 (07:45 +0100)]
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.

14 years agoi965g: Fix texture creation
Jakob Bornecrantz [Sun, 28 Feb 2010 16:28:44 +0000 (16:28 +0000)]
i965g: Fix texture creation

14 years agoFixed mklib to properly merge static libraries on darwin.
Alex Weiss [Sat, 27 Feb 2010 19:47:43 +0000 (14:47 -0500)]
Fixed mklib to properly merge static libraries on darwin.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
14 years agodri: Remove dead code.
Vinson Lee [Sun, 28 Feb 2010 05:57:38 +0000 (21:57 -0800)]
dri: Remove dead code.

14 years agoglut: Add asserts to check for null pointer dereferences.
Vinson Lee [Sun, 28 Feb 2010 05:19:07 +0000 (21:19 -0800)]
glut: Add asserts to check for null pointer dereferences.

14 years agoglx: Add assert to check input to memcpy.
Vinson Lee [Sun, 28 Feb 2010 04:23:17 +0000 (20:23 -0800)]
glx: Add assert to check input to memcpy.

14 years agomesa: Add asserts to check inputs to memcpy.
Vinson Lee [Sun, 28 Feb 2010 04:11:31 +0000 (20:11 -0800)]
mesa: Add asserts to check inputs to memcpy.

14 years agomesa: Add assert to check input to memcpy is not null.
Vinson Lee [Sun, 28 Feb 2010 01:19:31 +0000 (17:19 -0800)]
mesa: Add assert to check input to memcpy is not null.

14 years agoglsl: Move assert from outside to inside of _slang_gen_swizzle function.
Vinson Lee [Sun, 28 Feb 2010 01:01:25 +0000 (17:01 -0800)]
glsl: Move assert from outside to inside of _slang_gen_swizzle function.

14 years agodri: Add assert to check for null pointer dereference.
Vinson Lee [Sun, 28 Feb 2010 00:51:17 +0000 (16:51 -0800)]
dri: Add assert to check for null pointer dereference.

14 years agoi810: Add assert to check for null pointer dereference.
Vinson Lee [Sun, 28 Feb 2010 00:41:49 +0000 (16:41 -0800)]
i810: Add assert to check for null pointer dereference.

14 years agomach64: Add asserts to check for null pointer dereferences.
Vinson Lee [Sun, 28 Feb 2010 00:38:09 +0000 (16:38 -0800)]
mach64: Add asserts to check for null pointer dereferences.

14 years agomga: Add assert to check for null pointer dereference.
Vinson Lee [Sun, 28 Feb 2010 00:30:49 +0000 (16:30 -0800)]
mga: Add assert to check for null pointer dereference.

14 years agor128: Add assert to check for null pointer dereference.
Vinson Lee [Sun, 28 Feb 2010 00:28:30 +0000 (16:28 -0800)]
r128: Add assert to check for null pointer dereference.

14 years agost/mesa: do not advertise S3TC if the external lib is not available
Marek Olšák [Sat, 27 Feb 2010 02:20:58 +0000 (03:20 +0100)]
st/mesa: do not advertise S3TC if the external lib is not available

14 years agor300g: put validating buffers after flushing
Marek Olšák [Sat, 27 Feb 2010 16:00:03 +0000 (17:00 +0100)]
r300g: put validating buffers after flushing

Also cleaning up the nasty validation process.

14 years agor300g: use the atom size directly during emission
Marek Olšák [Sat, 27 Feb 2010 22:12:46 +0000 (23:12 +0100)]
r300g: use the atom size directly during emission

14 years agor300g: atomize invalidation of texture caches
Marek Olšák [Sat, 27 Feb 2010 22:37:01 +0000 (23:37 +0100)]
r300g: atomize invalidation of texture caches

14 years agor300g: atomize PVS flush
Marek Olšák [Sat, 27 Feb 2010 22:26:19 +0000 (23:26 +0100)]
r300g: atomize PVS flush

The first non-state atom. It's better and cleaner to have it.

14 years agor300g: add size parameter to the atom emit functions
Marek Olšák [Sat, 27 Feb 2010 20:54:16 +0000 (21:54 +0100)]
r300g: add size parameter to the atom emit functions

Maintaining a closer relationship between the atom size and what's passed
in BEGIN_CS.

14 years agomesa: remove libmesagallium.a on make clean
Marcin Slusarz [Sat, 27 Feb 2010 21:55:35 +0000 (13:55 -0800)]
mesa: remove libmesagallium.a on make clean

Signed-off-by: José Fonseca <jfonseca@vmware.com>
14 years agor300: Add asserts to check for null pointer dereferences.
Vinson Lee [Sat, 27 Feb 2010 23:36:11 +0000 (15:36 -0800)]
r300: Add asserts to check for null pointer dereferences.

14 years agosavage: Add assert to check for null pointer dereference.
Vinson Lee [Sat, 27 Feb 2010 23:29:44 +0000 (15:29 -0800)]
savage: Add assert to check for null pointer dereference.

14 years agosis: Add assert to check function pointer is not null.
Vinson Lee [Sat, 27 Feb 2010 23:13:38 +0000 (15:13 -0800)]
sis: Add assert to check function pointer is not null.

14 years agotdfx: Add asserts to check for null pointer dereferences.
Vinson Lee [Sat, 27 Feb 2010 23:07:30 +0000 (15:07 -0800)]
tdfx: Add asserts to check for null pointer dereferences.

14 years agounichrome: Assert that pointer is not null before dereferencing.
Vinson Lee [Sat, 27 Feb 2010 22:56:27 +0000 (14:56 -0800)]
unichrome: Assert that pointer is not null before dereferencing.

14 years agoutil: Fix X8/A8B8G8R8_SNORM's swizzle.
José Fonseca [Sat, 27 Feb 2010 20:28:53 +0000 (20:28 +0000)]
util: Fix X8/A8B8G8R8_SNORM's swizzle.

14 years agoprogs/gallium: Add unit tests for pixel format packing/unpacking.
José Fonseca [Sat, 27 Feb 2010 20:28:16 +0000 (20:28 +0000)]
progs/gallium: Add unit tests for pixel format packing/unpacking.

14 years agor300g: move the emission of GA_POINT_MINMAX into emit_fb_state
Marek Olšák [Sat, 27 Feb 2010 19:05:00 +0000 (20:05 +0100)]
r300g: move the emission of GA_POINT_MINMAX into emit_fb_state

The only practical limits are the ones derived from the currently-set
framebuffer state.

14 years agor300g: put the emission of R300_US_OUT_FMT_UNUSED back
Marek Olšák [Sat, 27 Feb 2010 19:03:34 +0000 (20:03 +0100)]
r300g: put the emission of R300_US_OUT_FMT_UNUSED back

It wasn't such a good idea to remove it. :/

14 years agor300g: mark rasterizer_state as dirty only when it's not NULL
Marek Olšák [Sat, 27 Feb 2010 19:00:38 +0000 (20:00 +0100)]
r300g: mark rasterizer_state as dirty only when it's not NULL

14 years agoradeong: clean up includes
Marek Olšák [Sat, 27 Feb 2010 01:46:20 +0000 (02:46 +0100)]
radeong: clean up includes

14 years agor300g: always emit the correct max vertex index to avoid DRM errors
Marek Olšák [Fri, 26 Feb 2010 23:37:01 +0000 (00:37 +0100)]
r300g: always emit the correct max vertex index to avoid DRM errors

Fixing bizarre reports that a vertex buffer is not large enough.

14 years agor300g: remove pointless "while"
Marek Olšák [Fri, 26 Feb 2010 21:34:09 +0000 (22:34 +0100)]
r300g: remove pointless "while"

14 years agoradeon: Assert pointer is not null before dereferencing.
Vinson Lee [Sat, 27 Feb 2010 10:28:00 +0000 (02:28 -0800)]
radeon: Assert pointer is not null before dereferencing.

Add back an assert that was removed in commit
cd5f167353f16fb4f5b349002625b704f3e23778.

14 years agodri: Assert pointer is not null before dereferencing.
Vinson Lee [Sat, 27 Feb 2010 10:18:06 +0000 (02:18 -0800)]
dri: Assert pointer is not null before dereferencing.

14 years agost/dri: Assert pointer is not null before dereferencing.
Vinson Lee [Sat, 27 Feb 2010 10:01:56 +0000 (02:01 -0800)]
st/dri: Assert pointer is not null before dereferencing.

14 years agor600: Assert pointer is not null before dereferencing.
Vinson Lee [Sat, 27 Feb 2010 09:52:46 +0000 (01:52 -0800)]
r600: Assert pointer is not null before dereferencing.

14 years agoglsl: Assert input to strcmp is not null.
Vinson Lee [Sat, 27 Feb 2010 08:31:14 +0000 (00:31 -0800)]
glsl: Assert input to strcmp is not null.

14 years agoglsl: Assert pointer is not null before dereferencing.
Vinson Lee [Sat, 27 Feb 2010 08:08:14 +0000 (00:08 -0800)]
glsl: Assert pointer is not null before dereferencing.

14 years agomesa: Remove unnecessary header.
Vinson Lee [Sat, 27 Feb 2010 07:58:59 +0000 (23:58 -0800)]
mesa: Remove unnecessary header.

14 years agost/xorg: Re-enable crtc on resize
Jakob Bornecrantz [Thu, 25 Feb 2010 15:51:30 +0000 (16:51 +0100)]
st/xorg: Re-enable crtc on resize

14 years agost/xorg: Fix copy-topy
Jakob Bornecrantz [Thu, 25 Feb 2010 15:51:15 +0000 (16:51 +0100)]
st/xorg: Fix copy-topy