diff options
author | Marek Olšák <[email protected]> | 2010-05-26 04:18:27 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-05-26 04:47:26 +0200 |
commit | 5c067a63040cc66f0320f30482529a4ff1bd3811 (patch) | |
tree | 0dc371d1dc23ad42a8f5c361acfabd388afbad41 /src/mesa/drivers/dri/r300/compiler/r300_fragprog_emit.c | |
parent | f2582da3bb72b06d7a751537898f752e110857c7 (diff) |
r300/compiler: move hardware caps to the radeon_compiler base struct
Needed for vertex shaders too.
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/r300_fragprog_emit.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/r300_fragprog_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/r300_fragprog_emit.c b/src/mesa/drivers/dri/r300/compiler/r300_fragprog_emit.c index 37dafa77106..ef56e623969 100644 --- a/src/mesa/drivers/dri/r300/compiler/r300_fragprog_emit.c +++ b/src/mesa/drivers/dri/r300/compiler/r300_fragprog_emit.c @@ -353,7 +353,7 @@ void r300BuildFragmentProgramHwCode(struct r300_fragment_program_compiler *compi } } - if (code->pixsize >= compiler->max_temp_regs) + if (code->pixsize >= compiler->Base.max_temp_regs) rc_error(&compiler->Base, "Too many hardware temporaries used.\n"); if (compiler->Base.Error) |