[Mesa-dev] [PATCH] r300g: Increase fragment shader limits for r400 cards
Marek Olšák
maraeo at gmail.com
Sun Jan 23 04:57:17 PST 2011
It looks good to me. If it works and doesn't break r300, then feel free to
push. :)
Marek
On Sun, Jan 23, 2011 at 7:39 AM, Tom Stellard <tstellar at gmail.com> wrote:
> r400 fragment shaders now support up to 64 temporary registers,
> 512 ALU instructions, and 512 TEX instructions.
> ---
> src/gallium/drivers/r300/r300_fs.c | 111
> +++++++++++++----
> src/gallium/drivers/r300/r300_reg.h | 9 +-
> src/gallium/drivers/r300/r300_screen.c | 6 -
> src/mesa/drivers/dri/r300/compiler/r300_fragprog.c | 43 +++++--
> .../drivers/dri/r300/compiler/r300_fragprog_emit.c | 133
> +++++++++++++++++---
> src/mesa/drivers/dri/r300/compiler/radeon_code.h | 16 ++-
> .../drivers/dri/r300/compiler/radeon_compiler.h | 2 +
> src/mesa/drivers/dri/r300/r300_reg.h | 44 +++++++
> 8 files changed, 293 insertions(+), 71 deletions(-)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110123/5f939473/attachment.htm>
More information about the mesa-dev
mailing list