void OsdGcdComputeController::ApplyLoopVertexVerticesKernelA2( FarKernelBatch const &batch, OsdCpuComputeContext const *context) const { assert(context); OsdGcdComputeVertexA( _currentBindState.vertexBuffer, _currentBindState.varyingBuffer, _currentBindState.vertexDesc, _currentBindState.varyingDesc, (const int*)context->GetTable(FarSubdivisionTables::V_ITa)->GetBuffer(), (const float*)context->GetTable(FarSubdivisionTables::V_W)->GetBuffer(), batch.GetVertexOffset(), batch.GetTableOffset(), batch.GetStart(), batch.GetEnd(), true, _gcd_queue); }
void OsdGcdComputeController::ApplyLoopVertexVerticesKernelA1( FarKernelBatch const &batch, OsdCpuComputeContext *context) const { assert(context); OsdGcdComputeVertexA( context->GetVertexDescriptor(), context->GetCurrentVertexBuffer(), context->GetCurrentVaryingBuffer(), (const int*)context->GetTable(FarSubdivisionTables::V_ITa)->GetBuffer(), (const float*)context->GetTable(FarSubdivisionTables::V_W)->GetBuffer(), batch.GetVertexOffset(), batch.GetTableOffset(), batch.GetStart(), batch.GetEnd(), false, _gcd_queue); }
void OsdGcdComputeController::ApplyLoopVertexVerticesKernelA2( FarKernelBatch const &batch, void * clientdata) const { OsdCpuComputeContext * context = static_cast<OsdCpuComputeContext*>(clientdata); assert(context); OsdGcdComputeVertexA( context->GetVertexDescriptor(), context->GetCurrentVertexBuffer(), context->GetCurrentVaryingBuffer(), (const int*)context->GetTable(Table::V_ITa)->GetBuffer(), (const float*)context->GetTable(Table::V_W)->GetBuffer(), batch.vertexOffset, batch.tableOffset, batch.start, batch.end, true, _gcd_queue); }
void OsdGcdComputeController::ApplyCatmarkVertexVerticesKernelA2( FarKernelBatch const &batch, void * clientdata) const { OsdCpuComputeContext * context = static_cast<OsdCpuComputeContext*>(clientdata); assert(context); OsdGcdComputeVertexA( context->GetVertexDescriptor(), context->GetCurrentVertexBuffer(), context->GetCurrentVaryingBuffer(), (const int*)context->GetTable(FarSubdivisionTables<OsdVertex>::V_ITa)->GetBuffer(), (const float*)context->GetTable(FarSubdivisionTables<OsdVertex>::V_W)->GetBuffer(), batch.GetVertexOffset(), batch.GetTableOffset(), batch.GetStart(), batch.GetEnd(), true, _gcd_queue); }