The “Program” class keeps a pointer to the “nv50_ir_prog_info” structure, so
you could
just use that in the “Program::print()” function, rather than passing the flag
as
an argument to “print”.
Pierre
On 2017-11-17 — 17:21, Tobias Klausmann wrote:
> This comes in handy when checking "NV50_PROG_D
This comes in handy when checking "NV50_PROG_DEBUG=1" outputs with diff!
V2:
- Use environmental variable (Karol Herbst)
Signed-off-by: Tobias Klausmann
---
src/gallium/drivers/nouveau/codegen/nv50_ir.cpp| 6 +++---
src/gallium/drivers/nouveau/codegen/nv50_ir.h | 2 +-
src/g