diff options
author | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-09-06 15:03:51 +0200 |
---|---|---|
committer | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-09-06 15:03:52 +0200 |
commit | 4b01e6f614052e48971f2b2ff474fb66afc4f752 (patch) | |
tree | 9fdfeb05baf7cbbe603e333182f582b5276185fd /src/gallium/drivers/r300/r300_vs.c | |
parent | 9778731732b4753e79a1b786c65325a52392411d (diff) | |
download | external_mesa3d-4b01e6f614052e48971f2b2ff474fb66afc4f752.zip external_mesa3d-4b01e6f614052e48971f2b2ff474fb66afc4f752.tar.gz external_mesa3d-4b01e6f614052e48971f2b2ff474fb66afc4f752.tar.bz2 |
r300g: Debug flags infrastructure
So that debugging is no longer a full-spam-or-nothing approach, you are now
supposed to set the RADEON_DEBUG environment flag just like for classic Mesa.
The available debug flags are different, however. Just running an OpenGL
application with RADEON_DEBUG set to an arbitrary string will print out
helpful information.
Everything must be compiled with -DDEBUG for any of this to work
Diffstat (limited to 'src/gallium/drivers/r300/r300_vs.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_vs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_vs.c b/src/gallium/drivers/r300/r300_vs.c index 2cb903b..12a6e37 100644 --- a/src/gallium/drivers/r300/r300_vs.c +++ b/src/gallium/drivers/r300/r300_vs.c @@ -116,7 +116,7 @@ void r300_translate_vertex_shader(struct r300_context* r300, /* Setup the compiler */ rc_init(&compiler.Base); - compiler.Base.Debug = 1; + compiler.Base.Debug = DBG_ON(r300, DBG_VP); compiler.code = &vs->code; compiler.UserData = vs; |