diff options
author | Nicolai Haehnle <nhaehnle@gmail.com> | 2008-07-12 21:13:03 +0200 |
---|---|---|
committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2008-07-12 21:16:16 +0200 |
commit | e81ba58bf4c20229677cdf89b5970b55cefb2199 (patch) | |
tree | e3a34f2db1ee2e0feb10c76c05f3f6f6cf4b50ed /src/mesa/drivers/dri/r300/radeon_program_pair.h | |
parent | 3b8081603bf846285e56a6ecafaf182935fd8733 (diff) | |
download | external_mesa3d-e81ba58bf4c20229677cdf89b5970b55cefb2199.zip external_mesa3d-e81ba58bf4c20229677cdf89b5970b55cefb2199.tar.gz external_mesa3d-e81ba58bf4c20229677cdf89b5970b55cefb2199.tar.bz2 |
r300_fragprog: Use nqssa+dce and program_pair for emit
Share almost all code with r500_fragprog now.
This also fixes Piglit's texrect-many test, which means that the compiz
bicubic plugin should work with hardware acceleration now.
Diffstat (limited to 'src/mesa/drivers/dri/r300/radeon_program_pair.h')
-rw-r--r-- | src/mesa/drivers/dri/r300/radeon_program_pair.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r300/radeon_program_pair.h b/src/mesa/drivers/dri/r300/radeon_program_pair.h index b2bdd08..4624a24 100644 --- a/src/mesa/drivers/dri/r300/radeon_program_pair.h +++ b/src/mesa/drivers/dri/r300/radeon_program_pair.h @@ -110,10 +110,10 @@ struct radeon_pair_handler { GLboolean (*EmitTex)(void*, struct prog_instruction*); /** - * Called after a block of contiguous, independent texture - * instructions has been emitted. + * Called before a block of contiguous, independent texture + * instructions is emitted. */ - void (*EndTexBlock)(void*); + GLboolean (*BeginTexBlock)(void*); GLuint MaxHwTemps; }; |