Skip to content

GLSL: Add option to emit custom entry point name#2599

Merged
HansKristian-Work merged 1 commit into
KhronosGroup:mainfrom
rdb:glsl-use-entry-point-name
Feb 26, 2026
Merged

GLSL: Add option to emit custom entry point name#2599
HansKristian-Work merged 1 commit into
KhronosGroup:mainfrom
rdb:glsl-use-entry-point-name

Conversation

@rdb
Copy link
Copy Markdown
Contributor

@rdb rdb commented Feb 15, 2026

As discussed in #2412, this adds use_entry_point_name to GLSL (just as it exists in HLSL) to use the entry point name specified in the SPIR-V (optionally as modified by rename_entry_point) in the GLSL output instead of "main".

The use case is appending a custom main() wrapper to do things like alpha testing.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Feb 15, 2026

CLA assistant check
All committers have signed the CLA.

@HansKristian-Work
Copy link
Copy Markdown
Contributor

Overloaded with other stuff atm, I'll try to get to this next week.

@HansKristian-Work HansKristian-Work merged commit 5002ae2 into KhronosGroup:main Feb 26, 2026
10 checks passed
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.

3 participants