From d3d3345cb840bdfb4a0040ca86e8a588e9b68051 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 15 Feb 2010 00:04:32 +0100 Subject: r300g: fix the size of constant buffers 4 more piglit tests pass, sweet. --- src/gallium/drivers/r300/r300_context.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gallium/drivers/r300/r300_context.h') diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index ac2b08b41c..1eba8a8ed1 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -155,8 +155,7 @@ struct r300_ztop_state { struct r300_constant_buffer { /* Buffer of constants */ - /* XXX first number should be raised */ - float constants[32][4]; + float constants[256][4]; /* Total number of constants */ unsigned count; }; -- cgit v1.2.3