[Mesa-dev] [PATCH v4] anv: add VK_EXT_sampler_filter_minmax support

2018-08-20 Thread Yunchao He
This extension can be supported on SKL+. With this patch, all corresponding tests (6K+) in CTS can pass. No test fails. I verified CTS with the command below: deqp-vk --deqp-case=dEQP-VK.pipeline.sampler.view_type.*reduce* v2: 1) support all depth formats, not depth-only formats, 2) fix a wrong i

[Mesa-dev] [PATCH v4] anv: add VK_EXT_sampler_filter_minmax support

2018-08-17 Thread Yunchao He
This extension can be supported on SKL+. With this patch, all corresponding tests (6K+) in CTS can pass. No test fails. I verified CTS with the command below: deqp-vk --deqp-case=dEQP-VK.pipeline.sampler.view_type.*reduce* v2: 1) support all depth formats, not depth-only formats, 2) fix a wrong i

[Mesa-dev] [PATCH v3] anv: add VK_EXT_sampler_filter_minmax support

2018-08-15 Thread Yunchao He
This extension can be supported on SKL+. With this patch, all corresponding tests (6K+) in CTS can pass. No test fails. I verified CTS with the command below: deqp-vk --deqp-case=dEQP-VK.pipeline.sampler.view_type.*reduce* v2: 1) support all depth formats, not depth-only formats, 2) fix a wrong i

[Mesa-dev] [PATCH v2] anv: add VK_EXT_sampler_filter_minmax support

2018-08-15 Thread Yunchao He
This extension can be supported on SKL+. With this patch, all corresponding tests (6K+) in CTS can pass. No test fails. I verified CTS with the command below: deqp-vk --deqp-case=dEQP-VK.pipeline.sampler.view_type.*reduce* v2: 1) support all depth formats, not depth-only formats, 2) fix a wrong i

[Mesa-dev] [PATCH] anv: add VK_EXT_sampler_filter_minmax support

2018-08-10 Thread Yunchao He
This extension can be supported on SKL+. With this patch, all corresponding tests (6K+) in CTS can pass. No test fails. I verified CTS with the command below: deqp-vk --deqp-case=dEQP-VK.pipeline.sampler.view_type.*reduce* --- src/intel/vulkan/anv_device.c | 8 src/intel/vulkan/anv

[Mesa-dev] [PATCH 2/2] anv/gen9: expose VK_EXT_post_depth_coverage

2018-07-20 Thread Yunchao He
From: Ilia Mirkin Note that the use of ICMS_INNER_CONSERVATIVE disagrees with the GL driver. Perhaps it's more performant than ICMS_NORMAL and is otherwise permitted? Not sure, so I left it as-is. Signed-off-by: Ilia Mirkin --- src/intel/vulkan/anv_extensions.py | 1 + src/intel/vulkan/anv_pi

[Mesa-dev] [PATCH 1/2] spirv: add support for SPV_KHR_post_depth_coverage

2018-07-20 Thread Yunchao He
From: Ilia Mirkin Allow the capability to be exposed, and convert the new execution mode into fs state. Signed-off-by: Ilia Mirkin --- src/compiler/shader_info.h| 1 + src/compiler/spirv/spirv_to_nir.c | 9 + 2 files changed, 10 insertions(+) diff --git a/src/compiler/shader_i

[Mesa-dev] [PATCH] mesa: Add support for VK_EXT_post_depth_coverage extension

2018-07-20 Thread Yunchao He
The original patch was from Ilia Mirkin. See the link at https://patchwork.freedesktop.org/series/30443/. This one rebased that patch, and it can pass the deqp cts right now. --- src/compiler/shader_info.h | 1 + src/compiler/spirv/spirv_to_nir.c | 9 + src/intel/vulkan/anv_exte