glsl: subroutine types cannot be used in constructors.
authorDave Airlie <airlied@redhat.com>
Tue, 3 May 2016 04:33:16 +0000 (14:33 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 3 May 2016 20:44:45 +0000 (06:44 +1000)
commit265fe9dce8727d8777153fa9846300051141a88e
treeb862fc3f066d31804054bcbc820971a8eac71693
parent3110a0aa2304616bf996fdf019ad4457bed44dfd
glsl: subroutine types cannot be used in constructors.

This fixes two of the cases in
GL43-CTS.shader_subroutine.subroutines_not_allowed_as_variables_constructors_and_argument_or_return_types

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/ast_function.cpp