aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/compiler/r500_fragprog_emit.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2009-07-21 18:28:30 +0200
committerNicolai Hähnle <[email protected]>2009-07-27 20:32:04 +0200
commitd6275ccf79667094de496d06aba35222be9935fc (patch)
tree7c0a46a89e142ea61b7ffc90bd496cb1d51de55c /src/mesa/drivers/dri/r300/compiler/r500_fragprog_emit.c
parentf70d3ee3710a3453289aabf637f6818e198c67a5 (diff)
r300: Further reduce dependency between compiler and classic driver
Signed-off-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/r500_fragprog_emit.c')
-rw-r--r--src/mesa/drivers/dri/r300/compiler/r500_fragprog_emit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/r500_fragprog_emit.c b/src/mesa/drivers/dri/r300/compiler/r500_fragprog_emit.c
index 3d5ddbb981b..5640ed0bcaa 100644
--- a/src/mesa/drivers/dri/r300/compiler/r500_fragprog_emit.c
+++ b/src/mesa/drivers/dri/r300/compiler/r500_fragprog_emit.c
@@ -43,11 +43,11 @@
*
*/
-#include "compiler/r500_fragprog.h"
+#include "r500_fragprog.h"
-#include "r300_reg.h"
+#include "../r300_reg.h"
-#include "compiler/radeon_program_pair.h"
+#include "radeon_program_pair.h"
#define PROG_CODE \
@@ -310,7 +310,7 @@ GLboolean r500BuildFragmentProgramHwCode(struct r300_fragment_program_compiler *
code->inst_offset = 0;
code->inst_end = -1;
- if (!radeonPairProgram(compiler->program, &pair_handler, compiler))
+ if (!radeonPairProgram(compiler->program, &pair_handler, compiler, compiler->debug))
return GL_FALSE;
if ((code->inst[code->inst_end].inst0 & R500_INST_TYPE_MASK) != R500_INST_TYPE_OUT) {