nv50/ir: Use a bit field in info_out structure

This will decrease structure size.

Signed-off-by: Mark Menzynski <mmenzyns@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4264>
This commit is contained in:
Mark Menzynski 2020-07-20 16:03:36 +02:00 committed by Marge Bot
parent f2924994bd
commit 5ecc06ef20
1 changed files with 8 additions and 8 deletions

View File

@ -174,14 +174,14 @@ struct nv50_ir_prog_info_out
} gp;
struct {
unsigned numColourResults;
bool writesDepth;
bool earlyFragTests;
bool postDepthCoverage;
bool usesDiscard;
bool usesSampleMaskIn;
bool readsFramebuffer;
bool readsSampleLocations;
bool separateFragData;
bool writesDepth : 1;
bool earlyFragTests : 1;
bool postDepthCoverage : 1;
bool usesDiscard : 1;
bool usesSampleMaskIn : 1;
bool readsFramebuffer : 1;
bool readsSampleLocations : 1;
bool separateFragData : 1;
} fp;
} prop;