mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02: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>
This commit is contained in:
parent
0ad2dfe942
commit
2d221c64e7
1 changed files with 1 additions and 1 deletions
|
|
@ -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