[Mesa-dev] [PATCH 07/20] glsl/types: add new subroutine type (v3.1)
kenneth at whitecape.org
Wed Jul 22 14:00:21 PDT 2015
On Tuesday, July 21, 2015 03:19:14 PM Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
> This type will be used to store the name of subroutine types
> as in subroutine void myfunc(void);
> will store myfunc into a subroutine type.
> This is required to the parser can identify a subroutine
> type in a uniform decleration as a valid type, and also for
> looking up the type later.
> Also add contains_subroutine method.
> v2: handle subroutine to int comparisons, needed
> for lowering pass.
> v3: do subroutine to int with it's own IR
> operation to avoid hacking on asserts (Kayden)
> v3.1: fix warnings in this patch, fix nir,
> fix tgsi
> Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
Patches 7-9 are:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: This is a digitally signed message part.
More information about the mesa-dev