Module: Mesa Branch: master Commit: 5f4bc9e85b2afe1fd592ef4cd9f94567ef4b22b6 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f4bc9e85b2afe1fd592ef4cd9f94567ef4b22b6
Author: Tim Rowley <[email protected]> Date: Tue Jul 26 12:32:14 2016 -0600 swr: [rasterizer fetch] add support for 24bit format fetch Signed-off-by: Tim Rowley <[email protected]> --- 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 59ae43a..2c2d68e 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); } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
