OSDN Git Service

anv: Enable independentBlend on gen7
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 Jul 2016 01:01:29 +0000 (18:01 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 21 Jul 2016 11:30:32 +0000 (12:30 +0100)
We can totally do it, we were just only setting up one BLEND_STATE and, now
that the code is unified with gen8, we should be handling it correctly.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit f124f4a394680f8a1847339770c8d245282bbe01)

src/intel/vulkan/anv_device.c

index f181eb7..2e91980 100644 (file)
@@ -372,7 +372,7 @@ void anv_GetPhysicalDeviceFeatures(
       .robustBufferAccess                       = true,
       .fullDrawIndexUint32                      = true,
       .imageCubeArray                           = false,
-      .independentBlend                         = pdevice->info->gen >= 8,
+      .independentBlend                         = true,
       .geometryShader                           = true,
       .tessellationShader                       = false,
       .sampleRateShading                        = false,