One of the things I noticed when running an older driver version was that old drivers dont fully support certain features. It may not be that useful to support these older drivers but in this case it was easy to fix. So most modern drivers support copying data using unrestricted buffer pitch which is why the 256B alignment code was removed. In order to support older drivers I added the code back in but wrapped it in a device check that checks for unrestricted buffer pitch support and use fallback if unsupported.
One of the things I noticed when running an older driver version was that old drivers dont fully support certain features. It may not be that useful to support these older drivers but in this case it was easy to fix. So most modern drivers support copying data using unrestricted buffer pitch which is why the 256B alignment code was removed. In order to support older drivers I added the code back in but wrapped it in a device check that checks for unrestricted buffer pitch support and use fallback if unsupported.