Is there a way to do atomic operations on texture values? I need to do atomic updates on pixel vailes. Each pixel could possibly be updated by different threads from the same or different workgroups. The atomic operations are only allowed for global or local memory variables. There might be a way to create critical sections for each pixel, but I don't think it will be efficient.