ilo: add functions to query shaders 02/7102/1
authorChia-I Wu <olvaffe@gmail.com>
Tue, 25 Jun 2013 04:12:09 +0000 (12:12 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 25 Jun 2013 04:28:54 +0000 (12:28 +0800)
commit5c8db569abf3f1e508d57cccb95856936bce29e4
tree13a48632710fee6bc0778830b8b2b345967339f7
parent96e2133e72ec0fb6173b79838f1a7d153b8f25b6
ilo: add functions to query shaders

Add ilo_shader_get_type() to query the type (PIPE_SHADER_x) of the shader.
Add ilo_shader_get_kernel_offset() and ilo_shader_get_kernel_param() to query
the cache offset and various kernel parameters of the selected kernel.
src/gallium/drivers/ilo/ilo_shader.c
src/gallium/drivers/ilo/ilo_shader.h