summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/lower_subroutine.cpp
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2018-10-30 15:15:58 +0100
committerErik Faye-Lund <[email protected]>2018-11-02 11:10:36 +0100
commitecab2d6f1481e1e50b20b54ae88dd949c1dafab6 (patch)
tree54527576c50cd9cac6a2a813e94c11329a13a2e0 /src/compiler/glsl/lower_subroutine.cpp
parente975c5b785f9e6d0c5ccec12a027b19a6073130c (diff)
glsl: fall back to inexact function-match
In GLES, we currently either need an exact match with a local function, or an exact match with a builtin. However, if we add support for implicit conversions for GLES shaders, we also need to fall back to a non-exact match in the case where there were no builtin match either. Luckily, we already have a variable ready with this, so let's just return it if the builtin-search failed. Signed-off-by: Erik Faye-Lund <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/compiler/glsl/lower_subroutine.cpp')
0 files changed, 0 insertions, 0 deletions