nir: Fix incorrect comment

We have 1-bit bools these days.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23107>
This commit is contained in:
Alyssa Rosenzweig 2023-05-16 10:10:23 -04:00 committed by Marge Bot
parent 40a056db51
commit 63c723bfcd

View file

@ -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;
/**