summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-04-11 00:02:35 -0700
committerKenneth Graunke <[email protected]>2017-04-11 21:07:45 -0700
commit44ecbbebe29becd2ec59693db82e010c32ecfbac (patch)
tree824707ca77c0958a3c93b090298a1afd9f124e6d /docs
parentf374b9449eb7181ef30652713f9a82523d3afa17 (diff)
i965/drm: Make brw_bo_alloc_tiled flags parameter 32-bit.
unsigned long is a terrible type for a bitfield - if you need fewer than 32 bits, it wastes 4 bytes. If you need more, things break on 32-bit builds. Just use unsigned. Even that's a bit ridiculous as we only have one flag today. Still, it's at least somewhat better. Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions