[Mesa-dev] [PATCH 2/5] i965: Drop use of GL types in program keys.
Kenneth Graunke
kenneth at whitecape.org
Mon Dec 1 12:00:31 PST 2014
On Monday, December 01, 2014 10:46:30 AM Matt Turner wrote:
> On Mon, Dec 1, 2014 at 2:00 AM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> > This is really far removed from the API; we should just use C types.
> >
> > Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
>
> Can we fix the type of the gen6_gather_wa field while we're at it? We
> can mark the gen6_gather_sampler_wa as PACKED to keep the 1-byte size.
What type would you suggest? It's a bitfield of width 3 (WA_SIGN, WA_8BIT,
and WA_16BIT).
We could convert it from uint8_t[32] to a 96-bit bitfield...
--Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141201/2ae745d3/attachment.sig>
More information about the mesa-dev
mailing list