vk: Move gen8 specific state into gen8 sub-structs
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Fri, 21 Aug 2015 05:41:22 +0000 (22:41 -0700)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Mon, 24 Aug 2015 20:45:41 +0000 (13:45 -0700)
commit3800573fb5390e84eebc2ebdbcd85f5736626f65
tree0d3a45a9564bc2021a5560d80d95a692fe2eb142
parent615da3795a76e7f18e518d2c896613c3f9c04d27
vk: Move gen8 specific state into gen8 sub-structs

This commit moves all occurances of gen8 specific state into a gen8
substruct. This clearly identifies the state as gen8 specific and
prepares for adding gen7 state structs. In the process we also rename
the field names to exactly match the command or state packet name,
without the 3DSTATE prefix, eg:

  3DSTATE_VF -> gen8.vf
  3DSTATE_WM_DEPTH_STENCIL -> gen8.wm_depth_stencil

Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
src/vulkan/anv_device.c
src/vulkan/anv_private.h
src/vulkan/gen8_cmd_buffer.c
src/vulkan/gen8_pipeline.c
src/vulkan/gen8_state.c