Skip to content

fix No OpEntryPoint for non-public entry points#565

Open
39ali wants to merge 1 commit intoRust-GPU:mainfrom
39ali:entry-point-pub
Open

fix No OpEntryPoint for non-public entry points#565
39ali wants to merge 1 commit intoRust-GPU:mainfrom
39ali:entry-point-pub

Conversation

@39ali
Copy link
Copy Markdown

@39ali 39ali commented Apr 13, 2026

fixes the confusing No OpEntryPoint instruction was found you get when entry point is private
#293

@LegNeato
Copy link
Copy Markdown
Collaborator

Ohhh, that is a good idea! I was be concerned about automatic pub breaking encapsulation, but putting it as part of the macro is extremely smart as (AFAICT) it solves that....any code not targeting spirv will have the macro stripped away and still see the private function.

@Firestar99 do you see any potential issues I am missing?

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