Mesa (master): swr: [rasterizer fetch] add support for 24bit format fetch
Tim Rowley
torowley at kemper.freedesktop.org
Thu Aug 4 19:57:12 UTC 2016
Module: Mesa
Branch: master
Commit: 5f4bc9e85b2afe1fd592ef4cd9f94567ef4b22b6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f4bc9e85b2afe1fd592ef4cd9f94567ef4b22b6
Author: Tim Rowley <timothy.o.rowley at intel.com>
Date: Tue Jul 26 12:32:14 2016 -0600
swr: [rasterizer fetch] add support for 24bit format fetch
Signed-off-by: Tim Rowley <timothy.o.rowley at intel.com>
---
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);
}
More information about the mesa-commit
mailing list