ilo: add some assertions to help debugging
authorChia-I Wu <olvaffe@gmail.com>
Fri, 14 Jun 2013 07:35:36 +0000 (15:35 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 14 Jun 2013 08:02:31 +0000 (16:02 +0800)
commit36ffd0870642d88e0a6a2a71e6c9b44fe656cae0
tree9af69d7cbf44eac6161308df751d587f4793251b
parent0d9afaad35e108f9f5f124d31c2cb7e3e052851e
ilo: add some assertions to help debugging

Assert that we do not support user vertex/index/constant buffers.  Issue a
warning when a sampler view is created for a resource without
PIPE_BIND_SAMPLER_VIEW.
src/gallium/drivers/ilo/ilo_state.c