summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-11-03 00:31:15 -0800
committerJason Ekstrand <[email protected]>2015-11-18 12:28:32 -0800
commit7bc097899924f40140981567c7bb52297dd801f2 (patch)
treee017f1fc674da77a45f6a4eec305ccad164441b0 /src/Makefile.am
parentd27ae2cf8cd548fe822ae9bcf11ead1dadfed744 (diff)
i965/nir: Add OPT() and OPT_V() macros for invoking NIR passes.
OPT() is the normal macro for passes that return booleans, while OPT_V() is a variant that works for passes that don't properly report progress. (Such passes should be fixed to return a boolean, eventually.) These macros take care of calling nir_validate_shader() and setting progress appropriately. In the future, it would be easy to add shader dumping similar to INTEL_DEBUG=optimizer by extending the macro. v2 (Jason Ekstrand): - Fix an unused variable warning Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions