Re: [Mesa-dev] [WIP 04/13] mesa: add a storage for inactive/removed uniform variables

2014-04-06 Thread Tapani Pälli
On 04/05/2014 01:13 AM, Ian Romanick wrote: > I've been thinking about this a bit, and I think this is more complex > than it needs to be. I don't have a complete design, but here are some > thoughts on the matter. > > When linking is all done, we just want the UniformRemapTable. It's > entires s

Re: [Mesa-dev] [WIP 04/13] mesa: add a storage for inactive/removed uniform variables

2014-04-04 Thread Ian Romanick
I've been thinking about this a bit, and I think this is more complex than it needs to be. I don't have a complete design, but here are some thoughts on the matter. When linking is all done, we just want the UniformRemapTable. It's entires should have one of three kinds of values: - NULL: Inva

[Mesa-dev] [WIP 04/13] mesa: add a storage for inactive/removed uniform variables

2014-03-27 Thread Tapani Pälli
GL_ARB_explicit_uniform_location extension requires driver to reserve locations for all uniforms (including inactive ones) when they have explicit location set. Patch adds additional storage structure and a list of locations reserved by inactive uniforms as part of the shader program structure. Si