forked from AcademySoftwareFoundation/OpenShadingLanguage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make backfacing shadeop indicate backfacing shader-global is needed
The backfacing shadeop now directly accesses the backfacing field on the shader globals rather than calculating it from N and I. This updates the shader-globals-needed query to reflect that change. Signed-off-by: Stephen Friedman <[email protected]>
- Loading branch information
1 parent
ba775bf
commit 1c58183
Showing
2 changed files
with
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Need 2 globals: I N | ||
Need 1 globals: backfacing | ||
Need 2 globals: P flipHandedness |