mirror of https://github.com/RPCS3/rpcs3.git
rsx: implement pixel size 16.
This commit is contained in:
parent
c85806c422
commit
37bc2b3bb9
|
@ -179,6 +179,9 @@ namespace rsx
|
||||||
case 8:
|
case 8:
|
||||||
scale_image_fallback_impl<u64, u64>((u64*)dst, (const u64*)src, src_width, src_height, dst_pitch, src_pitch, pixel_size, samples);
|
scale_image_fallback_impl<u64, u64>((u64*)dst, (const u64*)src, src_width, src_height, dst_pitch, src_pitch, pixel_size, samples);
|
||||||
break;
|
break;
|
||||||
|
case 16:
|
||||||
|
scale_image_fallback_impl<u128, u128>((u128*)dst, (const u128*)src, src_width, src_height, dst_pitch, src_pitch, pixel_size, samples);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
fmt::throw_exception("unsupported pixel size %d" HERE, pixel_size);
|
fmt::throw_exception("unsupported pixel size %d" HERE, pixel_size);
|
||||||
}
|
}
|
||||||
|
@ -200,6 +203,9 @@ namespace rsx
|
||||||
case 8:
|
case 8:
|
||||||
scale_image_fallback_impl<u64, be_t<u64>>((u64*)dst, (const be_t<u64>*)src, src_width, src_height, dst_pitch, src_pitch, pixel_size, samples);
|
scale_image_fallback_impl<u64, be_t<u64>>((u64*)dst, (const be_t<u64>*)src, src_width, src_height, dst_pitch, src_pitch, pixel_size, samples);
|
||||||
break;
|
break;
|
||||||
|
case 16:
|
||||||
|
scale_image_fallback_impl<u128, be_t<u128>>((u128*)dst, (const be_t<u128>*)src, src_width, src_height, dst_pitch, src_pitch, pixel_size, samples);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
fmt::throw_exception("unsupported pixel size %d" HERE, pixel_size);
|
fmt::throw_exception("unsupported pixel size %d" HERE, pixel_size);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue