Texture Instructions Instructions
4 PTX instructions in this category - click any row for encoding, pseudocode, and full documentation.
| Mnemonic | Syntax | PTX Version | Summary |
|---|---|---|---|
| istypep | istypep.type p, a; // result is .pred | PTX ISA 4.0 | Write predicate register p with 1 if register a points to an opaque variable of the specified type, and with 0 otherwise. Destination p has type.pred; |
| tex | tex.geom.v4.dtype.ctype d, [a, c] {, e} {, f}; | PTX ISA 1.0 | tex.{1d,2d,3d} Texture lookup using a texture coordinate vector. |
| tld4 | tld4.comp.2d.v4.dtype.f32 d[|p], [a, c] {, e} {, f}; | PTX ISA 2.2 | Texture fetch of the 4-texel bilerp footprint using a texture coordinate vector. |
| txq | txq.tquery.b32 d, [a]; // texture attributes | PTX ISA 1.5 | Query an attribute of a texture or sampler. |