summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_vs.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-09-01 00:56:57 +0200
committerMarek Olšák <maraeo@gmail.com>2010-09-04 18:56:20 +0200
commit313e95f0c792580f6051fedb67e65838405c88f8 (patch)
tree44c9071b100303f58fe371302de9cbcc6293a27d /src/gallium/drivers/r300/r300_vs.c
parenta0fb406d9fd2bcd040f70ba639cc8342c0a92c6d (diff)
downloadexternal_mesa3d-313e95f0c792580f6051fedb67e65838405c88f8.zip
external_mesa3d-313e95f0c792580f6051fedb67e65838405c88f8.tar.gz
external_mesa3d-313e95f0c792580f6051fedb67e65838405c88f8.tar.bz2
r300/compiler: add new compiler parameter max_alu_insts
Diffstat (limited to 'src/gallium/drivers/r300/r300_vs.c')
-rw-r--r--src/gallium/drivers/r300/r300_vs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_vs.c b/src/gallium/drivers/r300/r300_vs.c
index 5f8dbb2..29569d9 100644
--- a/src/gallium/drivers/r300/r300_vs.c
+++ b/src/gallium/drivers/r300/r300_vs.c
@@ -206,6 +206,7 @@ void r300_translate_vertex_shader(struct r300_context *r300,
compiler.UserData = vs;
compiler.Base.is_r500 = r300->screen->caps.is_r500;
compiler.Base.max_temp_regs = 32;
+ compiler.Base.max_alu_insts = r300->screen->caps.is_r500 ? 1024 : 256;
compiler.Base.remove_unused_constants = TRUE;
if (compiler.Base.Debug) {