anv: Enable independentBlend on gen7
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 Jul 2016 01:01:29 +0000 (18:01 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 Jul 2016 22:48:21 +0000 (15:48 -0700)
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>
src/intel/vulkan/anv_device.c

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