Changes between Version 14 and Version 15 of GcnInstrsMimg
- Timestamp:
- 01/17/16 21:00:28 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GcnInstrsMimg
v14 v15 1039 1039 </table> 1040 1040 <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> 1042 1042 <table> 1043 1043 <thead> … … 1466 1466 for (BYTE i = 0; i < BIT_CNT(DMASK); i++) 1467 1467 VDATA[i] = SEXT(VDATA[i], COMPBITS)</code></p> 1468 <h4>IMAGE_SAMPLE R</h4>1468 <h4>IMAGE_SAMPLE</h4> 1469 1469 <p>Opcode: 32 (0x20)<br /> 1470 Syntax: IMAGE_SAMPLE RVDATA(1:4), VADDR(1:4), SRSRC(4,8), SSAMP(4)<br />1470 Syntax: IMAGE_SAMPLE VDATA(1:4), VADDR(1:4), SRSRC(4,8), SSAMP(4)<br /> 1471 1471 Description: Get sampled pixel value from SRSRC image at address VADDR by using 1472 1472 SSAMP sampler.</p> 1473 <h4>IMAGE_SAMPLE_CL</h4> 1474 <p>Opcode: 33 (0x21)<br /> 1475 Syntax: IMAGE_SAMPLE_CL VDATA(1:4), VADDR(2:5), SRSRC(4,8), SSAMP(4)<br /> 1476 Description: Get sampled pixel value from SRSRC image at address VADDR by using 1477 SSAMP sampler. The last address register holds the clamp value.</p> 1478 <h4>IMAGE_SAMPLE_D</h4> 1479 <p>Opcode: 34 (0x22)<br /> 1480 Syntax: IMAGE_SAMPLE_D VDATA(1:4), VADDR(2:9), SRSRC(4,8), SSAMP(4)<br /> 1481 Description: Get sampled pixel value from SRSRC image at address VADDR by using 1482 SSAMP sampler. The first 2-6 address registers holds user derivatives.</p> 1473 1483 <h4>IMAGE_STORE</h4> 1474 1484 <p>Opcode: 8 (0x8)<br />