nir: put compact into bitfields in nir_variable_data

This being declared bool means it won't get merged with the previous
bitfields, this seems like an oversight rather than deliberate.

Noticed when running pahole.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie
2017-09-06 13:18:45 +10:00
parent ec8ed2f277
commit 42d50c779b

View File

@@ -220,7 +220,7 @@ typedef struct nir_variable {
* be tightly packed. In other words, consecutive array elements
* should be stored one component apart, rather than one slot apart.
*/
bool compact:1;
unsigned compact:1;
/**
* Whether this is a fragment shader output implicitly initialized with