Module: Mesa
Branch: main
Commit: e4ad1b5b33620ce08f5f65e3041f9e05db2446ae
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4ad1b5b33620ce08f5f65e3041f9e05db2446ae

Author: Jason Ekstrand <[email protected]>
Date:   Thu May  5 12:47:34 2022 -0500

panvk: Advertise support for logicOp

Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16309>

---

 src/panfrost/ci/deqp-panfrost-g52-vk.toml | 1 +
 src/panfrost/vulkan/panvk_device.c        | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/panfrost/ci/deqp-panfrost-g52-vk.toml 
b/src/panfrost/ci/deqp-panfrost-g52-vk.toml
index b84161c9e76..dc96016a30d 100644
--- a/src/panfrost/ci/deqp-panfrost-g52-vk.toml
+++ b/src/panfrost/ci/deqp-panfrost-g52-vk.toml
@@ -28,6 +28,7 @@ include = [
     "dEQP-VK.image.load_store.with_format.*",
     
"dEQP-VK.pipeline.depth.format.d24_unorm_s8_uint.depth_test_disabled.depth_write_enabled",
     "dEQP-VK.pipeline.input_assembly.*",
+    "dEQP-VK.pipeline.logic_op.*",
     
"dEQP-VK.pipeline.sampler.view_type.*.format.r*.address_modes.all_mode_clamp_to_border*",
     "dEQP-VK.pipeline.stencil.*",
     "dEQP-VK.rasterization.interpolation.*",
diff --git a/src/panfrost/vulkan/panvk_device.c 
b/src/panfrost/vulkan/panvk_device.c
index 5d68f2cf0d5..e1514f18b00 100644
--- a/src/panfrost/vulkan/panvk_device.c
+++ b/src/panfrost/vulkan/panvk_device.c
@@ -477,6 +477,7 @@ panvk_GetPhysicalDeviceFeatures2(VkPhysicalDevice 
physicalDevice,
    pFeatures->features = (VkPhysicalDeviceFeatures) {
       .fullDrawIndexUint32 = true,
       .independentBlend = true,
+      .logicOp = true,
       .wideLines = true,
       .largePoints = true,
       .textureCompressionETC2 = true,

Reply via email to