[Mesa-dev] [PATCH 2/3] tgsi: store the sampler view type directly in the instruction
Ilia Mirkin
imirkin at alum.mit.edu
Wed May 17 18:06:14 UTC 2017
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?
More information about the mesa-dev
mailing list