Image / Texture Memory Instructions
142 AMDGPU instructions in this category - showing 42 per page, page 2 of 2 - click any row for encoding, pseudocode, and full documentation.
| Mnemonic | Syntax | Format | Summary |
|---|---|---|---|
| image_sample_c_l | image_sample_c_l | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for PCF, LOD are provided by the address registers. |
| image_sample_c_l_o | image_sample_c_l_o | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for PCF, LOD, user offsets are provided by the address registers. |
| image_sample_c_lz | image_sample_c_lz | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for PCF are provided by the address registers. Mipmap level is set to zero. |
| image_sample_c_lz_o | image_sample_c_lz_o | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for PCF, user offsets are provided by the address registers. Mipmap level is set to zero. |
| image_sample_c_o | image_sample_c_o | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for PCF, user offsets are provided by the address registers. |
| image_sample_cd | image_sample_cd | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for coarse derivatives are provided by the address registers. |
| image_sample_cd_cl | image_sample_cd_cl | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for coarse derivatives, LOD clamp are provided by the address registers. |
| image_sample_cd_cl_g16 | image_sample_cd_cl_g16 | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for coarse derivatives, LOD clamp, 16-bit derivatives are provided by the address registers. |
| image_sample_cd_cl_o | image_sample_cd_cl_o | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for coarse derivatives, LOD clamp, user offsets are provided by the address registers. |
| image_sample_cd_cl_o_g16 | image_sample_cd_cl_o_g16 | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for coarse derivatives, LOD clamp, user offsets, 16-bit derivatives are provided by the address registers. |
| image_sample_cd_g16 | image_sample_cd_g16 | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for coarse derivatives, 16-bit derivatives are provided by the address registers. |
| image_sample_cd_o | image_sample_cd_o | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for coarse derivatives, user offsets are provided by the address registers. |
| image_sample_cd_o_g16 | image_sample_cd_o_g16 | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for coarse derivatives, user offsets, 16-bit derivatives are provided by the address registers. |
| image_sample_cl | image_sample_cl | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for LOD clamp are provided by the address registers. |
| image_sample_cl_o | image_sample_cl_o | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for LOD clamp, user offsets are provided by the address registers. |
| image_sample_d | image_sample_d | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for user derivatives are provided by the address registers. |
| image_sample_d_cl | image_sample_d_cl | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for user derivatives, LOD clamp are provided by the address registers. |
| image_sample_d_cl_g16 | image_sample_d_cl_g16 | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for LOD clamp, 16-bit derivatives are provided by the address registers. |
| image_sample_d_cl_o | image_sample_d_cl_o | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for user derivatives, LOD clamp, user offsets are provided by the address registers. |
| image_sample_d_cl_o_g16 | image_sample_d_cl_o_g16 | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for LOD clamp, user offsets, 16-bit derivatives are provided by the address registers. |
| image_sample_d_g16 | image_sample_d_g16 | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for 16-bit derivatives are provided by the address registers. |
| image_sample_d_o | image_sample_d_o | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for user derivatives, user offsets are provided by the address registers. |
| image_sample_d_o_g16 | image_sample_d_o_g16 | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for user offsets, 16-bit derivatives are provided by the address registers. |
| image_sample_l | image_sample_l | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for LOD are provided by the address registers. |
| image_sample_l_o | image_sample_l_o | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for LOD, user offsets are provided by the address registers. |
| image_sample_lz | image_sample_lz | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for are provided by the address registers. Mipmap level is set to zero. |
| image_sample_lz_o | image_sample_lz_o | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for user offsets are provided by the address registers. Mipmap level is set to zero. |
| image_sample_o | image_sample_o | MIMG | Sample texels from an image surface using texel coordinates provided by the address input registers and store the result into vector registers. Additional data for user offsets are provided by the address registers. |
| image_store | image_store | MIMG | Store a texel from a vector register to the largest miplevel in an image surface. The texel data is converted using the format conversion specified by the resource descriptor prior to storage. |
| image_store_by2 | image_store_by2 | MIMG | Store 2 horizontal elements from a vector register to the largest miplevel in an image surface. The texel data is converted using the format conversion specified by the resource descriptor prior to storage. Illegal for formats with more than 2 components. |
| image_store_by4 | image_store_by4 | MIMG | Store 4 horizontal elements from a vector register to the largest miplevel in an image surface. The texel data is converted using the format conversion specified by the resource descriptor prior to storage. Illegal for formats with more than 1 component. |
| image_store_mip | image_store_mip | MIMG | Store a texel from a vector register to a user-specified miplevel in an image surface. The texel data is converted using the format conversion specified by the resource descriptor prior to storage. |
| image_store_mip_by2 | image_store_mip_by2 | MIMG | Store 2 horizontal elements from a vector register to a user-specified miplevel in an image surface. The texel data is converted using the format conversion specified by the resource descriptor prior to storage. Illegal for formats with more than 2 components. |
| image_store_mip_by4 | image_store_mip_by4 | MIMG | Store 4 horizontal elements from a vector register to a user-specified miplevel in an image surface. The texel data is converted using the format conversion specified by the resource descriptor prior to storage. Illegal for formats with more than 1 component. |
| image_store_mip_pck | image_store_mip_pck | MIMG | Store a texel from a vector register to a user-specified miplevel in an image surface. The texel data is already packed and the format specified in the resource descriptor is ignored. |
| image_store_mip_pck2 | image_store_mip_pck2 | MIMG | Store 2 horizontal elements from a vector register to a user-specified miplevel in an image surface. The texel data is already packed and the format specified in the resource descriptor is ignored. Illegal for element sizes greater than 64 bits. |
| image_store_mip_pck4 | image_store_mip_pck4 | MIMG | Store 4 horizontal elements from a vector register to a user-specified miplevel in an image surface. The texel data is already packed and the format specified in the resource descriptor is ignored. Illegal for element sizes greater than 32 bits. |
| image_store_pck | image_store_pck | MIMG | Store a texel from a vector register to the largest miplevel in an image surface. The texel data is already packed and the format specified in the resource descriptor is ignored. |
| image_store_pck2 | image_store_pck2 | MIMG | Store 2 horizontal elements from a vector register to the largest miplevel in an image surface. The texel data is already packed and the format specified in the resource descriptor is ignored. Illegal for element sizes greater than 64 bits. |
| image_store_pck4 | image_store_pck4 | MIMG | Store 4 horizontal elements from a vector register to the largest miplevel in an image surface. The texel data is already packed and the format specified in the resource descriptor is ignored. Illegal for element sizes greater than 32 bits. |
| tensor_load_to_lds | tensor_load_to_lds | MIMG | DMA instruction to load tensor data from Global to LDS. |
| tensor_store_from_lds | tensor_store_from_lds | MIMG | DMA instruction to store tensor data to Global from LDS. |