freedreno/ir3: hack for standalone compiler
authorRob Clark <robclark@freedesktop.org>
Sat, 20 Dec 2014 16:44:28 +0000 (11:44 -0500)
committerRob Clark <robclark@freedesktop.org>
Sat, 20 Dec 2014 17:08:37 +0000 (12:08 -0500)
commit4ee545646d58cda4429f3dcfa4505471e424a4f2
tree56162b044a44d4c9241edffc0be9db5e27581436
parenta5481d6fbba9bcaa0c7d49ae0a3580fee21041a6
freedreno/ir3: hack for standalone compiler

Standalone compiler doesn't have screen or context.  We need to come up
with a better way to control the target arch (ie. something that we can
control from cmdline w/ standalone compiler) but for now this hack keeps
it from segfault'ing.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_compiler.c