ilo: add support for scratch spaces
authorChia-I Wu <olvaffe@gmail.com>
Thu, 22 Oct 2015 16:45:49 +0000 (00:45 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 23 Oct 2015 09:29:58 +0000 (17:29 +0800)
commit582ecb3b9132ff3690900e5426c982187d640c87
tree43ebd68037c0d8dc479945e5d499d4084abff911
parent4a7d18296a9e80d2c5458bf77f8eb88913433c90
ilo: add support for scratch spaces

When a kernel reports a non-zero per-thread scratch space size, make sure the
hardware state is correctly set up, and a scratch bo is allocated.
src/gallium/drivers/ilo/ilo_draw.c
src/gallium/drivers/ilo/ilo_render.c
src/gallium/drivers/ilo/ilo_render.h
src/gallium/drivers/ilo/ilo_render_gen.h
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
src/gallium/drivers/ilo/ilo_shader.h
src/gallium/drivers/ilo/shader/ilo_shader_internal.h