Mesa (master): anv: Enable independentBlend on gen7

Jason Ekstrand jekstrand at kemper.freedesktop.org
Fri Jul 15 22:48:56 UTC 2016


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

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Jul 14 18:01:29 2016 -0700

anv: Enable independentBlend on gen7

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 at jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Cc: "12.0" <mesa-stable at lists.freedesktop.org>

---

 src/intel/vulkan/anv_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index f181eb7..2e91980 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -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,




More information about the mesa-commit mailing list