turnip: enable fullDrawIndexUint32/independentBlend/dualSrcBlend/logicOp
authorJonathan Marek <jonathan@marek.ca>
Sun, 23 Feb 2020 22:30:15 +0000 (17:30 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 26 Feb 2020 00:21:45 +0000 (00:21 +0000)
These are already implemented but missing from VkPhysicalDeviceFeatures.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3923>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3923>

src/freedreno/vulkan/tu_device.c

index 82c1cb686bec5e800b041826ea43a047570eaa8a..f78de1bfd4c84c8de0f42f81f053c7b34eb87250 100644 (file)
@@ -577,14 +577,14 @@ tu_GetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice,
 
    *pFeatures = (VkPhysicalDeviceFeatures) {
       .robustBufferAccess = false,
-      .fullDrawIndexUint32 = false,
+      .fullDrawIndexUint32 = true,
       .imageCubeArray = false,
-      .independentBlend = false,
+      .independentBlend = true,
       .geometryShader = false,
       .tessellationShader = false,
       .sampleRateShading = true,
-      .dualSrcBlend = false,
-      .logicOp = false,
+      .dualSrcBlend = true,
+      .logicOp = true,
       .multiDrawIndirect = false,
       .drawIndirectFirstInstance = false,
       .depthClamp = false,