Mesa (master): radv: enable variableMultisampleRate.

Bas Nieuwenhuizen bnieuwenhuizen at kemper.freedesktop.org
Thu Apr 13 13:48:52 UTC 2017


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

Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Wed Apr 12 23:29:58 2017 +0200

radv: enable variableMultisampleRate.

This is only relevant with 0 attachments. In that case we do nothing
on subpass switch already, and the pipeline is the authoritative
source of the number of samples, so this shouldn't change anything.

Signed-off-by: Bas Nieuwenhuizen <basni at google.com>
Reviewed-by: Dave Airlie <airlied at redhat.com>

---

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

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index b099ec736c..8f9fbb0dfb 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -502,7 +502,7 @@ void radv_GetPhysicalDeviceFeatures(
 		.shaderInt64                              = false,
 		.shaderInt16                              = false,
 		.sparseBinding                            = true,
-		.variableMultisampleRate                  = false,
+		.variableMultisampleRate                  = true,
 		.inheritedQueries                         = false,
 	};
 }




More information about the mesa-commit mailing list