ppoMask->setName("ppoMask");
Value* ppMask = LOAD(pBlendContext, { 0, SWR_BLEND_CONTEXT_pMask });
ppMask->setName("pMask");
- Value* AlphaTest1 = LOAD(pBlendContext, { 0, SWR_BLEND_CONTEXT_isAlphaBlended });
- ppMask->setName("AlphaTest1");
static_assert(KNOB_COLOR_HOT_TILE_FORMAT == R32G32B32A32_FLOAT, "Unsupported hot tile format");
Value* dst[4];
Value* FetchJit::GetSimdValid32bitIndices(Value* pIndices, Value* pLastIndex)
{
DataLayout dL(JM()->mpCurrentModule);
- unsigned int ptrSize = dL.getPointerSize() * 8; // ptr size in bits
Value* iLastIndex = pLastIndex;
Value* iIndices = pIndices;
// intrinsic.
void GetRequestedWidthAndType(CallInst* pCallInst, const StringRef intrinName, TargetWidth* pWidth, Type** pTy)
{
- uint32_t vecWidth;
Type* pVecTy = pCallInst->getType();
// Check for intrinsic specific types
{
case W256: numElem = 8; break;
case W512: numElem = 16; break;
+ default: SWR_ASSERT(false, "Unhandled vector width type %d\n", width);
}
return ConstantVector::getNullValue(VectorType::get(pTy, numElem));
{
case W256: mask = B->C((uint8_t)-1); break;
case W512: mask = B->C((uint16_t)-1); break;
+ default: SWR_ASSERT(false, "Unhandled vector width type %d\n", width);
}
return mask;
}