Boxis R700 User Manual Page 349

  • Download
  • Add to my manuals
  • Print
  • Page
    / 392
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 348
ATI R700 Technology
Texture-Fetch Instructions 10-35
Copyright © 2009 Advanced Micro Devices, Inc. All rights reserved.
Texture Fetch Doubleword 0
Instructions
TEX_WORD0
Description This is the low-order (least-significant) doubleword in the 128-bit 4-tuple formed by
TEX_WORD[0,1,2] plus a doubleword filled with zeros, as described in Chapter 6.
Opcode Field Name Bits Format
TEX_INST [4:0] enum(5)
Instruction.
0 TEX_INST_VTX_FETCH: vertex fetch (X = uint32index).
1 TEX_INST_VTX_SEMANTIC: semantic vertex fetch.
2 TEX_INST_MEM: memory read (scratch, reduction, scatter buffers) or read-write
(data share).
3 TEX_INST_LD: fetch data, address XYZL are uint32.
4 TEX_INST_GET_TEXTURE_RESINFO: retrieve width, height, depth, number of
mipmap levels.
5 TEX_INST_GET_NUMBER_OF_SAMPLES: retrieve width, height, depth, number of
samples of an MSAA surface.
6 TEX_INST_GET_COMP_TEX_LOD: X = clamped LOD; Y = non-clamped.
7 TEX_INST_GET_GRADIENTS_H: slopes relative to horizontal: X = dx/dh,
Y = dy/dh, Z = dz/dh, W = dw/dh.
8 TEX_INST_GET_GRADIENTS_V: slopes relative to vertical: X = dx/dv, Y = dy/dv,
Z = dz/dv, W = dw/dv.
9 TEX_INST_GET_LERP: retrieve weights used for bilinear fetch, X = horizontal
lerp, Y = vertical lerp Z = volume slice, W = mipmap LERP.
10 TEX_INST_KEEP_GRADIENTS: Compute gradients from coordinates and store
them.
11 TEX_INST_SET_GRADIENTS_H: XYZ set horizontal gradients.
12 TEX_INST_SET_GRADIENTS_V: XYZ set vertical gradients.
13 Reserved.
14 Z set index for array of cubemaps.
15 Fetch4/Load4 Instruction for DX 10.1.
NOTE for the following (16 to 31)
: If the LOD is computed by the hardware,
then these instructions are available only to the Pixel Shader (PS).
16 TEX_INST_SAMPLE
17 TEX_INST_SAMPLE_L
18 TEX_INST_SAMPLE_LB
19 TEX_INST_SAMPLE_LZ
20 TEX_INST_SAMPLE_G.
21 TEX_INST_SAMPLE_G_L
22 TEX_INST_SAMPLE_G_LB
23 TEX_INST_SAMPLE_G_LZ
24 TEX_INST_SAMPLE_C
25 TEX_INST_SAMPLE_C_L
26 TEX_INST_SAMPLE_C_LB
27 TEX_INST_SAMPLE_C_LZ
28 TEX_INST_SAMPLE_C_G
29 TEX_INST_SAMPLE_C_G_L
30 TEX_INST_SAMPLE_C_G_LB
31 TEX_INST_SAMPLE_C_G_LZ
Page view 348
1 2 ... 344 345 346 347 348 349 350 351 352 353 354 ... 391 392

Comments to this Manuals

No comments