ilo: make constant buffer 0 upload optional
authorChia-I Wu <olvaffe@gmail.com>
Wed, 17 Jul 2013 21:43:00 +0000 (05:43 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 13 Aug 2013 07:52:37 +0000 (15:52 +0800)
commit5df62dce347eb8046a38630280aa043e075ac56f
treea686670500f623489c4a3518b6dcb808ed76a615
parent8b5b5fe3944d75c5d3667516139e366d2207c22a
ilo: make constant buffer 0 upload optional

Add ILO_KERNEL_SKIP_CBUF0_UPLOAD so that we can skip constant buffer 0 upload
when the kernel does not need it.
src/gallium/drivers/ilo/ilo_shader.c
src/gallium/drivers/ilo/ilo_shader.h
src/gallium/drivers/ilo/ilo_state.c