* track more state

  * constant buffers

* organize state better (e.g., group stuff according to the place in the
  pipeline)

* write an utility that generated a simple graw C code that matches a
  state dump.
