-
Notifications
You must be signed in to change notification settings - Fork 804
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jira: UUM-79389 ### First issue When this HLSL function is used, the `position` attribute is not recognized ```hlsl void Test(inout VFXAttributes attributes, in float value, in float altSize) { if (attributes.position.y >= value) { attributes.size = altSize; } } ``` In this simple case it does no harm, but in more complex cases it can break the shader compilation. ### Second issue The same function, but with a different formatting is not properly parsed, leading to function's parameters not being identified. ```hlsl void Test(inout VFXAttributes attributes , in float value , in float altSize ) { if (attributes.position.y >= value) { attributes.size = altSize; } } ```
- Loading branch information
1 parent
f9439a5
commit a806f0b
Showing
3 changed files
with
57 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters