Fix mistakenly deleted memory barrier in glsl compute kernel.

This commit is contained in:
Takahito Tejima 2014-05-09 21:16:04 -07:00
parent 9424784fe5
commit 727077a8e0

View File

@ -187,6 +187,7 @@ OsdGLSLComputeKernelBundle::dispatchCompute(
// resulting invalid vertices.
// Apparently adding TEXTURE_FETCH_BARRIER after face kernel fixes it.
// The workaroud is commented out, since it looks fixed at driver 334.xx.
glMemoryBarrier(GL_SHADER_STORAGE_BARRIER_BIT);
}
void