Re: [Mesa-dev] [PATCH] glsl: produce a linker error for a subroutine uniform with no functions.

2016-05-16 Thread Timothy Arceri
On Fri, 2016-05-06 at 11:38 +1000, Dave Airlie wrote: > From: Dave Airlie > > If a subroutine uniform is declared with no functions backing it, > that isn't legal, so we should fail to link. > > Fixes: > GL43-CTS.shader_subroutine.subroutine_uniform_wo_matching_subroutines > > Signed-off-by: Da

[Mesa-dev] [PATCH] glsl: produce a linker error for a subroutine uniform with no functions.

2016-05-05 Thread Dave Airlie
From: Dave Airlie If a subroutine uniform is declared with no functions backing it, that isn't legal, so we should fail to link. Fixes: GL43-CTS.shader_subroutine.subroutine_uniform_wo_matching_subroutines Signed-off-by: Dave Airlie --- src/compiler/glsl/linker.cpp | 4 1 file changed, 4