summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/link_varyings.cpp
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-05-03 14:39:06 +1000
committerDave Airlie <[email protected]>2016-06-06 12:54:30 +1000
commit6702c1581092bce230742d02ebf9325f68bd247a (patch)
treed311c7c0c51528b13b144957e8641111175d2102 /src/compiler/glsl/link_varyings.cpp
parent4336196b7fc61166a36babdabdf5dd004ec9ee55 (diff)
glsl/ast: don't crash when func_name is NULL
This fixes a crash in GL43-CTS.shader_subroutine.subroutines_not_allowed_as_variables_constructors_and_argument_or_return_types If we can't find the func_name in one of these paths, we have emitted an earlier error so just return here. Reviewed-by: Timothy Arceri <[email protected]> Cc: "11.2 12.0" <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/compiler/glsl/link_varyings.cpp')
0 files changed, 0 insertions, 0 deletions