summaryrefslogtreecommitdiffstats
path: root/src/glsl/test_optpass.cpp
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-06-12 16:21:28 -0700
committerEric Anholt <eric@anholt.net>2013-06-21 10:04:29 -0700
commit426ca34b7a2c3b9edfc0189daece8de3aff80627 (patch)
tree8a401b75205b058c6d5b4c3ea17ecd7fdd5007ce /src/glsl/test_optpass.cpp
parent2b049aa53e12accf2c5be88d1d9b66dbcab47bfb (diff)
downloadexternal_mesa3d-426ca34b7a2c3b9edfc0189daece8de3aff80627.zip
external_mesa3d-426ca34b7a2c3b9edfc0189daece8de3aff80627.tar.gz
external_mesa3d-426ca34b7a2c3b9edfc0189daece8de3aff80627.tar.bz2
glsl: Remove ir_print_visitor.h includes and usage
We have ir->print() to do the old declaration of a visitor and having the IR accept the visitor (yuck!). And now you can call _mesa_print_ir() safely anywhere that you know what an ir_instruction is. A couple of missing printf("\n")s are added in error paths -- when an expression is handed to the visitor, it doesn't print '\n' (since it might be a step in printing a whole expression tree). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com>
Diffstat (limited to 'src/glsl/test_optpass.cpp')
-rw-r--r--src/glsl/test_optpass.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/test_optpass.cpp b/src/glsl/test_optpass.cpp
index fc10cbbd..67e2ab2 100644
--- a/src/glsl/test_optpass.cpp
+++ b/src/glsl/test_optpass.cpp
@@ -39,7 +39,6 @@
#include "ast.h"
#include "ir_optimization.h"
-#include "ir_print_visitor.h"
#include "program.h"
#include "ir_reader.h"
#include "standalone_scaffolding.h"