From: Marek Olšák Date: Mon, 7 Jun 2010 20:10:47 +0000 (+0200) Subject: r300g: fix hardlock caused by an incompatible vertex format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1d91c490120b11fd1522b94d338e70fb38a82fb;p=mesa.git r300g: fix hardlock caused by an incompatible vertex format The drivers aborts instead, I am working on a real fix... --- diff --git a/src/gallium/drivers/r300/r300_defines.h b/src/gallium/drivers/r300/r300_defines.h index 83c9ec7e399..565a2f3e0e9 100644 --- a/src/gallium/drivers/r300/r300_defines.h +++ b/src/gallium/drivers/r300/r300_defines.h @@ -30,7 +30,7 @@ #define R300_RESOURCE_FLAG_TRANSFER PIPE_RESOURCE_FLAG_DRV_PRIV -#define R300_INVALID_FORMAT (~0) +#define R300_INVALID_FORMAT 0xffff /* XXX: this is just a bandaid on larger problems in * r300_screen_buffer.h which doesn't seem to be fully ported to