aboutsummaryrefslogtreecommitdiff
path: root/src/layer.cc
diff options
context:
space:
mode:
authorNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-04-04 14:09:39 +1100
committerNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-04-04 14:09:39 +1100
commiteffef8d4c4012f415c8cf869f9999232862009e2 (patch)
tree7f41b9c3ee74f2cd1cfeee80e366802c84ce36a5 /src/layer.cc
parente5fb27bf76ea5f6e6bfd008ed3e976576306592b (diff)
Fix CmdWriteTimpstamps bit forward, re-add 'no-unused*' compiler warnings
Diffstat (limited to 'src/layer.cc')
-rw-r--r--src/layer.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/layer.cc b/src/layer.cc
index 2743030..3811fca 100644
--- a/src/layer.cc
+++ b/src/layer.cc
@@ -846,8 +846,9 @@ VkResult LatencySleepNV(VkDevice device, VkSwapchainKHR swapchain,
return VK_SUCCESS;
}
-void QueueNotifyOutOfBandNV(VkQueue queue,
- const VkOutOfBandQueueTypeInfoNV* pQueueTypeInfo) {
+void QueueNotifyOutOfBandNV(
+ VkQueue queue,
+ [[maybe_unused]] const VkOutOfBandQueueTypeInfoNV* pQueueTypeInfo) {
// Kind of interesting how you can't turn it back on once it's turned off.
// Also I really have no idea why pQueueTypeInfo's VkOutOfBandQueueTypeNV
@@ -874,13 +875,12 @@ VkResult SetLatencySleepModeNV(VkDevice device, VkSwapchainKHR swapchain,
return VK_SUCCESS;
}
-void SetLatencyMarkerNV(VkDevice device, VkSwapchainKHR swapchain,
- const VkSetLatencyMarkerInfoNV* pLatencyMarkerInfo) {
+void SetLatencyMarkerNV(VkDevice, VkSwapchainKHR,
+ const VkSetLatencyMarkerInfoNV*) {
// STUB
}
-void GetLatencyTimingsNV(VkDevice device, VkSwapchainKHR swapchain,
- VkGetLatencyMarkerInfoNV* pLatencyMarkerInfo) {
+void GetLatencyTimingsNV(VkDevice, VkSwapchainKHR, VkGetLatencyMarkerInfoNV*) {
// STUB
}