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

Allow usage of discard inside custom shader functions #93590

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Chaosus
Copy link
Member

@Chaosus Chaosus commented Jun 25, 2024

Since #93358 got merged (which introduced call hierarchy checking), it's now easily possible to allow a user to use a discard keyword in custom user function in spatial/canvas_item shader types:

custom_func_discard

@Chaosus Chaosus requested a review from a team as a code owner June 25, 2024 12:45
@Chaosus Chaosus force-pushed the shader_custom_func_discard branch 2 times, most recently from 77cea8f to 702020a Compare June 25, 2024 12:54
@Chaosus Chaosus force-pushed the shader_custom_func_discard branch from 702020a to 3b168fb Compare June 25, 2024 13:29
@AThousandShips AThousandShips added this to the 4.x milestone Jun 25, 2024
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.

None yet

2 participants