From: Tim Rowley Date: Tue, 26 Jul 2016 18:32:14 +0000 (-0600) Subject: swr: [rasterizer fetch] add support for 24bit format fetch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f4bc9e85b2afe1fd592ef4cd9f94567ef4b22b6;p=mesa.git swr: [rasterizer fetch] add support for 24bit format fetch Signed-off-by: Tim Rowley --- diff --git a/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp b/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp index 59ae43ac646..2c2d68eb592 100644 --- a/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp +++ b/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp @@ -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); }