[Mesa-dev] ARB_shader_subroutine

Kenneth Graunke kenneth at whitecape.org
Sun May 31 20:36:33 PDT 2015


On Monday, June 01, 2015 11:34:44 AM Dave Airlie wrote:
> Hey all,
> 
> I've posted this before, but this is a bit more cleaned up
> and consolidated.
> 
> I've merged a bunch of Chris's parser changes into mine,
> mainly because the parser needs a bunch of changes to handle
> the fact that .name() no longer parses the same, and after
> reading the GLSL spec and glslang, and failing every other
> way I tried, I produced what looks to be the correct parsing
> for subroutines and methods. This means moving the method
> handling code.
> 
> Also the subroutine uniforms don't have an int type,
> because we need the type, however I compare them with
> ints and I've had to tweak ir validation to allow that.
> 
> Otherwise the biggest change since last posting is the
> GL API now validates the subroutines and function lists
> it gets in glUniformSubroutinesiv.
> 
> Dave.

Patches 1-6 are
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150531/15e03078/attachment.sig>


More information about the mesa-dev mailing list