Re: [Mesa-dev] [PATCH 1/2] anv: pipeline: use NIR macros to apply passes

2016-08-30 Thread Matt Turner
On Tue, Aug 30, 2016 at 10:24 AM, Lionel Landwerlin wrote: > It seems the i965 GL driver uses macros in most places and I found it pretty > handy to be able to put a printf in a single file (nir.h) to compare the > passes applied between the 2 drivers. It would be nice to have the NIR equivalent

[Mesa-dev] [PATCH 1/2] anv: pipeline: use NIR macros to apply passes

2016-08-30 Thread Lionel Landwerlin
It seems the i965 GL driver uses macros in most places and I found it pretty handy to be able to put a printf in a single file (nir.h) to compare the passes applied between the 2 drivers. Signed-off-by: Lionel Landwerlin Cc: Jason Ekstrand --- src/intel/vulkan/anv_pipeline.c | 30 --