anv/cmd_buffer: Don't use an anv_state pointer in emit_binding_table
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 5 Nov 2015 03:48:59 +0000 (19:48 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 5 Nov 2015 03:56:16 +0000 (19:56 -0800)
commit1b68120760460c3d23425dadf46df75274b6ddb0
treee8a4572243cc2d00ee828a61852ba1fe027c3f6e
parentd259af3fbb179229ac7fb86bf910ff5e4391584b
anv/cmd_buffer: Don't use an anv_state pointer in emit_binding_table

The anv_state is supposed to be a flyweight so we're not really saving
anything by using a pointer.  Also, we were creating one, setting a pointer
to it, and then having it go out-of-scope which is bad.
src/vulkan/anv_cmd_buffer.c