Changes between Version 14 and Version 15 of GcnInstrsMimg


Ignore:
Timestamp:
01/17/16 21:00:28 (8 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GcnInstrsMimg

    v14 v15  
    10391039</table>
    10401040<h3>Suffix instruction meaning</h3>
    1041 <p>Following describes suffixes for IMAGE_SAMPLE_<em> and IMAGE_GATHER4_</em> instructions:</p>
     1041<p>Following describes suffixes for IMAGE_SAMPLE_* and IMAGE_GATHER4_* instructions:</p>
    10421042<table>
    10431043<thead>
     
    14661466for (BYTE i = 0; i &lt; BIT_CNT(DMASK); i++)
    14671467    VDATA[i] = SEXT(VDATA[i], COMPBITS)</code></p>
    1468 <h4>IMAGE_SAMPLER</h4>
     1468<h4>IMAGE_SAMPLE</h4>
    14691469<p>Opcode: 32 (0x20)<br />
    1470 Syntax: IMAGE_SAMPLER VDATA(1:4), VADDR(1:4), SRSRC(4,8), SSAMP(4)<br />
     1470Syntax: IMAGE_SAMPLE VDATA(1:4), VADDR(1:4), SRSRC(4,8), SSAMP(4)<br />
    14711471Description: Get sampled pixel value from SRSRC image at address VADDR by using
    14721472SSAMP sampler.</p>
     1473<h4>IMAGE_SAMPLE_CL</h4>
     1474<p>Opcode: 33 (0x21)<br />
     1475Syntax: IMAGE_SAMPLE_CL VDATA(1:4), VADDR(2:5), SRSRC(4,8), SSAMP(4)<br />
     1476Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1477SSAMP sampler. The last address register holds the clamp value.</p>
     1478<h4>IMAGE_SAMPLE_D</h4>
     1479<p>Opcode: 34 (0x22)<br />
     1480Syntax: IMAGE_SAMPLE_D VDATA(1:4), VADDR(2:9), SRSRC(4,8), SSAMP(4)<br />
     1481Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1482SSAMP sampler. The first 2-6 address registers holds user derivatives.</p>
    14731483<h4>IMAGE_STORE</h4>
    14741484<p>Opcode: 8 (0x8)<br />