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

View file

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