freedreno/ir3: add dev ptr to ir3_compiler
authorRob Clark <robclark@freedesktop.org>
Tue, 1 Mar 2016 22:31:21 +0000 (17:31 -0500)
committerRob Clark <robclark@freedesktop.org>
Wed, 2 Mar 2016 00:20:33 +0000 (19:20 -0500)
commit5fd152bae8a765024231a7390ae48752b579a5a9
tree223cb895d5a94727ac8d0bcef1cead5c3941eb20
parent1be953797ea4ae31193ab40bd35133eef38ae0ce
freedreno/ir3: add dev ptr to ir3_compiler

And use this for allocating bo's to hold the shader binary, rather than
accessing the dev via ctx ptr.  One step towards making shaders sharable
across contexts.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_screen.c
src/gallium/drivers/freedreno/a4xx/fd4_screen.c
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
src/gallium/drivers/freedreno/ir3/ir3_compiler.c
src/gallium/drivers/freedreno/ir3/ir3_compiler.h
src/gallium/drivers/freedreno/ir3/ir3_shader.c