[mc] image_gather4/load/get/sample* -- issues with modifiers, with vgpr_a size etc.
| Bugzilla Link | 28244 |
| Version | trunk |
| OS | Windows NT |
| Attachments | 00123.tests_tg_gfx7_asm_lit1_bug.06.08.min.image_gather_etc-modifiers.zip - TESTS SHALL BE VERIFIED |
| CC | @atamazov,@dpreobra |
Extended Description
Preliminary information on failures (to be verified).
The following ones have problems with some combinations of modifiers:
image_gather4* image_load image_load_mip image_get_lod image_get_resinfo image_sample image_sample_b image_sample_b_cl image_sample_c image_sample_c_b image_sample_c_b_cl image_sample_c_cd image_sample_c_cl image_sample_c_d image_sample_c_l image_sample_c_lz image_sample_cl image_sample_l image_sample_lz
In the following ones, vgpr_a should have 11 elements while assembler expects 4:
image_sample_d_cl_o image_sample_d_o image_sample_cd_cl_o image_sample_cd_o image_sample_c_d_cl_o image_sample_c_d_o image_sample_c_cd_cl_o image_sample_c_cd_o
Here, vgpr_a should have 10 elements while assembler expects 4:
image_sample_d image_sample_cd image_sample_d_cl image_sample_cd_cl image_sample_c_d_cl image_sample_c_cd_cl
Similarly, vgpr_a should have 5 elements while assembler expects 4:
image_sample_b_cl_o image_sample_b_o image_sample_c_b_cl_o image_sample_c_b_o image_sample_c_cl_o image_sample_c_l_o image_sample_c_lz_o image_sample_c_o image_sample_cl_o image_sample_l_o image_sample_lz_o image_sample_o
The issue needs to be carefully verified/investigated.
Some GFX7 lit tests attached (both failing and passing ones). These tests are not guaranteed to be valid, though.
Tested with r273139 (git # 4a94acfea8bfd6eb6b5809dd40f03e1fa42e673a)
fixed