[Mesa-dev] [PATCH 0/5] Anv border colors on IVB/HSW

Lionel Landwerlin llandwerlin at gmail.com
Mon Oct 17 15:46:54 UTC 2016


Hi,

Spoiler alert, this series doesn't actually make the border colors work on
IvyBridge and Haswell. It still brings some useful changes (I think).

On Haswell, it seems the hardware always reads the border color from the
offset 0 of the "Dynamic State Memory Address", regardless of what offset is
programmed in the "Border Color Pointer" field of the SAMPLER_STATE
structure. Maybe some kind of cache invalidation is missing in this series?
Any idea/pointer is more than welcome!

Cheers,

Lionel Landwerlin (5):
  intel: genxml: add SAMPLER_BORDER_COLOR_STATE structures
  intel: aubinator: decode border color
  anv: add util functions to query max bpc & integer formats
  anv: add dispatch macro to find right function for given generation
  anv: setup appropriate border color structures on gen7/gen75

 src/intel/genxml/gen6.xml         |  32 ++++
 src/intel/genxml/gen7.xml         |  12 ++
 src/intel/genxml/gen75.xml        |  40 +++++
 src/intel/genxml/gen8.xml         |  12 ++
 src/intel/genxml/gen9.xml         |  12 ++
 src/intel/tools/aubinator.c       |   7 +
 src/intel/vulkan/anv_cmd_buffer.c |  43 ++----
 src/intel/vulkan/anv_device.c     |  61 +-------
 src/intel/vulkan/anv_genX.h       |   3 +-
 src/intel/vulkan/anv_private.h    |  30 ++++
 src/intel/vulkan/genX_state.c     | 220 ++++++++++++++++++++++++----
 src/intel/vulkan/vk_format_info.h | 300 ++++++++++++++++++++++++++++++++++++++
 12 files changed, 653 insertions(+), 119 deletions(-)

--
2.9.3


More information about the mesa-dev mailing list