diff options
author | Jason Ekstrand <[email protected]> | 2014-08-23 10:45:00 -0700 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2015-01-12 11:20:28 +0100 |
commit | 3da735cc4c478b0ab2ecc2164899cf9d77dc671a (patch) | |
tree | 4158684e428ad25b4708a51556d409b2f0b94a02 /m4 | |
parent | 382d097e546cb7568bef4fa552dcd84535271845 (diff) |
main: Add a concept of an array format
An array format is a 32-bit integer format identifier that can represent
any format that can be represented as an array of standard GL datatypes.
Whie the MESA_FORMAT enums provide several of these, they don't account for
all of them.
v2 by Iago Toral Quiroga <[email protected]>:
- Implement mesa_array_format as a plain bitfiled uint32_t type instead of
using a struct inside a union to access the various components packed in
it. This is necessary to support bigendian properly, as pointed out by
Ian.
- Squashed: Make float types normalized
v3 by Iago Toral Quiroga <[email protected]>:
- Include compiler.h in formats.h, which is necessary to build in MSVC as
indicated by Brian Paul.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions