diff options
author | Marek Olšák <[email protected]> | 2010-09-01 00:56:57 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-09-04 18:56:20 +0200 |
commit | 313e95f0c792580f6051fedb67e65838405c88f8 (patch) | |
tree | 44c9071b100303f58fe371302de9cbcc6293a27d /src/gallium/drivers/r300/r300_fs.c | |
parent | a0fb406d9fd2bcd040f70ba639cc8342c0a92c6d (diff) |
r300/compiler: add new compiler parameter max_alu_insts
Diffstat (limited to 'src/gallium/drivers/r300/r300_fs.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_fs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_fs.c b/src/gallium/drivers/r300/r300_fs.c index 9845e546109..2b9861cae38 100644 --- a/src/gallium/drivers/r300/r300_fs.c +++ b/src/gallium/drivers/r300/r300_fs.c @@ -386,6 +386,7 @@ static void r300_translate_fragment_shader( compiler.state = shader->compare_state; compiler.Base.is_r500 = r300->screen->caps.is_r500; compiler.Base.max_temp_regs = compiler.Base.is_r500 ? 128 : 32; + compiler.Base.max_alu_insts = compiler.Base.is_r500 ? 512 : 64; compiler.Base.remove_unused_constants = TRUE; compiler.AllocateHwInputs = &allocate_hardware_inputs; compiler.UserData = &shader->inputs; |