-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates for OSL shader generation (#2153)
This changelist updates OSL shader generation to account for recent feature contributions (e.g. worleynoise, geompropvalueuniform), allowing render comparisons to complete successfully.
- Loading branch information
1 parent
cab1b26
commit 73f5f39
Showing
7 changed files
with
8 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
void mx_worleynoise2d_float(vector2 texcoord, float jitter, output float result) | ||
void mx_worleynoise2d_float(vector2 texcoord, float jitter, int style, output float result) | ||
{ | ||
result = mx_worley_noise_float(texcoord, jitter, 0); | ||
} |
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,4 +1,4 @@ | ||
void mx_worleynoise2d_vector2(vector2 texcoord, float jitter, output vector2 result) | ||
void mx_worleynoise2d_vector2(vector2 texcoord, float jitter, int style, output vector2 result) | ||
{ | ||
result = mx_worley_noise_vector2(texcoord, jitter, 0); | ||
} |
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,4 +1,4 @@ | ||
void mx_worleynoise2d_vector3(vector2 texcoord, float jitter, output vector result) | ||
void mx_worleynoise2d_vector3(vector2 texcoord, float jitter, int style, output vector result) | ||
{ | ||
result = mx_worley_noise_vector3(texcoord, jitter, 0); | ||
} |
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,4 +1,4 @@ | ||
void mx_worleynoise3d_float(vector position, float jitter, output float result) | ||
void mx_worleynoise3d_float(vector position, float jitter, int style, output float result) | ||
{ | ||
result = mx_worley_noise_float(position, jitter, 0); | ||
} |
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,4 +1,4 @@ | ||
void mx_worleynoise3d_vector2(vector position, float jitter, output vector2 result) | ||
void mx_worleynoise3d_vector2(vector position, float jitter, int style, output vector2 result) | ||
{ | ||
result = mx_worley_noise_vector2(position, jitter, 0); | ||
} |
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,4 +1,4 @@ | ||
void mx_worleynoise3d_vector3(vector position, float jitter, output vector result) | ||
void mx_worleynoise3d_vector3(vector position, float jitter, int style, output vector result) | ||
{ | ||
result = mx_worley_noise_vector3(position, jitter, 0); | ||
} |
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