[XeSL] xesl_write*Store > xesl_*Store

This commit is contained in:
Triang3l
2022-06-24 23:37:29 +03:00
parent 7a4732e14f
commit f4a634c617
29 changed files with 89 additions and 95 deletions

View File

@@ -44,10 +44,10 @@ xesl_entry_inputs_end_code_begin_compute
load_info.endian_32);
xesl_uint4 block_0, block_1;
XE_TEXTURE_LOAD_32BPB_TO_64BPB(guest_blocks, block_0, block_1);
xesl_writeTypedStorageBufferStore(xe_texture_load_dest, block_offset_host,
block_0);
xesl_writeTypedStorageBufferStore(xe_texture_load_dest,
block_offset_host + 1u, block_1);
xesl_typedStorageBufferStore(xe_texture_load_dest, block_offset_host,
block_0);
xesl_typedStorageBufferStore(xe_texture_load_dest, block_offset_host + 1u,
block_1);
block_offset_guest +=
XeTextureLoadRightConsecutiveBlocksOffset(load_info, block_index.x, 2u) >>
4u;
@@ -55,8 +55,8 @@ xesl_entry_inputs_end_code_begin_compute
xesl_typedStorageBufferLoad(xe_texture_load_source, block_offset_guest),
load_info.endian_32);
XE_TEXTURE_LOAD_32BPB_TO_64BPB(guest_blocks, block_0, block_1);
xesl_writeTypedStorageBufferStore(xe_texture_load_dest,
block_offset_host + 2u, block_0);
xesl_writeTypedStorageBufferStore(xe_texture_load_dest,
block_offset_host + 3u, block_1);
xesl_typedStorageBufferStore(xe_texture_load_dest, block_offset_host + 2u,
block_0);
xesl_typedStorageBufferStore(xe_texture_load_dest, block_offset_host + 3u,
block_1);
xesl_entry_code_end_compute