mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-26 21:40:07 +00:00
Workaround GLSL shader compiler on AMD
Added a size specifier to the shader output array declaration in the BSpline control shader. This seems to be required by the GLSL compiler on AMD and is harmless elsewhere.
This commit is contained in:
parent
d470bc81b9
commit
99b214ca92
@ -59,7 +59,7 @@ in block {
|
||||
out block {
|
||||
OsdPerPatchVertexBezier v;
|
||||
OSD_USER_VARYING_DECLARE
|
||||
} outpt[];
|
||||
} outpt[16];
|
||||
|
||||
layout(vertices = 16) out;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user