Skip to content

Conversation

@Chaosus
Copy link
Member

@Chaosus Chaosus commented Jan 7, 2026

This change should improve overall compile performance for the shaders with a lot of built-in function usage, because:

    1. The name string checking is removed
    1. The tag checking is removed
    1. It will search only on specific function subset from a AHashMap by string key

Also, this should reduce the binary size, by removing redundant members from BuiltinFuncDef.

@Chaosus Chaosus requested a review from a team as a code owner January 7, 2026 17:42
@Chaosus Chaosus added this to the 4.7 milestone Jan 7, 2026
@Chaosus Chaosus force-pushed the shader_builtin_improvements branch 3 times, most recently from 8be8a9f to 1c70b85 Compare January 7, 2026 18:35
@Chaosus Chaosus force-pushed the shader_builtin_improvements branch from 1c70b85 to acfacec Compare January 7, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant