mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 17:10:11 +01:00
vulkan: Add a common implementation of CmdSetSampleLocationsEnableEXT
Fixes: 13c422e1b2 ("anv: toggle on EXT_extended_dynamic_state3")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19817>
This commit is contained in:
parent
b172fd62f5
commit
182aa9eb15
1 changed files with 11 additions and 0 deletions
|
|
@ -2248,6 +2248,17 @@ vk_common_CmdSetSampleLocationsEXT(VkCommandBuffer commandBuffer,
|
|||
pSampleLocationsInfo->pSampleLocations);
|
||||
}
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL
|
||||
vk_common_CmdSetSampleLocationsEnableEXT(VkCommandBuffer commandBuffer,
|
||||
VkBool32 sampleLocationsEnable)
|
||||
{
|
||||
VK_FROM_HANDLE(vk_command_buffer, cmd, commandBuffer);
|
||||
struct vk_dynamic_graphics_state *dyn = &cmd->dynamic_graphics_state;
|
||||
|
||||
SET_DYN_BOOL(dyn, MS_SAMPLE_LOCATIONS_ENABLE,
|
||||
ms.sample_locations_enable, sampleLocationsEnable);
|
||||
}
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL
|
||||
vk_common_CmdSetDepthTestEnable(VkCommandBuffer commandBuffer,
|
||||
VkBool32 depthTestEnable)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue