On Tue, Jan 26, 2016 at 4:21 PM, Samuel Pitoiset <samuel.pitoi...@gmail.com> wrote: > > > On 01/26/2016 11:36 AM, Marek Olšák wrote: >> >> I don't understand this. Can you explain it? > > > This shader buffer for shared storage is actually a fake buffer. Only one > shared "fake" buffer can be used and it will contain all shared variables > which are defined in the compute shaders. Its size is defined by > MAX_COMPUTE_SHARED_MEMORY_SIZE fyi. > > I did this change to reserve the slot 32 for it and so it won't be allocated > by the underlying driver since I clamp the maximum number of usable > shader+atomic buffers to 32.
As I hinted in another thread, we don't need to reserve any buffer slot for shared memory. Marek _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev