glsl: Add function support to glsl_to_nir
authorMatt Turner <mattst88@gmail.com>
Mon, 10 Dec 2018 18:58:43 +0000 (10:58 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 10 Jan 2019 00:42:40 +0000 (16:42 -0800)
commit63f6d7afd6fab91ec3ef6b8fec61401d8faf5587
tree90cae84cc98191fdd166c056b1e8a839dfd96110
parent230a8a541dd47dce23ef7ca2b17d18e59dba1754
glsl: Add function support to glsl_to_nir

Based on a patch from Tim Arceri, but I had to substantially rewrite it
as a result of the NIR derefs rework.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/glsl_to_nir.cpp