mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-08 13:30:04 +00:00
Fixed a typo in MTLPatchShaderSource
This fixes a shader compile error when enabling the OPENSUBDIV_GREGORY_EVAL_TRUE_DERIVATIVES option.
This commit is contained in:
parent
a65c7aca61
commit
58d867feea
@ -103,7 +103,7 @@ namespace OpenSubdiv {
|
||||
std::stringstream ss;
|
||||
ss << "#define OSD_PATCH_BASIS_METAL 1\n";
|
||||
#if defined(OPENSUBDIV_GREGORY_EVAL_TRUE_DERIVATIVES)
|
||||
ss << "define OPENSUBDIV_GREGORY_EVAL_TRUE_DERIVATIVES 1\n";
|
||||
ss << "#define OPENSUBDIV_GREGORY_EVAL_TRUE_DERIVATIVES 1\n";
|
||||
#endif
|
||||
ss << patchBasisShaderSource;
|
||||
return ss.str();
|
||||
|
Loading…
Reference in New Issue
Block a user