Changes between Version 13 and Version 14 of GcnMemHandling
- Timestamp:
- 12/29/17 09:00:33 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GcnMemHandling
v13 v14 1485 1485 </table> 1486 1486 <h3>Image addressing</h3> 1487 <p>The main addressing rules for the images are defined by thetiling registers.1487 <p>The main addressing rules for images are defined by tiling registers. 1488 1488 The TILINGINDEX choose what register control addressing of image. Index 8 (by default) 1489 choose the linear access. In the most cases images are splitted into t he tiles which1489 choose the linear access. In the most cases images are splitted into tiles which 1490 1490 organizes image's data in efficient manner for GPU memory subsystem. Unfortunatelly, 1491 the fields of atiling registers and their meanigful are not known (for me).</p>1491 fields of tiling registers and their meanigful are not known (for me).</p> 1492 1492 <p>The address of image's pixel is stored in VADDR registers. Number of used registers and 1493 1493 data type depends on the instruction type and image type. Following table describes … … 1608 1608 <li>lod - for IMAGE_*_L - LOD</li> 1609 1609 </ul> 1610 <p>The LOD (Level of details) parameter choose MIPMAP: just aLOD reflects mipmap index.1610 <p>The LOD (Level of details) parameter choose MIPMAP: just the LOD reflects mipmap index. 1611 1611 By default, LOD are calculated as maximum value of image's MIN_LOD and sampler's MIN_LOD. 1612 1612 The linear MIP filtering get value from two nearest mipmaps to choosen LOD.</p> 1613 1613 <p>About accuracy: Threshold of coordinates for image's sampling are 1/256 of distance 1614 1614 between pixels.</p> 1615 <p>The sampling of themipmaps requires normalized coordinates.</p>1615 <p>The sampling of mipmaps requires normalized coordinates.</p> 1616 1616 <h3>Flat addressing</h3> 1617 1617 <p>By default, FLAT instructions read or write values from main memory.