diff options
author | Dave Airlie <[email protected]> | 2014-02-11 13:26:08 +1000 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-04-07 01:06:18 -0400 |
commit | be5276ae7d24563301ae627b994f612069c32461 (patch) | |
tree | 5d54a4ffb578414643077a88c2a950b578eb9a75 /src/gallium/docs/source/tgsi.rst | |
parent | 5d0b3ec4ae4e468ee6d69bb6f036c06aae759dcc (diff) |
gallium: add support for LODQ opcodes.
This opcode provide support for GL_ARB_texture_query_lod,
Signed-off-by: Dave Airlie <[email protected]>
[imirkin: rebase, docs update]
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/docs/source/tgsi.rst')
-rw-r--r-- | src/gallium/docs/source/tgsi.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst index 5a64e16cefa..d5325f4a935 100644 --- a/src/gallium/docs/source/tgsi.rst +++ b/src/gallium/docs/source/tgsi.rst @@ -1012,6 +1012,18 @@ XXX doesn't look like most of the opcodes really belong here. dst = texture\_gather (uint, coord, compare) +.. opcode:: LODQ - level of detail query + + Compute the LOD information that the texture pipe would use to access the + texture. The Y component contains the computed LOD lambda_prime. The X + component contains the LOD that will be accessed, based on min/max lod's + and mipmap filters. + +.. math:: + + coord = src0 + + dst.xy = lodq(uint, coord); Integer ISA ^^^^^^^^^^^^^^^^^^^^^^^^ |