Changes between Version 16 and Version 17 of GcnMemHandling


Ignore:
Timestamp:
02/16/25 09:00:42 (4 weeks ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GcnMemHandling

    v16 v17  
    408408        AOFFSET_MSB * ELEMSIZE)</code></p>
    409409<p>The expression to calculate element size (ELEMSIZE) from ELEMSIZE field of a
    410 buffer resource is: 2&lt;&lt;ELEMSIZE. The expression to calculate index stride (INDEXSTRIDE)
    411 from INDEXSTRIDE field of buffer resource is: 8&lt;&lt;INDEXSTRIDE.</p>
     410buffer resource is: '2&lt;&lt;ELEMSIZE'. The expression to calculate index stride (INDEXSTRIDE)
     411from INDEXSTRIDE field of buffer resource is: '8&lt;&lt;INDEXSTRIDE'.</p>
    412412<p>The 64-bit addressing can be enabled by set ADDR64 flag in instruction. In this case,
    413 two VADDR registers contains an address. Expression to calculate address in this case:</p>
     413two VADDR registers contain an address. Expression to calculate address in this case:</p>
    414414<p><code>ADDRESS = BASE + VGPR_ADDRESS + OFFSET + SGPR_OFFSET // 64-bit addressing</code></p>
    415415<p>No range checking for 64-bit mode addressing.</p>
     
    602602</tbody>
    603603</table>
    604 <p>The 1D images requires only width parameter.
    605 The 2D images requires only width and height parameters. Pitch is optional.
    606 The array of 1D images requires width, depth (for number of slices),
     604<p>The 1D images require only width parameter.
     605The 2D images require only width and height parameters. Pitch is optional.
     606The array of 1D images require width, depth (for number of slices),
    607607base and last array (BASEARRAY and LASTARRAY) indices for slices.
    608 The array of 2D images requires width, height, depth (for number of slices),
     608The array of 2D images require width, height, depth (for number of slices),
    609609base and last array (BASEARRAY and LASTARRAY) indices for slices.
    610 The 3D array images requires width, height and depth.
    611 The 2D cubes requires width, height and base and last array indices of slices.
     610The 3D array images require width, height and depth.
     611The 2D cubes require width, height and base and last array indices of slices.
    612612The mipmaps are defined by setting base and last level (BASE_LEVEL and LAST_LEVEL).</p>
    613613<p>The image types list.</p>
     
    16131613<p>About accuracy: Threshold of coordinates for image's sampling are 1/256 of distance
    16141614between pixels.</p>
    1615 <p>The sampling of the mipmaps requires normalized coordinates.</p>
     1615<p>The sampling of the mipmaps require normalized coordinates.</p>
    16161616<h3>Flat addressing</h3>
    16171617<p>By default, FLAT instructions read or write values from main memory.