[GPU] Up to 7x7 resolution scaling
This commit is contained in:
@@ -39,7 +39,7 @@ xesl_entry_inputs_end_code_begin_compute
|
||||
XeEdramOffsetInts(
|
||||
xesl_uint2(pixel_index.x,
|
||||
max(pixel_index.y,
|
||||
uint(resolve_info.duplicate_second_host_pixel.y))) +
|
||||
resolve_info.half_pixel_offset_fill_source.y)) +
|
||||
resolve_info.edram_offset_scaled,
|
||||
resolve_info.edram_base_tiles, resolve_info.edram_pitch_tiles,
|
||||
resolve_info.edram_msaa_samples, false, 1u,
|
||||
@@ -50,7 +50,15 @@ xesl_entry_inputs_end_code_begin_compute
|
||||
xesl_typedStorageBufferLoad(xe_resolve_edram, source_address_int4s);
|
||||
xesl_uint4 pixels_23 =
|
||||
xesl_typedStorageBufferLoad(xe_resolve_edram, source_address_int4s + 1u);
|
||||
if (resolve_info.duplicate_second_host_pixel.x && pixel_index.x == 0u) {
|
||||
xesl_dont_flatten
|
||||
if (pixel_index.x == 0u &&
|
||||
resolve_info.half_pixel_offset_fill_source.x != 0u) {
|
||||
if (resolve_info.half_pixel_offset_fill_source.x >= 2u) {
|
||||
if (resolve_info.half_pixel_offset_fill_source.x >= 3u) {
|
||||
pixels_23.xy = pixels_23.zw;
|
||||
}
|
||||
pixels_01.zw = pixels_23.xy;
|
||||
}
|
||||
pixels_01.xy = pixels_01.zw;
|
||||
}
|
||||
XeResolveSwap4PixelsRedBlue64bpp(resolve_info, pixels_01, pixels_23);
|
||||
|
||||
Reference in New Issue
Block a user