diff options
author | Brian Paul <[email protected]> | 2017-11-06 09:19:55 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-11-16 20:35:17 -0700 |
commit | d4726b13183c45fbc0869596c128f7c030b3cd9c (patch) | |
tree | 1df729927e75b9de99db4d191e9d2cb3bec9bce0 /scripts | |
parent | fe81e1f9751cca8de33c3c45f6fc181c626c57f0 (diff) |
st/mesa: use enum types instead of int/unsigned (v3)
Use the proper enum types for various variables. Makes life in gdb
a little nicer. Note that the size of enum bitfields must be one
larger so the high bit is always zero (for MSVC).
v2: also increase size of image_format bitfield, per Eric Engestrom.
v3: use the new ASSERT_BITFIELD_SIZE() macro
Reviewed-by: Charmaine Lee <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions