diff options
author | Nicolai Hähnle <[email protected]> | 2009-07-22 22:10:13 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2009-07-27 20:32:05 +0200 |
commit | 9198ab8bfca465a327ea1f2429b6ddfeb0a2b258 (patch) | |
tree | 3094deaf9de579c5e42e460825581b6b4f3afbd6 /src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c | |
parent | 9cd5e3e13a1ed2415aa116e35bc9f550b07281c9 (diff) |
r300: Introduce rc_program and use it in radeon_pair
The goal is to convert both Mesa and TGSI programs into an intermediate format
that happens to be convenient for us.
Signed-off-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c b/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c index d4a6205e700..30fedb42118 100644 --- a/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c +++ b/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c @@ -297,6 +297,8 @@ GLboolean r3xx_compile_fragment_program(struct r300_fragment_program_compiler* c fflush(stdout); } + rc_mesa_to_rc_program(&c->Base, c->program); + if (c->is_r500) { success = r500BuildFragmentProgramHwCode(c); } else { |