[Mesa-dev] [PATCH 01/13] gallium/docs: Some opcodes was not included into the INDEX section of pdf version
Alexander Troosh
trush at yandex.ru
Wed Oct 8 04:40:18 PDT 2014
---
src/gallium/docs/source/tgsi.rst | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index 7d5918f..9b4a821 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -2059,7 +2059,7 @@ instructions. If in doubt double check Direct3D documentation.
Note that the swizzle on SVIEW (src1) determines texel swizzling
after lookup.
-.. opcode:: SAMPLE
+.. opcode:: SAMPLE - Sample data from the specified texture
Using provided address, sample data from the specified texture using the
filtering mode identified by the gven sampler. The source data may come from
@@ -2069,7 +2069,7 @@ after lookup.
Example: ``SAMPLE TEMP[0], TEMP[1], SVIEW[0], SAMP[0]``
-.. opcode:: SAMPLE_I
+.. opcode:: SAMPLE_I -
Simplified alternative to the SAMPLE instruction. Using the provided
integer address, SAMPLE_I fetches data from the specified sampler view
@@ -2118,13 +2118,13 @@ after lookup.
Where 'mpl' is a mipmap level and 'idx' is the array index.
-.. opcode:: SAMPLE_I_MS
+.. opcode:: SAMPLE_I_MS -
Just like SAMPLE_I but allows fetch data from multi-sampled surfaces.
Syntax: ``SAMPLE_I_MS dst, address, sampler_view, sample``
-.. opcode:: SAMPLE_B
+.. opcode:: SAMPLE_B -
Just like the SAMPLE instruction with the exception that an additional bias
is applied to the level of detail computed as part of the instruction
@@ -2134,7 +2134,7 @@ after lookup.
Example: ``SAMPLE_B TEMP[0], TEMP[1], SVIEW[0], SAMP[0], TEMP[2].x``
-.. opcode:: SAMPLE_C
+.. opcode:: SAMPLE_C -
Similar to the SAMPLE instruction but it performs a comparison filter. The
operands to SAMPLE_C are identical to SAMPLE, except that there is an
@@ -2149,7 +2149,7 @@ after lookup.
Example: ``SAMPLE_C TEMP[0], TEMP[1], SVIEW[0].r, SAMP[0], TEMP[2].x``
-.. opcode:: SAMPLE_C_LZ
+.. opcode:: SAMPLE_C_LZ -
Same as SAMPLE_C, but LOD is 0 and derivatives are ignored. The LZ stands
for level-zero.
@@ -2159,7 +2159,7 @@ after lookup.
Example: ``SAMPLE_C_LZ TEMP[0], TEMP[1], SVIEW[0].r, SAMP[0], TEMP[2].x``
-.. opcode:: SAMPLE_D
+.. opcode:: SAMPLE_D -
SAMPLE_D is identical to the SAMPLE opcode except that the derivatives for
the source address in the x direction and the y direction are provided by
@@ -2169,7 +2169,7 @@ after lookup.
Example: ``SAMPLE_D TEMP[0], TEMP[1], SVIEW[0], SAMP[0], TEMP[2], TEMP[3]``
-.. opcode:: SAMPLE_L
+.. opcode:: SAMPLE_L -
SAMPLE_L is identical to the SAMPLE opcode except that the LOD is provided
directly as a scalar value, representing no anisotropy.
@@ -2178,7 +2178,7 @@ after lookup.
Example: ``SAMPLE_L TEMP[0], TEMP[1], SVIEW[0], SAMP[0], TEMP[2].x``
-.. opcode:: GATHER4
+.. opcode:: GATHER4 -
Gathers the four texels to be used in a bi-linear filtering operation and
packs them into a single register. Only works with 2D, 2D array, cubemaps,
@@ -2191,7 +2191,7 @@ after lookup.
magnitude of the deltas are half a texel.
-.. opcode:: SVIEWINFO
+.. opcode:: SVIEWINFO -
Query the dimensions of a given sampler view. dst receives width, height,
depth or array size and number of mipmap levels as int4. The dst can have a
@@ -2214,13 +2214,13 @@ after lookup.
with rcpfloat modifier which requires some swizzle handling in the state
tracker anyway).
-.. opcode:: SAMPLE_POS
+.. opcode:: SAMPLE_POS -
Query the position of a given sample. dst receives float4 (x, y, 0, 0)
indicated where the sample is located. If the resource is not a multi-sample
resource and not a render target, the result is 0.
-.. opcode:: SAMPLE_INFO
+.. opcode:: SAMPLE_INFO -
dst receives number of samples in x. If the resource is not a multi-sample
resource and not a render target, the result is 0.
--
1.7.3.4
More information about the mesa-dev
mailing list