ATI R700 Technology
9-194 Texture-Fetch Instructions
Copyright © 2009 Advanced Micro Devices, Inc. All rights reserved.
Sample Texture with Comparison and Gradient
Instructions
SAMPLE_C_G
Description This instruction behaves exactly like the SAMPLE_C instruction, except that instead of using
the hardware-calculated horizontal and vertical gradients for the source address, the
gradients are provided by software in the most recently executed set gradients H and set
gradients V.
Microcode
Format TEX_DWORD0 (page 10-35), TEX_DWORD1 (page 10-37), and TEX_DWORD2 (page 10-38).
Instruction Field TEX_INST == TEX_INST_SAMPLE_C_G, opcode 28 (0x1C).
00000000000000000000000000000000+12
SSW SSZ SSY SSX SAMPLER_ID OFFSET_Z OFFSET_Y OFFSET_X +8
C
T
W
C
T
Z
C
T
Y
C
T
X
LOD_BIAS DSW DSZ DSY DSX
D
R
DST_GPR +4
Reserved
S
R
SRC_GPR RESOURCE_ID
F
W
Q
B
F
M
TEX_INST +0
Comments to this Manuals