mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-08 13:30:04 +00:00
Removed 'centroid' qualifier from GLSL struct
This is not valid (See GLSLang Spec, Sec 4.3) and raises shader compile time errors with some recent drivers.
This commit is contained in:
parent
1cb5494c59
commit
76841aefa3
@ -97,8 +97,8 @@ struct OutputVertex {
|
||||
vec3 normal;
|
||||
vec3 tangent;
|
||||
vec3 bitangent;
|
||||
centroid vec4 patchCoord; // u, v, faceLevel, faceId
|
||||
centroid vec2 tessCoord; // tesscoord.st
|
||||
vec4 patchCoord; // u, v, faceLevel, faceId
|
||||
vec2 tessCoord; // tesscoord.st
|
||||
#if defined OSD_COMPUTE_NORMAL_DERIVATIVES
|
||||
vec3 Nu;
|
||||
vec3 Nv;
|
||||
|
Loading…
Reference in New Issue
Block a user