mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-23 12:10:08 +00:00
fix boundary bug of GLSL/GLSLXFB kernels.
This commit is contained in:
parent
0ca61278a5
commit
0178b09a38
@ -81,7 +81,7 @@ void computeStencil() {
|
||||
|
||||
int current = int(gl_GlobalInvocationID.x) + batchStart;
|
||||
|
||||
if (current>batchEnd) {
|
||||
if (current>=batchEnd) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -86,7 +86,7 @@ void computeStencil() {
|
||||
|
||||
int current = gl_VertexID + batchStart;
|
||||
|
||||
if (current>batchEnd) {
|
||||
if (current>=batchEnd) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user