glsl: when debug pragma is on, emit comments about function calls/inlines
authorBrian Paul <brianp@vmware.com>
Thu, 19 Mar 2009 15:26:20 +0000 (09:26 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 19 Mar 2009 15:26:20 +0000 (09:26 -0600)
commit214132adfee555a26b64b2dd359afa6b09e845f5
tree763fed1622560be962372f64a7f472b3c2167aae
parent264c3d218aa2fd8d06b0e91c1079e43e58d3ee7e
glsl: when debug pragma is on, emit comments about function calls/inlines

BTW, the debug pragma syntax is "#pragma debug(on)"
src/mesa/shader/slang/slang_codegen.c
src/mesa/shader/slang/slang_emit.c
src/mesa/shader/slang/slang_ir.h