From 63c723bfcd71b85c802f5495f0c05b5e7e0927f8 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 16 May 2023 10:10:23 -0400 Subject: [PATCH] nir: Fix incorrect comment We have 1-bit bools these days. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Faith Ekstrand Part-of: --- src/compiler/nir/nir.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 3deb40c..96bc3a1 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -859,7 +859,7 @@ typedef struct nir_register { unsigned num_components; /** < number of vector components */ unsigned num_array_elems; /** < size of array (0 for no array) */ - /* The bit-size of each channel; must be one of 8, 16, 32, or 64 */ + /* The bit-size of each channel; must be one of 1, 8, 16, 32, or 64 */ uint8_t bit_size; /** @@ -954,7 +954,7 @@ typedef struct nir_ssa_def { uint8_t num_components; - /* The bit-size of each channel; must be one of 8, 16, 32, or 64 */ + /* The bit-size of each channel; must be one of 1, 8, 16, 32, or 64 */ uint8_t bit_size; /** -- 2.7.4