[Mesa-dev] [PATCH 2/3] tgsi: store the sampler view type directly in the instruction
Samuel Pitoiset
samuel.pitoiset at gmail.com
Wed May 17 18:47:38 UTC 2017
On 05/17/2017 08:06 PM, Ilia Mirkin wrote:
> On Wed, May 17, 2017 at 5:17 AM, Samuel Pitoiset
> <samuel.pitoiset at gmail.com> wrote:
>> @@ -695,6 +696,7 @@ struct tgsi_instruction_texture
>> unsigned Texture : 8; /* TGSI_TEXTURE_ */
>> unsigned NumOffsets : 4;
>> unsigned Padding : 20;
>> + unsigned ReturnType : 3; /* TGSI_RETURN_TYPE_x */
>> };
>>
>> /* for texture offsets in GLSL and DirectX.
>
> You really want to add that second word? Instead of, say, reducing the
> padding by 3 bits?
Fixed in v2. :)
>
More information about the mesa-dev
mailing list