glsl/freedreno/panfrost: pass gl_context to the standalone compiler
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 22 Feb 2019 00:51:24 +0000 (11:51 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 6 Mar 2019 23:05:20 +0000 (23:05 +0000)
commit7530d4abfcf9d39fb1b4abeb77cdbf6cf1d411a7
treef7dec5de299bcb431672f3a7c9209bc871b328a2
parent15b83b3af972fe32de4b1730ef6aff110e5da49a
glsl/freedreno/panfrost: pass gl_context to the standalone compiler

This allows us to use the ctx with glsl_to_nir() in a following
patch.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/glsl/main.cpp
src/compiler/glsl/standalone.cpp
src/compiler/glsl/standalone.h
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
src/gallium/drivers/panfrost/midgard/cmdline.c