freedreno/ir3: move ir3_pointer_size()
authorRob Clark <robdclark@chromium.org>
Mon, 6 May 2019 18:58:07 +0000 (11:58 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 7 May 2019 14:26:00 +0000 (07:26 -0700)
commitef3eecd66bdcaa3991dd2b53cb3e7285bed6d718
treedceabe018773eb414a481a649ccc4f08d959e8c9
parent2d2927938f074f402cab28aa5322567a76cbde58
freedreno/ir3: move ir3_pointer_size()

Move to ir3_compiler so it doesn't depend on the compile context.  Prep
work for moving constant state from variant (where we have compile
context) to shader (where we do not).

Signed-off-by: Rob Clark <robdclark@chromium.org>
src/freedreno/ir3/ir3_compiler.h
src/freedreno/ir3/ir3_compiler_nir.c
src/freedreno/ir3/ir3_context.c
src/freedreno/ir3/ir3_context.h