[GPU] Simplify local X offsetting with resolution scaling
Switch between even and odd 16-byte element sequences along X by simply flipping a bit rather than going to a different resolution-scaled group of pixels, by increasing the size of the group within the constraints imposed by tiling.
This commit is contained in:
@@ -62,8 +62,7 @@ entry_inputs_end_code_begin_compute_xe
|
||||
array_buffer_store_xe(
|
||||
xe_resolve_dest, dest_address,
|
||||
XeEndianSwap64(packed_01, resolve_info.dest_endian_128));
|
||||
dest_address += XeResolveDestRightConsecutiveBlocksOffset(
|
||||
pixel_index.x, 3u, resolve_info.resolution_scale) >> 4u;
|
||||
dest_address += XeResolveLocalXAddressXor(2u, 3u) >> 4u;
|
||||
array_buffer_store_xe(
|
||||
xe_resolve_dest, dest_address,
|
||||
XeEndianSwap64(packed_23, resolve_info.dest_endian_128));
|
||||
|
||||
Reference in New Issue
Block a user