simd16vector vClipCullDistLo[3];
simd16vector vClipCullDistHi[3];
- pa.Assemble_simd16(VERTEX_CLIPCULL_DIST_LO_SLOT, vClipCullDistLo);
- pa.Assemble_simd16(VERTEX_CLIPCULL_DIST_HI_SLOT, vClipCullDistHi);
+ pa.Assemble(VERTEX_CLIPCULL_DIST_LO_SLOT, vClipCullDistLo);
+ pa.Assemble(VERTEX_CLIPCULL_DIST_HI_SLOT, vClipCullDistHi);
DWORD index;
while (_BitScanForward(&index, cullMask))
{
#if USE_SIMD16_FRONTEND
simd16vector attrib_simd16[NumVertsPerPrim];
- bool assemble = clipPa.Assemble_simd16(VERTEX_POSITION_SLOT, attrib_simd16);
+ bool assemble = clipPa.Assemble(VERTEX_POSITION_SLOT, attrib_simd16);
if (assemble)
{
// assemble pos
simd16vector tmpVector[NumVertsPerPrim];
- pa.Assemble_simd16(VERTEX_POSITION_SLOT, tmpVector);
+ pa.Assemble(VERTEX_POSITION_SLOT, tmpVector);
for (uint32_t i = 0; i < NumVertsPerPrim; ++i)
{
vertices[i].attrib[VERTEX_POSITION_SLOT] = tmpVector[i];
maxSlot = std::max<int32_t>(maxSlot, mapSlot);
uint32_t inputSlot = backendState.vertexAttribOffset + mapSlot;
- pa.Assemble_simd16(inputSlot, tmpVector);
+ pa.Assemble(inputSlot, tmpVector);
// if constant interpolation enabled for this attribute, assign the provoking
// vertex values to all edges
// assemble user clip distances if enabled
if (this->state.rastState.clipDistanceMask & 0xf)
{
- pa.Assemble_simd16(VERTEX_CLIPCULL_DIST_LO_SLOT, tmpVector);
+ pa.Assemble(VERTEX_CLIPCULL_DIST_LO_SLOT, tmpVector);
for (uint32_t i = 0; i < NumVertsPerPrim; ++i)
{
vertices[i].attrib[VERTEX_CLIPCULL_DIST_LO_SLOT] = tmpVector[i];
if (this->state.rastState.clipDistanceMask & 0xf0)
{
- pa.Assemble_simd16(VERTEX_CLIPCULL_DIST_HI_SLOT, tmpVector);
+ pa.Assemble(VERTEX_CLIPCULL_DIST_HI_SLOT, tmpVector);
for (uint32_t i = 0; i < NumVertsPerPrim; ++i)
{
vertices[i].attrib[VERTEX_CLIPCULL_DIST_HI_SLOT] = tmpVector[i];
do
{
simd16vector attrib[NumVertsPerPrim];
- bool assemble = clipPa.Assemble_simd16(VERTEX_POSITION_SLOT, attrib);
+ bool assemble = clipPa.Assemble(VERTEX_POSITION_SLOT, attrib);
if (assemble)
{
if (state.backendState.readViewportArrayIndex)
{
simd16vector vpiAttrib[NumVertsPerPrim];
- pa.Assemble_simd16(VERTEX_SGV_SLOT, vpiAttrib);
+ pa.Assemble(VERTEX_SGV_SLOT, vpiAttrib);
// OOB indices => forced to zero.
simd16scalari vpai = _simd16_castps_si(vpiAttrib[0][VERTEX_SGV_VAI_COMP]);
#if USE_SIMD16_FRONTEND
simd16vector attrib_simd16[3];
- bool assemble = gsPa.Assemble_simd16(VERTEX_POSITION_SLOT, attrib_simd16);
+ bool assemble = gsPa.Assemble(VERTEX_POSITION_SLOT, attrib_simd16);
#else
bool assemble = gsPa.Assemble(VERTEX_POSITION_SLOT, attrib);
AR_BEGIN(FEPAAssemble, pDC->drawId);
bool assemble =
#if USE_SIMD16_FRONTEND
- tessPa.Assemble_simd16(VERTEX_POSITION_SLOT, prim_simd16);
+ tessPa.Assemble(VERTEX_POSITION_SLOT, prim_simd16);
#else
tessPa.Assemble(VERTEX_POSITION_SLOT, prim);
#endif
simd16vector prim_simd16[MAX_NUM_VERTS_PER_PRIM];
RDTSC_START(FEPAAssemble);
- bool assemble = pa.Assemble_simd16(VERTEX_POSITION_SLOT, prim_simd16);
+ bool assemble = pa.Assemble(VERTEX_POSITION_SLOT, prim_simd16);
RDTSC_STOP(FEPAAssemble, 1, 0);
#if KNOB_ENABLE_TOSS_POINTS
#endif
virtual bool Assemble(uint32_t slot, simdvector verts[]) = 0;
#if ENABLE_AVX512_SIMD16
- virtual bool Assemble_simd16(uint32_t slot, simd16vector verts[]) = 0;
virtual bool Assemble(uint32_t slot, simd16vector verts[]) = 0;
#endif
virtual void AssembleSingle(uint32_t slot, uint32_t primIndex, simd4scalar verts[]) = 0;
}
#if ENABLE_AVX512_SIMD16
- bool Assemble_simd16(uint32_t slot, simd16vector verts[])
- {
- return this->pfnPaFunc_simd16(*this, slot, verts);
- }
-
bool Assemble(uint32_t slot, simd16vector verts[])
{
- return Assemble_simd16(slot, verts);
+ return this->pfnPaFunc_simd16(*this, slot, verts);
}
#endif
}
#if ENABLE_AVX512_SIMD16
- bool Assemble_simd16(uint32_t slot, simd16vector verts[])
+ bool Assemble(uint32_t slot, simd16vector verts[])
{
// process any outstanding verts
ProcessVerts();
return true;
}
- bool Assemble(uint32_t slot, simd16vector verts[])
- {
- return Assemble_simd16(slot, verts);
- }
-
#endif
void AssembleSingle(uint32_t slot, uint32_t triIndex, simd4scalar tri[3])
{
}
#if ENABLE_AVX512_SIMD16
- bool Assemble_simd16(uint32_t slot, simd16vector verts[])
+ bool Assemble(uint32_t slot, simd16vector verts[])
{
SWR_ASSERT(slot < m_numAttributes);
return true;
}
- bool Assemble(uint32_t slot, simd16vector verts[])
- {
- return Assemble_simd16(slot, verts);
- }
-
#endif
void AssembleSingle(uint32_t slot, uint32_t primIndex, simd4scalar verts[])
{