>> +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 resource, either for
>> +one or multiple counters. If this is an array, the declaration will have
>> +an unique array id.
>> +
>> +Each counter is 4 bytes in size, and index and ranges are in counters not 
>> bytes.
>> +DCL BUFFER[0], ATOMIC
>> +DCL ATOMIC[0][0]
>> +DCL ATOMIC[0][1]
>> +
>> +This declares two atomics, one at the start of the buffer and one in the
>> +second 4 bytes.
>> +
>> +DCL BUFFER[0], ATOMIC
>> +DCL BUFFER[1], ATOMIC
>
> Why are there BUFFER declarations?

Good question I thought they had a use, guess not.

I'll drop them.

Dave.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to