diff options
author | Brian Paul <[email protected]> | 2017-11-06 12:44:06 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-11-16 20:35:17 -0700 |
commit | 92c1290dc57b493690ffe754b1b7724e93d41900 (patch) | |
tree | 8555c880a5e9be0a3235263cf7b29dc806c05b58 /src/gallium/drivers/freedreno | |
parent | 940fba68c903d9b4da2d99a68f1c06c53d4fe82a (diff) |
glsl: s/unsigned/glsl_base_type/ in glsl type code (v2)
Declare glsl_type::sampled_type as glsl_base_type as we do for the
base_type field. And make base_type a bitfield to save a few bytes.
Update glsl_type constructor to take glsl_base_type instead of unsigned
and pass GLSL_TYPE_VOID instead of zero.
No Piglit regressions with llvmpipe.
v2:
- Declare both base_type and sampled_type as 8-bit fields
- Use the new ASSERT_BITFIELD_SIZE() macro.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
0 files changed, 0 insertions, 0 deletions