[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:
@@ -39,7 +39,7 @@ entry_inputs_end_code_begin_compute_xe
|
||||
load_info.host_offset) >> 4u);
|
||||
uint elements_pitch_host = load_info.host_pitch >> 4u;
|
||||
uint block_offset_guest =
|
||||
XeTextureLoadGuestBlockOffset(load_info, block_index, 16u, 4u) >> 4u;
|
||||
XeTextureLoadSourceAddress(load_info, block_index, 4u) >> 4u;
|
||||
uint i;
|
||||
unroll_xe for (i = 0u; i < 2u; ++i) {
|
||||
if (i != 0u) {
|
||||
|
||||
Reference in New Issue
Block a user