Re: [Mesa-dev] [PATCH 2/9] gallium/tgsi: start adding hw atomics (v2)

2017-11-05 Thread Dave Airlie
>> +Hardware Atomic Register File >> +^ >> + >> +Hardware atomics are declared as a 2D array with an optional array id. >> + >> +The first member of the dimension is the buffer resource the atomic >> +is located in. >> +The second member is a range into the buffer resour

Re: [Mesa-dev] [PATCH 2/9] gallium/tgsi: start adding hw atomics (v2)

2017-11-03 Thread Marek Olšák
On Fri, Nov 3, 2017 at 8:24 AM, Dave Airlie wrote: > From: Dave Airlie > > This adds support for a hw atomic counters to TGSI. > > A new register file for storing atomic counters is added, > along with a new atomic counter semantic, along with docs > for both. > > v2: drop semantic, move hw count

[Mesa-dev] [PATCH 2/9] gallium/tgsi: start adding hw atomics (v2)

2017-11-03 Thread Dave Airlie
From: Dave Airlie This adds support for a hw atomic counters to TGSI. A new register file for storing atomic counters is added, along with a new atomic counter semantic, along with docs for both. v2: drop semantic, move hw counter to backend, Ilia pointed out SSO would have busted my plan, and