i965: Change fragment input related bitfields to 64-bit.
authorPaul Berry <stereotype441@gmail.com>
Sun, 24 Feb 2013 18:53:35 +0000 (10:53 -0800)
committerPaul Berry <stereotype441@gmail.com>
Fri, 15 Mar 2013 16:24:30 +0000 (09:24 -0700)
commit6bec74bfd98e2f9c090c550c18c02f71ea80d04e
tree1ac17f71ca306ac0cc505bb68986a87c0d2e59ef
parent03eef7f8ef98f1008a8687bbd7ee0141b433887a
i965: Change fragment input related bitfields to 64-bit.

This patch updates the bitfields brw_context::wm.input_size_masks,
tracker::size_masks, and brw_wm_prog_key::proj_attrib_mask, all of
which are indexed by gl_frag_attrib, from 32-bit to 64-bit.

This paves the way for supporting geometry shaders, and for merging
the gl_frag_attrib and gl_vert_result enums.  The combination of these
two will require at least 55 bits in the bitfields.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_vs_constval.c
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm.h