From 5f4bc9e85b2afe1fd592ef4cd9f94567ef4b22b6 Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Tue, 26 Jul 2016 12:32:14 -0600 Subject: [PATCH] swr: [rasterizer fetch] add support for 24bit format fetch Signed-off-by: Tim Rowley --- src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.30.2