[Mesa-dev] [PATCH 0/7] anv: clean up and unify emit_rs_state

Jason Ekstrand jason at jlekstrand.net
Sat Aug 6 17:31:15 UTC 2016


This tiny little series cleans up emit_rs_state and unifies it between gen7
and gen8.  At the end, we also fix a bug in gen7 setup where we weren't
setting the depth format in 3DSTATE_SF.

Jason Ekstrand (7):
  anv/pipeline/gen8: Remove an old comment
  genxml: Make 3DSTATE_SF more consistent between gen7 and gen8+
  anv/pipeline/gen8: Use fewer designated initializers in emit_rs_state
  anv/pipeline/gen8: Unconditionally set
    DXMultisampleRasterizaitonEnable
  anv/pipeline: Unify 3DSTATE_RASTER and 3DSTATE_SF setup between gen7
    and gen8
  isl: Add a helper for getting a depth format from an isl_format
  anv/pipeline/gen7: Set the depth format in 3DSTATE_SF

 src/intel/genxml/gen7.xml             |  7 ++-
 src/intel/genxml/gen75.xml            |  7 ++-
 src/intel/isl/isl.h                   |  2 +
 src/intel/isl/isl_format.c            | 24 +++++++++++
 src/intel/vulkan/gen7_pipeline.c      | 44 +------------------
 src/intel/vulkan/gen8_pipeline.c      | 57 +-----------------------
 src/intel/vulkan/genX_pipeline_util.h | 81 +++++++++++++++++++++++++++++++++++
 7 files changed, 120 insertions(+), 102 deletions(-)

-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list