llvmpipe: add some const qualifiers in lp_rast_linear_fallback.c

Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17561>
This commit is contained in:
Brian Paul 2022-06-21 14:47:12 -06:00 committed by Marge Bot
parent 80f6a31ff3
commit c83bbbd860
1 changed files with 4 additions and 4 deletions

View File

@ -57,28 +57,28 @@
#define STAMP_SIZE 4
static unsigned left_mask_tab[STAMP_SIZE] = {
static const unsigned left_mask_tab[STAMP_SIZE] = {
COLUMN0 | COLUMN1 | COLUMN2 | COLUMN3,
COLUMN1 | COLUMN2 | COLUMN3,
COLUMN2 | COLUMN3,
COLUMN3,
};
static unsigned right_mask_tab[STAMP_SIZE] = {
static const unsigned right_mask_tab[STAMP_SIZE] = {
COLUMN0,
COLUMN0 | COLUMN1,
COLUMN0 | COLUMN1 | COLUMN2,
COLUMN0 | COLUMN1 | COLUMN2 | COLUMN3,
};
static unsigned top_mask_tab[STAMP_SIZE] = {
static const unsigned top_mask_tab[STAMP_SIZE] = {
ROW0 | ROW1 | ROW2 | ROW3,
ROW1 | ROW2 | ROW3,
ROW2 | ROW3,
ROW3,
};
static unsigned bottom_mask_tab[STAMP_SIZE] = {
static const unsigned bottom_mask_tab[STAMP_SIZE] = {
ROW0,
ROW0 | ROW1,
ROW0 | ROW1 | ROW2,