radv: enable the PS epilogs cache when some ds3 states are enabled
These dynamic states need to compile PS epilogs on-demand. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20201>
This commit is contained in:

committed by
Marge Bot

parent
75b0d6de04
commit
c9f30c4aa0
@@ -3764,6 +3764,14 @@ radv_CreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCr
|
||||
vs_prologs = true;
|
||||
break;
|
||||
}
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_FEATURES_EXT: {
|
||||
const VkPhysicalDeviceExtendedDynamicState3FeaturesEXT *features = (const void *)ext;
|
||||
if (features->extendedDynamicState3ColorBlendEnable ||
|
||||
features->extendedDynamicState3ColorWriteMask ||
|
||||
features->extendedDynamicState3AlphaToCoverageEnable)
|
||||
ps_epilogs = true;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user