summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-10-03 20:35:19 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-10-03 20:35:19 +0200
commit86a03e43ced13e7c00f16d037b27faddfbcb2333 (patch)
treea056546741437312cb7fa06afa2c83814fcb5566
parent344464bf2e4e151968cfb101c2477e440508b1f0 (diff)
Double amount of memory allocated for generated shader code.
The code generated for the glxgears vertex shader didn't fit, causing a crash.
-rw-r--r--src/mesa/x86/rtasm/x86sse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/x86/rtasm/x86sse.c b/src/mesa/x86/rtasm/x86sse.c
index f9a9352e46..56c211eee0 100644
--- a/src/mesa/x86/rtasm/x86sse.c
+++ b/src/mesa/x86/rtasm/x86sse.c
@@ -1125,7 +1125,7 @@ struct x86_reg x86_fn_arg( struct x86_function *p,
void x86_init_func( struct x86_function *p )
{
- x86_init_func_size(p, 1024);
+ x86_init_func_size(p, 2048);
}
void x86_init_func_size( struct x86_function *p, unsigned code_size )