ilo: fix scratch space setup in core
authorChia-I Wu <olvaffe@gmail.com>
Thu, 22 Oct 2015 16:24:26 +0000 (00:24 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 23 Oct 2015 09:29:58 +0000 (17:29 +0800)
commit4a7d18296a9e80d2c5458bf77f8eb88913433c90
tree1b954ffa50a755f2d12c21bae258e362e674bf6c
parent3994ef5f1b7386c17dff532cb5d04a7823520c7a
ilo: fix scratch space setup in core

Move scratch_size out of ilo_state_shader_kernel_info and
ilo_state_compute_interface_info.  A scratch space is shared by all
kernels/interfaces.  Update builder to emit relocs for scratch bos.
src/gallium/drivers/ilo/core/ilo_builder_3d_bottom.h
src/gallium/drivers/ilo/core/ilo_builder_3d_top.h
src/gallium/drivers/ilo/core/ilo_state_compute.c
src/gallium/drivers/ilo/core/ilo_state_compute.h
src/gallium/drivers/ilo/core/ilo_state_shader.c
src/gallium/drivers/ilo/core/ilo_state_shader.h
src/gallium/drivers/ilo/core/ilo_state_shader_ps.c
src/gallium/drivers/ilo/ilo_render_gen6.c
src/gallium/drivers/ilo/ilo_render_gen7.c
src/gallium/drivers/ilo/ilo_render_gen8.c
src/gallium/drivers/ilo/ilo_shader.c