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>
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h b/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h
index 09079a4..0e61e03 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h
@@ -174,14 +174,14 @@
} 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;