swr: [rasterizer fetch] add support for 24bit format fetch

Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
This commit is contained in:
Tim Rowley
2016-07-26 12:32:14 -06:00
parent 527d45c8fe
commit 5f4bc9e85b
@@ -578,6 +578,7 @@ void FetchJit::CreateGatherOddFormats(SWR_FORMAT format, Value* pBase, Value* of
{
case 8: load = POINTER_CAST(load, Type::getInt8PtrTy(JM()->mContext)); break;
case 16: load = POINTER_CAST(load, Type::getInt16PtrTy(JM()->mContext)); break;
case 24:
case 32: load = POINTER_CAST(load, Type::getInt32PtrTy(JM()->mContext)); break;
default: SWR_ASSERT(0);
}