diff options
author | Corbin Simpson <[email protected]> | 2008-06-14 07:03:08 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2008-06-14 07:03:08 -0700 |
commit | 0a341ef29657c1ead116c4acaca138551631de16 (patch) | |
tree | 0f3cbe1eeb3f82181e39ed59ad237784d8868deb /src/mesa/drivers/dri/r300/r500_fragprog.h | |
parent | 9704414d1376d449ad6a006a16be8139f82b5d81 (diff) |
r5xx: FP refactor, take one.
Yes, I know it's massive. Imagine how I felt, auditing 3000 lines of code.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r500_fragprog.h')
-rw-r--r-- | src/mesa/drivers/dri/r300/r500_fragprog.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r500_fragprog.h b/src/mesa/drivers/dri/r300/r500_fragprog.h index 5dd2def1c40..ff6a9002c14 100644 --- a/src/mesa/drivers/dri/r300/r500_fragprog.h +++ b/src/mesa/drivers/dri/r300/r500_fragprog.h @@ -36,10 +36,14 @@ #include "glheader.h" #include "macros.h" #include "enums.h" +#include "shader/prog_parameter.h" +#include "shader/prog_print.h" #include "shader/program.h" #include "shader/prog_instruction.h" #include "r300_context.h" +#include "r300_state.h" +#include "radeon_program.h" /* supported hw opcodes */ #define PFS_OP_MAD 0 @@ -76,4 +80,13 @@ struct r500_fragment_program; extern void r500TranslateFragmentShader(r300ContextPtr r300, struct r500_fragment_program *fp); +struct r500_fragment_program_compiler { + r300ContextPtr r300; + struct r500_fragment_program *fp; + struct r500_fragment_program_code *code; + struct radeon_compiler compiler; +}; + +extern GLboolean r500FragmentProgramEmit(struct r500_fragment_program_compiler *compiler); + #endif |