Hello. I'm trying to share a Uniform Buffer among different programs. The problem is, that I have to query the layout - which is shared - at one point. I tried all possibilities, but it always return -1.
The specification tells me, that with the shared layout, the driver is not allowed to optimize and has toactivate the variables.