Merge pull request #748 from davidgyu/assertFix

Fixed out of bounds mem access for OMP and TBB
This commit is contained in:
Jeremy Cowles 2015-09-30 13:41:53 -07:00
commit caaff5d85b
2 changed files with 6 additions and 0 deletions

View File

@ -79,6 +79,9 @@ public:
(void)instance; // unused
(void)deviceContext; // unused
if (stencilTable->GetNumStencils() == 0)
return false;
return EvalStencils(srcBuffer->BindCpuBuffer(), srcDesc,
dstBuffer->BindCpuBuffer(), dstDesc,
&stencilTable->GetSizes()[0],

View File

@ -80,6 +80,9 @@ public:
(void)instance; // unused
(void)deviceContext; // unused
if (stencilTable->GetNumStencils() == 0)
return false;
return EvalStencils(srcBuffer->BindCpuBuffer(), srcDesc,
dstBuffer->BindCpuBuffer(), dstDesc,
&stencilTable->GetSizes()[0],