Skip to content

Feature/mac arm64 support#587

Open
ricardopieper wants to merge 13 commits into
frustra:no_draw_indirect_countfrom
ricardopieper:feature/mac-arm64-support
Open

Feature/mac arm64 support#587
ricardopieper wants to merge 13 commits into
frustra:no_draw_indirect_countfrom
ricardopieper:feature/mac-arm64-support

Conversation

@ricardopieper
Copy link
Copy Markdown

@ricardopieper ricardopieper commented Feb 8, 2026

Not meant to be merged, just a reference of what I'm doing to make it run on macs.


#include "console/Console.hh"

#include <unistd.h>
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise it does not find execl and fork

*/
size_t Add(const Event &event, size_t transactionId = 0) const;
size_t Add(const AsyncEvent &event) const;
uint64_t Add(const Event &event, uint64_t transactionId = 0) const;
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The impl changed but the interface didn't. No difference on linux but it is a compilation error for me.

VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME,
VK_EXT_SHADER_VIEWPORT_INDEX_LAYER_EXTENSION_NAME,
};
"VK_KHR_portability_subset"};
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The const exists but for some reason compilation fails because it... does not exist? idk

Comment thread CMakeLists.txt
set(PROJECT_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(PROJECT_OUTPUT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/bin)
set(CMAKE_INSTALL_RPATH $ORIGIN)
if(APPLE)
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MacOS does not like the $ORIGIN

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And the /usr/local/lib is so that it finds the vulkan dylib

@ricardopieper ricardopieper changed the base branch from master to no_draw_indirect_count February 12, 2026 02:48
// clear,
// {range});
auto counterBuffer = resources.GetBuffer("FillCounters");
cmd.Raw().fillBuffer(*counterBuffer, 0, vk::WholeSize, 0);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@xthexder xthexder force-pushed the no_draw_indirect_count branch from 6d13570 to 4e08b6d Compare February 12, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants