mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 06:50:22 +01:00
nir: Increase nir_variable_data::mode to 16 bits
This is required if we want to have variables with nir_var_mem_global
which we will for CL eventually. Also, they're useful in unit tests
because they're the most generic thing imaginable and can't get
eliminated by normal means.
Cc: mesa-stable@lists.freedesktop.org
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16894>
(cherry picked from commit 2d221c64e7)
This commit is contained in:
parent
981fd93224
commit
8745ab574c
2 changed files with 2 additions and 2 deletions
|
|
@ -4000,7 +4000,7 @@
|
|||
"description": "nir: Increase nir_variable_data::mode to 16 bits",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -424,7 +424,7 @@ typedef struct nir_variable {
|
|||
*
|
||||
* \sa nir_variable_mode
|
||||
*/
|
||||
unsigned mode:15;
|
||||
unsigned mode:16;
|
||||
|
||||
/**
|
||||
* Is the variable read-only?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue