Re: [Mesa-dev] [PATCH v2 50/52] spirv: Rework barriers

2017-10-13 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 13/10/17 06:48, Jason Ekstrand wrote: Our previous handling of barriers always used the big hammer and didn't correctly emit memory barriers when specified along with a control barrier. This commit completely reworks the way we emit barriers to make things bot

[Mesa-dev] [PATCH v2 50/52] spirv: Rework barriers

2017-10-12 Thread Jason Ekstrand
Our previous handling of barriers always used the big hammer and didn't correctly emit memory barriers when specified along with a control barrier. This commit completely reworks the way we emit barriers to make things both more precise and more correct. --- src/compiler/spirv/spirv_to_nir.c | 13