From b0202cfcea447e25cc2c7afaf025897231f8a72c Mon Sep 17 00:00:00 2001 From: Matthew Date: Sun, 14 Jun 2026 14:14:13 +1000 Subject: [PATCH] Revert "fix" This reverts commit f1584919fc40e609606c43ab1d23d6372fb4afde. --- vulkan/vulkan.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vulkan/vulkan.d b/vulkan/vulkan.d index 5af56d2..f7aae7e 100644 --- a/vulkan/vulkan.d +++ b/vulkan/vulkan.d @@ -1326,7 +1326,7 @@ CreateBufferView(Descriptor* desc) } void -PushConstants(T)(Pipeline pipeline_id, T* pc, bool compute = false) +PushConstants(T)(Pipeline pipeline_id, T* pc) { assert(pipeline_id > 0, "PushConstants pipeline_id == 0"); PipelineHandles* pipeline = g_vk.pipeline_handles.ptr + pipeline_id; @@ -1335,7 +1335,7 @@ PushConstants(T)(Pipeline pipeline_id, T* pc, bool compute = false) VK_SHADER_STAGE_COMPUTE_BIT); vkCmdPushConstants( - compute ? g_vk.comp_cmd : g_vk.cmd, + g_vk.cmd, pipeline.layout, stage, 0,