aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-02-15 00:04:32 +0100
committerMarek Olšák <[email protected]>2010-02-15 04:03:12 +0100
commitd3d3345cb840bdfb4a0040ca86e8a588e9b68051 (patch)
treea8f10dec79a9d0699864d07061d5404c660fb624 /src/gallium/drivers/r300/r300_screen.c
parent21fe86b036451bb8352ed6aa0774d49f45fcd417 (diff)
r300g: fix the size of constant buffers
4 more piglit tests pass, sweet.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 8e9f51aba2d..b892c084c04 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -152,6 +152,10 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
} else {
return 0;
}
+ case PIPE_CAP_MAX_CONST_BUFFERS:
+ return 1;
+ case PIPE_CAP_MAX_CONST_BUFFER_SIZE:
+ return 256;
case PIPE_CAP_INDEP_BLEND_ENABLE:
return 0;
case PIPE_CAP_INDEP_BLEND_FUNC: