[Mesa-dev] [PATCH] radv: enable variableMultisampleRate.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Wed Apr 12 22:10:31 UTC 2017


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>
---
 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 5f14394196a..c9f3dcbf815 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,
 	};
 }
-- 
2.12.2



More information about the mesa-dev mailing list