[Mesa-dev] [PATCH 0/5] Volatile and invariant LDS memory ops

Matt Arsenault arsenm2 at gmail.com
Thu Nov 9 23:40:38 UTC 2017


> On Nov 10, 2017, at 07:41, Marek Olšák <maraeo at gmail.com> wrote:
> 
> Hi,
> 
> This fixes the TCS gl_ClipDistance piglit failure that was uncovered
> by a recent LLVM change. The solution is to set volatile on loads
> and stores to enforce proper ordering.
> 
> Please review.
> 


Every LDS access certainly should not be volatile. This kills all optimizations, like formation of ds_read2_b32. What ordering issue are you having?



More information about the mesa-dev mailing list