Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the ShaderLab Language Type Inference System #2148

Open
Sway007 opened this issue Jun 27, 2024 · 0 comments
Open

Improve the ShaderLab Language Type Inference System #2148

Sway007 opened this issue Jun 27, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request medium priority Medium priority issue shader Shader related functions
Milestone

Comments

@Sway007
Copy link
Member

Sway007 commented Jun 27, 2024

Is your feature request related to a problem? Please describe.

The type system in the current version is not well developed, leading to ambiguity in type inference for certain expressions in ShaderLab. This results in an inability to match the correct overload function signatures, hindering the implementation of code section trimming for unreferenced functions.

Describe the solution you'd like

Improve the ShaderLab Language Type Inference System for Accurate Function Overload Resolution.

Describe alternatives you've considered

Retain all overloaded functions (a non-ideal solution).

@Sway007 Sway007 added enhancement New feature or request shader Shader related functions medium priority Medium priority issue labels Jun 27, 2024
@Sway007 Sway007 added this to the Backlog milestone Jun 27, 2024
@Sway007 Sway007 self-assigned this Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium priority Medium priority issue shader Shader related functions
Projects
None yet
Development

No branches or pull requests

1 participant