summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.pick_status.json2
-rw-r--r--src/vulkan/runtime/vk_graphics_state.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/.pick_status.json b/.pick_status.json
index 5b660c3b62b..93fb6e0f408 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -688,7 +688,7 @@
"description": "vulkan: Add a common implementation of CmdSetSampleLocationsEnableEXT",
"nominated": true,
"nomination_type": 1,
- "resolution": 0,
+ "resolution": 1,
"main_sha": null,
"because_sha": "13c422e1b2ede25410034fdaf29a632061990fc0"
},
diff --git a/src/vulkan/runtime/vk_graphics_state.c b/src/vulkan/runtime/vk_graphics_state.c
index 63eb2991fc2..484093dc5c8 100644
--- a/src/vulkan/runtime/vk_graphics_state.c
+++ b/src/vulkan/runtime/vk_graphics_state.c
@@ -2249,6 +2249,17 @@ vk_common_CmdSetSampleLocationsEXT(VkCommandBuffer commandBuffer,
}
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)
{