Re: [Mesa-dev] [PATCH v2 42/52] nir/opt_intrinsics: Rework progress

2017-10-13 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 13/10/17 06:48, Jason Ekstrand wrote: This commit fixes two issues: First, we were returning false regardless of whether or not the function made progress. Second, we were calling nir_metadata_preserve far more often than needed; we only need to call it once

[Mesa-dev] [PATCH v2 42/52] nir/opt_intrinsics: Rework progress

2017-10-12 Thread Jason Ekstrand
This commit fixes two issues: First, we were returning false regardless of whether or not the function made progress. Second, we were calling nir_metadata_preserve far more often than needed; we only need to call it once per impl. --- src/compiler/nir/nir_opt_intrinsics.c | 14 +- 1