From: Marek Olšák Date: Thu, 13 May 2010 22:20:58 +0000 (+0200) Subject: r300g: fix for piglit/fp-indirections2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13ef7a4be8ecfd87a09ef1cfa48348297ed7b0e3;p=mesa.git r300g: fix for piglit/fp-indirections2 --- diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 087a25e394b..8399f5df8e4 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -161,7 +161,7 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_MAX_FS_TEX_INSTRUCTIONS: return is_r500 || is_r400 ? 512 : 32; case PIPE_CAP_MAX_FS_TEX_INDIRECTIONS: - return is_r500 ? 512 : 4; + return is_r500 ? 511 : 4; case PIPE_CAP_MAX_FS_CONTROL_FLOW_DEPTH: return is_r500 ? 64 : 0; /* Actually unlimited on r500. */ case PIPE_CAP_MAX_FS_INPUTS: