summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-05-14 00:20:58 +0200
committerMarek Olšák <maraeo@gmail.com>2010-05-14 00:27:52 +0200
commit13ef7a4be8ecfd87a09ef1cfa48348297ed7b0e3 (patch)
tree1de3e729d054ec3a54119d7245a1776d03ffa49a
parentf667526016dd1710fafd50eb09ac2c5c5b36063e (diff)
r300g: fix for piglit/fp-indirections2
-rw-r--r--src/gallium/drivers/r300/r300_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 087a25e394..8399f5df8e 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: