Changes between Version 17 and Version 18 of GcnInstrsMimg


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

--

Legend:

Unmodified
Added
Removed
Modified
  • GcnInstrsMimg

    v17 v18  
    13931393<li>VDATA[0] - bottom left pixel's component (X,Y+1)</li>
    13941394<li>VDATA[1] - bottom right pixel's component (X+1,Y+1)</li>
    1395 <li>VDATA[0] - top right pixel's component (X+1,Y)</li>
    1396 <li>VDATA[1] - top left  pixel's component (X,Y)</li>
     1395<li>VDATA[2] - top right pixel's component (X+1,Y)</li>
     1396<li>VDATA[3] - top left  pixel's component (X,Y)</li>
    13971397</ul>
    13981398<p>Operation:<br />
     
    14831483SSAMP sampler. The first address register holds the LOD bias value.
    14841484The last address register holds the clamp value.</p>
     1485<h4>IMAGE_SAMPLE_B_CL_O</h4>
     1486<p>Opcode: 54 (0x36)<br />
     1487Syntax: IMAGE_SAMPLE_B_CL_O VDATA(1:4), VADDR(4:7), SRSRC(4,8), SSAMP(4)<br />
     1488Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1489SSAMP sampler. The first address register holds the offset for X,Y,Z.
     1490Next address register holds the LOD bias value.
     1491The last address register holds the clamp value.</p>
     1492<h4>IMAGE_SAMPLE_B_O</h4>
     1493<p>Opcode: 53 (0x35)<br />
     1494Syntax: IMAGE_SAMPLE_B_O VDATA(1:4), VADDR(3:6), SRSRC(4,8), SSAMP(4)<br />
     1495Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1496SSAMP sampler. The first address register holds the offset for X,Y,Z.
     1497Next address register holds the LOD bias value.
     1498The last address register holds the clamp value.</p>
    14851499<h4>IMAGE_SAMPLE_C</h4>
    14861500<p>Opcode: 40 (0x28)<br />
     
    15031517The first address register holds the Z-compare value. Next address register holds the
    15041518LOD bias value. The last address register holds the clamp value.</p>
     1519<h4>IMAGE_SAMPLE_C_B_CL_O</h4>
     1520<p>Opcode: 62 (0x62)<br />
     1521Syntax: IMAGE_SAMPLE_C_B_CL_O VDATA(1:4), VADDR(5:8), SRSRC(4,8), SSAMP(4)<br />
     1522Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1523SSAMP sampler. The instruction performs Z-compare operation choosen in SSAMP sampler.
     1524The first address register holds the offset for X,Y,Z.
     1525Next address register holds the Z-compare value. Next address register holds the
     1526LOD bias value. The last address register holds the clamp value.</p>
     1527<h4>IMAGE_SAMPLE_C_B_O</h4>
     1528<p>Opcode: 61 (0x3d)<br />
     1529Syntax: IMAGE_SAMPLE_C_B_O VDATA(1:4), VADDR(4:7), SRSRC(4,8), SSAMP(4)<br />
     1530Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1531SSAMP sampler. The instruction performs Z-compare operation choosen in SSAMP sampler.
     1532The first address register holds the offset for X,Y,Z. Next address register
     1533holds the Z-compare value. Next address register holds the LOD bias value.</p>
    15051534<h4>IMAGE_SAMPLE_C_CL</h4>
    15061535<p>Opcode: 41 (0x29)<br />
     
    15101539The first address register holds the Z-compare value. The last address register
    15111540holds the clamp value.</p>
     1541<h4>IMAGE_SAMPLE_C_CL_O</h4>
     1542<p>Opcode: 57 (0x39)<br />
     1543Syntax: IMAGE_SAMPLE_C_CL_O VDATA(1:4), VADDR(4:7), SRSRC(4,8), SSAMP(4)<br />
     1544Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1545SSAMP sampler. The instruction performs Z-compare operation choosen in SSAMP sampler.
     1546The first address register holds the offset for X,Y,Z. Next address register holds
     1547the Z-compare value. The last address register holds the clamp value.</p>
    15121548<h4>IMAGE_SAMPLE_C_D</h4>
    15131549<p>Opcode: 42 (0x2a)<br />
     
    15241560The first address register holds the Z-compare value. Next 2-6 address registers
    15251561holds user derivatives. The last address register holds the clamp value.</p>
     1562<h4>IMAGE_SAMPLE_C_D_CL_O</h4>
     1563<p>Opcode: 59 (0x3b)<br />
     1564Syntax: IMAGE_SAMPLE_C_D_CL_O VDATA(1:4), VADDR(6:13), SRSRC(4,8), SSAMP(4)<br />
     1565Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1566SSAMP sampler. The instruction performs Z-compare operation choosen in SSAMP sampler.
     1567The first address register holds the offset for X,Y,Z.  Next address register holds
     1568the Z-compare value. Next 2-6 address registers holds user derivatives.
     1569The last address register holds the clamp value.</p>
     1570<h4>IMAGE_SAMPLE_C_D_O</h4>
     1571<p>Opcode: 58 (0x3a)<br />
     1572Syntax: IMAGE_SAMPLE_C_D_O VDATA(1:4), VADDR(5:12), SRSRC(4,8), SSAMP(4)<br />
     1573Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1574SSAMP sampler. The instruction performs Z-compare operation choosen in SSAMP sampler.
     1575The first address register holds the offset for X,Y,Z. Next address register holds
     1576the Z-compare value. Next 2-6 address registers holds user derivatives.</p>
    15261577<h4>IMAGE_SAMPLE_C_L</h4>
    15271578<p>Opcode: 44 (0x2c)<br />
     
    15311582The first address register holds the Z-compare value. The last address register holds
    15321583the LOD value.</p>
     1584<h4>IMAGE_SAMPLE_C_L_O</h4>
     1585<p>Opcode: 60 (0x3c)<br />
     1586Syntax: IMAGE_SAMPLE_C_L_O VDATA(1:4), VADDR(4:7), SRSRC(4,8), SSAMP(4)<br />
     1587Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1588SSAMP sampler. The instruction performs Z-compare operation choosen in SSAMP sampler.
     1589The first address register holds the offset for X,Y,Z.  Next address register holds
     1590the Z-compare value. The last address register holds the LOD value.</p>
    15331591<h4>IMAGE_SAMPLE_C_LZ</h4>
    15341592<p>Opcode: 47 (0x2f)<br />
     
    15371595SSAMP sampler. The instruction performs Z-compare operation choosen in SSAMP sampler.
    15381596The first address register holds the Z-compare value. Force use of mipmap level 0 (???).</p>
     1597<h4>IMAGE_SAMPLE_C_LZ_O</h4>
     1598<p>Opcode: 63 (0x3f)<br />
     1599Syntax: IMAGE_SAMPLE_C_LZ_O VDATA(1:4), VADDR(3:6), SRSRC(4,8), SSAMP(4)<br />
     1600Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1601SSAMP sampler. The instruction performs Z-compare operation choosen in SSAMP sampler.
     1602The first address register holds the offset for X,Y,Z. Next address register holds the
     1603Z-compare value. Force use of mipmap level 0 (???).</p>
     1604<h4>IMAGE_SAMPLE_C_O</h4>
     1605<p>Opcode: 56 (0x38)<br />
     1606Syntax: IMAGE_SAMPLE_C_O VDATA(1:4), VADDR(3:6), SRSRC(4,8), SSAMP(4)<br />
     1607Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1608SSAMP sampler. The instruction performs Z-compare operation choosen in SSAMP sampler.
     1609The first address register holds the offset for X,Y,Z.
     1610Next address register holds the Z-compare value.</p>
    15391611<h4>IMAGE_SAMPLE_CL</h4>
    15401612<p>Opcode: 33 (0x21)<br />
     
    15421614Description: Get sampled pixel value from SRSRC image at address VADDR by using
    15431615SSAMP sampler. The last address register holds the clamp value.</p>
     1616<h4>IMAGE_SAMPLE_CL_O</h4>
     1617<p>Opcode: 49 (0x31)<br />
     1618Syntax: IMAGE_SAMPLE_CL_O VDATA(1:4), VADDR(3:6), SRSRC(4,8), SSAMP(4)<br />
     1619Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1620SSAMP sampler. The first address register holds the offset for X,Y,Z.
     1621The last address register holds the clamp value.</p>
    15441622<h4>IMAGE_SAMPLE_D</h4>
    15451623<p>Opcode: 34 (0x22)<br />
     
    15531631SSAMP sampler. The first 2-6 address registers holds user derivatives.
    15541632The last address register holds the clamp value.</p>
     1633<h4>IMAGE_SAMPLE_D_CL_O</h4>
     1634<p>Opcode: 51 (0x33)<br />
     1635Syntax: IMAGE_SAMPLE_D_CL_O VDATA(1:4), VADDR(5:12), SRSRC(4,8), SSAMP(4)<br />
     1636Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1637SSAMP sampler. The first address register holds the offset for X,Y,Z.
     1638Next 2-6 address registers holds user derivatives. The last address register
     1639holds the clamp value.</p>
     1640<h4>IMAGE_SAMPLE_D_O</h4>
     1641<p>Opcode: 50 (0x32)<br />
     1642Syntax: IMAGE_SAMPLE_D_O VDATA(1:4), VADDR(4:11), SRSRC(4,8), SSAMP(4)<br />
     1643Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1644SSAMP sampler. The first address register holds the offset for X,Y,Z.
     1645Next 2-6 address registers holds user derivatives.</p>
    15551646<h4>IMAGE_SAMPLE_L</h4>
    15561647<p>Opcode: 36 (0x24)<br />
     
    15581649Description: Get sampled pixel value from SRSRC image at address VADDR by using
    15591650SSAMP sampler. The last address register holds the LOD value.</p>
     1651<h4>IMAGE_SAMPLE_L_O</h4>
     1652<p>Opcode: 52 (0x34)<br />
     1653Syntax: IMAGE_SAMPLE_L_O VDATA(1:4), VADDR(3:6), SRSRC(4,8), SSAMP(4)<br />
     1654Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1655SSAMP sampler. The first address register holds the offset for X,Y,Z.
     1656The last address register holds the LOD value.</p>
    15601657<h4>IMAGE_SAMPLE_LZ</h4>
    15611658<p>Opcode: 39 (0x27)<br />
     
    15631660Description: Get sampled pixel value from SRSRC image at address VADDR by using
    15641661SSAMP sampler. Force use of mipmap level 0 (???).</p>
     1662<h4>IMAGE_SAMPLE_LZ_O</h4>
     1663<p>Opcode: 55 (0x37)<br />
     1664Syntax: IMAGE_SAMPLE_LZ_O VDATA(1:4), VADDR(2:5), SRSRC(4,8), SSAMP(4)<br />
     1665Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1666SSAMP sampler. Force use of mipmap level 0 (???). The first address register holds
     1667the offset for X,Y,Z.</p>
     1668<h4>IMAGE_SAMPLE_O</h4>
     1669<p>Opcode: 48 (0x30)<br />
     1670Syntax: IMAGE_SAMPLE_O VDATA(1:4), VADDR(2:5), SRSRC(4,8), SSAMP(4)<br />
     1671Description: Get sampled pixel value from SRSRC image at address VADDR by using
     1672SSAMP sampler. The first address register holds the offset for X,Y,Z.</p>
    15651673<h4>IMAGE_STORE</h4>
    15661674<p>Opcode: 8 (0x8)<br />