Skip to content

Conversation

@ghostsoft
Copy link

In the same manner that #89752 fixed three of these false positive errors, I have added those same checks to is_discard_supported and is_supported_frag_only_funcs which contain several more functions that will error when used in a .gdshaderinc file (such as discard, dFdx, etc.) From what I can tell that should be all the false positives and .gdshaderinc files should no longer throw errors of the "not supported for the '' shader type" kind.

Fixes #108937

@ghostsoft ghostsoft requested a review from a team as a code owner November 8, 2025 17:42
@Chaosus Chaosus added this to the 4.6 milestone Nov 9, 2025
Copy link
Member

@Chaosus Chaosus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks correct for me..

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.

Using derivatives in shader include file prints an error

2 participants