summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-09-20 16:20:32 -0700
committerPaul Berry <[email protected]>2011-09-28 11:38:03 -0700
commite6c8027ccb44de58a51956306dfe93146dcbf526 (patch)
tree1fb8d27a3b524feb0b93ef3165eb468397e2da25 /include
parentbb3e75d9a57a9d1a516d42487a6f0b4b23166f60 (diff)
i965: Use 4 bits to store nr_userclip in brw_clip.h.
Since the i965 driver supports 8 clipping planes now, we need 4 bits to store the number of user clipping planes, not 3. In theory this isn't strictly necessary, since brw_clip.h is only used on pre-GEN6, and pre-GEN6 only advertises support for 6 clipping planes, but it seems wise to err on the safe side. In the process I removed the pad0 element of struct brw_clip_prog_key--it doesn't seem necessary because the compiler automatically inserts padding if needed. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions