Re: [Mesa-dev] [PATCH 01/26] nir: Add a writemask to store intrinsics.

2015-12-04 Thread Kenneth Graunke
On Friday, December 04, 2015 04:45:03 PM Jason Ekstrand wrote: > On Wed, Dec 2, 2015 at 4:15 PM, Kenneth Graunke wrote: > > Tessellation control shaders need to be careful when writing outputs. > > Because multiple threads can concurrently write the same output > > variables, we need to only write

Re: [Mesa-dev] [PATCH 01/26] nir: Add a writemask to store intrinsics.

2015-12-04 Thread Jason Ekstrand
On Wed, Dec 2, 2015 at 4:15 PM, Kenneth Graunke wrote: > Tessellation control shaders need to be careful when writing outputs. > Because multiple threads can concurrently write the same output > variables, we need to only write the exact components we were told. > > Traditionally, for sub-vector w

[Mesa-dev] [PATCH 01/26] nir: Add a writemask to store intrinsics.

2015-12-02 Thread Kenneth Graunke
Tessellation control shaders need to be careful when writing outputs. Because multiple threads can concurrently write the same output variables, we need to only write the exact components we were told. Traditionally, for sub-vector writes, we've read the whole vector, updated the temporary, and wr