Re: [Mesa-dev] [PATCH] i965/fs: Set pixel/sample mask for compute shaders atomic ops

2015-02-20 Thread Francisco Jerez
Jordan Justen writes: > On 2015-02-19 21:40:37, Ben Widawsky wrote: >> On Thu, Feb 19, 2015 at 03:42:05PM -0800, Jordan Justen wrote: >> > For fragment programs, we pull this mask from the payload header. The same >> > mask doesn't exist for compute shaders, so we set all bits to enabled. >> > >

Re: [Mesa-dev] [PATCH] i965/fs: Set pixel/sample mask for compute shaders atomic ops

2015-02-19 Thread Ben Widawsky
On Thu, Feb 19, 2015 at 11:25:56PM -0800, Jordan Justen wrote: > On 2015-02-19 21:40:37, Ben Widawsky wrote: > > On Thu, Feb 19, 2015 at 03:42:05PM -0800, Jordan Justen wrote: > > > For fragment programs, we pull this mask from the payload header. The same > > > mask doesn't exist for compute shade

Re: [Mesa-dev] [PATCH] i965/fs: Set pixel/sample mask for compute shaders atomic ops

2015-02-19 Thread Jordan Justen
On 2015-02-19 21:40:37, Ben Widawsky wrote: > On Thu, Feb 19, 2015 at 03:42:05PM -0800, Jordan Justen wrote: > > For fragment programs, we pull this mask from the payload header. The same > > mask doesn't exist for compute shaders, so we set all bits to enabled. > > > > Note: this mask is ANDed wi

Re: [Mesa-dev] [PATCH] i965/fs: Set pixel/sample mask for compute shaders atomic ops

2015-02-19 Thread Matt Turner
On Thu, Feb 19, 2015 at 3:42 PM, Jordan Justen wrote: > For fragment programs, we pull this mask from the payload header. The same > mask doesn't exist for compute shaders, so we set all bits to enabled. > > Note: this mask is ANDed with the execution mask, so some channels may not end > up issuin

Re: [Mesa-dev] [PATCH] i965/fs: Set pixel/sample mask for compute shaders atomic ops

2015-02-19 Thread Ben Widawsky
On Thu, Feb 19, 2015 at 03:42:05PM -0800, Jordan Justen wrote: > For fragment programs, we pull this mask from the payload header. The same > mask doesn't exist for compute shaders, so we set all bits to enabled. > > Note: this mask is ANDed with the execution mask, so some channels may not end >

[Mesa-dev] [PATCH] i965/fs: Set pixel/sample mask for compute shaders atomic ops

2015-02-19 Thread Jordan Justen
For fragment programs, we pull this mask from the payload header. The same mask doesn't exist for compute shaders, so we set all bits to enabled. Note: this mask is ANDed with the execution mask, so some channels may not end up issuing the atomic operation. Signed-off-by: Jordan Justen Cc: Ben W