mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
i965: Make MOCS index tables static const
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6899>
This commit is contained in:
parent
02a0819dcc
commit
fe26109123
1 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@
|
|||
#include "brw_defines.h"
|
||||
#include "brw_wm.h"
|
||||
|
||||
uint32_t wb_mocs[] = {
|
||||
static const uint32_t wb_mocs[] = {
|
||||
[7] = GEN7_MOCS_L3,
|
||||
[8] = BDW_MOCS_WB,
|
||||
[9] = SKL_MOCS_WB,
|
||||
|
|
@ -63,7 +63,7 @@ uint32_t wb_mocs[] = {
|
|||
[11] = ICL_MOCS_WB,
|
||||
};
|
||||
|
||||
uint32_t pte_mocs[] = {
|
||||
static const uint32_t pte_mocs[] = {
|
||||
[7] = GEN7_MOCS_L3,
|
||||
[8] = BDW_MOCS_PTE,
|
||||
[9] = SKL_MOCS_PTE,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue