freedreno/ir3: cmdline compiler for glsl

Graphics / Mesa 3D Graphics Library / Mesa - Rob Clark [freedesktop.org] - 25 May 2016 15:31 UTC

Use glsl/libstandalone.la to add support for taking glsl src files (in addition to .tgsi) as input. Then glsl->nir and feed the result into the ir3 backend as normal.

231dcb1 freedreno/ir3: cmdline compiler for glsl
src/gallium/drivers/freedreno/Makefile.am | 2 +
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c | 89 +++++++++++++++++++----
2 files changed, 77 insertions(+), 14 deletions(-)

Upstream: cgit.freedesktop.org


  • Share