From 13ef7a4be8ecfd87a09ef1cfa48348297ed7b0e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 14 May 2010 00:20:58 +0200 Subject: [PATCH] r300g: fix for piglit/fp-indirections2 --- src/gallium/drivers/r300/r300_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2