summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-04-12 23:29:58 +0200
committerBas Nieuwenhuizen <[email protected]>2017-04-13 15:48:14 +0200
commitc3f38c89682b02e13d7cf92b5f8de2b7cc2481a4 (patch)
tree51aa33235bff900fcebfb97bd4b5eeb4bb4e2bc0 /src/amd/vulkan
parent5589fd89e1337a03c947840b344f515cb1d3a96d (diff)
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 <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/radv_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index b099ec736c0..8f9fbb0dfb5 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,
};
}