<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 15, 2017 at 7:10 AM, Lionel Landwerlin <span dir="ltr"><<a href="mailto:lionel.g.landwerlin@intel.com" target="_blank">lionel.g.landwerlin@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
This series implements KHR_sampler_ycbcr_conversion (and<br>
KHR_bind_memory2 as requirement) for the Anv driver. Apologies for<br>
this series which is a bit invasive as it needs to introduce the<br>
concept of planes in core parts of the driver.</blockquote><div><br></div><div>Yeah, it is! I've read a bunch of stuff and left you some scattered comments. Don't go re-architect anything based on it quite yet though. I need a clearer head before I'll be ready to read this all in detail.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> I've tried to split up<br>
format/descriptor/image changes, but the latter remains pretty<br>
dense :(<br>
<br>
This series is available on github at :<br>
<br>
<a href="https://github.com/djdeath/mesa/tree/wip/djdeath/ycbcr_conversion" rel="noreferrer" target="_blank">https://github.com/djdeath/<wbr>mesa/tree/wip/djdeath/ycbcr_<wbr>conversion</a><br>
<br>
Cheers,<br>
<br>
Lionel Landwerlin (15):<br>
vulkan: update headers & registry to VK 1.0.61<br>
vulkan: enum generator: align function declarations/prototypes<br>
vulkan: enum generator: sort enums by names<br>
vulkan: enum generator: make registry more flexible<br>
vulkan: enum generator: generate extension number defines<br>
vulkan: util: add macros to extract extension/offset number from enums<br>
anv: add support for VK_KHR_bind_memory2<br>
isl: make format layout channels accessible by index<br>
isl: add surface layout for yuv formats<br>
anv: modify the internal concept of format to express multiple planes<br>
anv: add new formats KHR_sampler_ycbcr_conversion<br>
anv: add descriptor support for multiplanar image/sampler<br>
anv: add nir lowering pass for ycrcb textures<br>
anv: enable multiple planes per image/imageView<br>
anv: enable VK_KHR_sampler_ycbcr_<wbr>conversion<br>
<br>
include/vulkan/vulkan.h | 518 ++++++++++++++--<br>
src/intel/Makefile.sources | 1 +<br>
src/intel/isl/isl.h | 21 +-<br>
src/intel/isl/isl_format_<wbr>layout.csv | 4 +<br>
src/intel/vulkan/anv_blorp.c | 355 +++++++----<br>
src/intel/vulkan/anv_<wbr>descriptor_set.c | 107 +++-<br>
src/intel/vulkan/anv_device.c | 83 ++-<br>
src/intel/vulkan/anv_dump.c | 17 +-<br>
src/intel/vulkan/anv_<wbr>extensions.py | 2 +<br>
src/intel/vulkan/anv_formats.c | 721 ++++++++++++++-------<br>
src/intel/vulkan/anv_image.c | 757 +++++++++++++++--------<br>
src/intel/vulkan/anv_intel.c | 4 +-<br>
src/intel/vulkan/anv_nir.h | 3 +<br>
src/intel/vulkan/anv_nir_<wbr>apply_pipeline_layout.c | 106 +++-<br>
src/intel/vulkan/anv_nir_<wbr>lower_ycbcr_textures.c | 471 ++++++++++++++<br>
src/intel/vulkan/anv_pipeline.<wbr>c | 2 +<br>
src/intel/vulkan/anv_private.h | 332 ++++++++--<br>
src/intel/vulkan/anv_wsi.c | 8 +-<br>
src/intel/vulkan/gen8_cmd_<wbr>buffer.c | 2 +-<br>
src/intel/vulkan/genX_cmd_<wbr>buffer.c | 326 +++++-----<br>
src/intel/vulkan/genX_<wbr>pipeline.c | 14 +-<br>
src/intel/vulkan/genX_state.c | 122 ++--<br>
src/intel/vulkan/vk_format_<wbr>info.h | 27 +<br>
src/vulkan/registry/vk.xml | 540 +++++++++++++---<br>
src/vulkan/util/gen_enum_to_<wbr>str.py | 68 +-<br>
src/vulkan/util/vk_util.h | 7 +<br>
26 files changed, 3512 insertions(+), 1106 deletions(-)<br>
create mode 100644 src/intel/vulkan/anv_nir_<wbr>lower_ycbcr_textures.c<br>
<br>
--<br>
2.14.1<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</blockquote></div><br></div></div>