[Mesa-dev] [PATCH 7/8] nir: Properly invalidate metadata in nir_opt_remove_phis().
Jason Ekstrand
jason at jlekstrand.net
Tue Nov 3 13:34:23 PST 2015
Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
On Tue, Nov 3, 2015 at 12:19 PM, Eduardo Lima Mitev <elima at igalia.com> wrote:
> On 11/03/2015 09:31 AM, Kenneth Graunke wrote:
>> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
>> ---
>> src/glsl/nir/nir_opt_remove_phis.c | 5 +++++
>> 1 file changed, 5 insertions(+)
>>
>> diff --git a/src/glsl/nir/nir_opt_remove_phis.c b/src/glsl/nir/nir_opt_remove_phis.c
>> index 5bdf7ef..66d3754 100644
>> --- a/src/glsl/nir/nir_opt_remove_phis.c
>> +++ b/src/glsl/nir/nir_opt_remove_phis.c
>> @@ -108,6 +108,11 @@ remove_phis_impl(nir_function_impl *impl)
>>
>> nir_foreach_block(impl, remove_phis_block, &progress);
>>
>> + if (progress) {
>> + nir_metadata_preserve(impl, nir_metadata_block_index |
>> + nir_metadata_dominance);
>> + }
>> +
>> return progress;
>> }
>>
>>
>
> Patches 2 to 7 (inclusive) are,
>
> Reviewed-by: Eduardo Lima Mitev <elima at igalia.com>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list