[Mesa-dev] [PATCH 09/19] glsl/ir: add subroutine information storage to ir_function (v1.1)

Dave Airlie airlied at gmail.com
Sat Jul 11 20:08:39 PDT 2015


On 12 July 2015 at 13:02, Dave Airlie <airlied at gmail.com> wrote:
> On 10 July 2015 at 07:15, Chris Forbes <chrisf at ijw.co.nz> wrote:
>> Do you really need is_subroutine_def ? It seems redundant with
>> num_subroutine_types>0.
>
> I'm not sure, the spec isn't very clear on whether a subroutine
> definition with no subroutine types is legal GLSL or not.

actually it's fine to do what you said, I've nuked is_subroutine_def
for the next version.

Dave.


More information about the mesa-dev mailing list