[Mesa-dev] [PATCH 3/3] gallium/docs: add more info about TXF and MSAA textures

Brian Paul brianp at vmware.com
Wed Aug 2 18:14:59 UTC 2017


On 08/02/2017 12:03 PM, Roland Scheidegger wrote:
> Am 02.08.2017 um 19:07 schrieb Brian Paul:
>> If the texture is multisampled, the coord.w component indicates which
>> sample to fetch.
>> ---
>>   src/gallium/docs/source/tgsi.rst | 4 +++-
>>   1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
>> index d7817cc..5bf9e95 100644
>> --- a/src/gallium/docs/source/tgsi.rst
>> +++ b/src/gallium/docs/source/tgsi.rst
>> @@ -951,7 +951,9 @@ XXX doesn't look like most of the opcodes really belong here.
>>     image or PIPE_BUFFER resource. The source sampler may not be a CUBE or
>>     SHADOW.  src 0 is a
>>     four-component signed integer vector used to identify the single texel
>> -  accessed. 3 components + level.  Just like texture instructions, an optional
>> +  accessed. 3 components + level.  If the texture is multisampled, then
>> +  the fourth component indicates the sample, not the mipmap level.
>> +  p *srJust like texture instructions, an optional
> Is that some rst syntax here or just a type?

Oops, typo.

> Otherwise,
> Reviewed-by: Roland Scheidegger <sroland at vmware.com>

Thanks.

>
>>     offset vector is provided, which is subject to various driver restrictions
>>     (regarding range, source of offsets). This instruction ignores the sampler
>>     state.
>>
>



More information about the mesa-dev mailing list