diff options
author | Nicolai Haehnle <nhaehnle@gmail.com> | 2008-07-05 23:54:31 +0200 |
---|---|---|
committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2008-07-06 10:00:35 +0200 |
commit | 2b2cb566563b9f1f9739327ef9874143af838850 (patch) | |
tree | c9c8395293bab8913b0d3298848ec96a47892eb9 /src/mesa/drivers/dri/r300/r300_fragprog.c | |
parent | 4746752f167c674722b46ab3840297d48e6d889d (diff) |
r300_fragprog: Emulate trigonometric functions in radeon_program_alu
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_fragprog.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_fragprog.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog.c b/src/mesa/drivers/dri/r300/r300_fragprog.c index 57987f5d0f..8a1d690ae4 100644 --- a/src/mesa/drivers/dri/r300/r300_fragprog.c +++ b/src/mesa/drivers/dri/r300/r300_fragprog.c @@ -408,12 +408,13 @@ void r300TranslateFragmentShader(r300ContextPtr r300, struct radeon_program_transformation transformations[] = { { &transform_TEX, &compiler }, - { &radeonTransformALU, 0 } + { &radeonTransformALU, 0 }, + { &radeonTransformTrigSimple, 0 } }; radeonLocalTransform( r300->radeon.glCtx, compiler.program, - 2, transformations); + 3, transformations); if (RADEON_DEBUG & DEBUG_PIXEL) { _mesa_printf("Fragment Program: After transformations:\n"); |