diff options
author | Tim Rowley <[email protected]> | 2016-07-26 12:32:14 -0600 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2016-08-04 14:38:34 -0500 |
commit | 5f4bc9e85b2afe1fd592ef4cd9f94567ef4b22b6 (patch) | |
tree | b8b232fd3f678d2285934834ad671536186864ba /src/gallium/drivers | |
parent | 527d45c8fe4250e5daa819997cc37ed1ab7fd56c (diff) |
swr: [rasterizer fetch] add support for 24bit format fetch
Signed-off-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |