Mesa (master): nir: add nir_var_mem_ubo to nir_var_read_only_modes
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Nov 13 17:45:55 UTC 2020
Module: Mesa
Branch: master
Commit: eb7507681f8d94727160b6627f6fb032a7f4305c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb7507681f8d94727160b6627f6fb032a7f4305c
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Thu Nov 5 16:54:32 2020 +0000
nir: add nir_var_mem_ubo to nir_var_read_only_modes
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7600>
---
src/compiler/nir/nir.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index aa124ba3b67..95299729c30 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -139,7 +139,8 @@ typedef enum {
/** Ray hit attributes */
nir_var_ray_hit_attrib = (1 << 13),
nir_var_read_only_modes = nir_var_shader_in | nir_var_uniform |
- nir_var_system_value | nir_var_mem_constant,
+ nir_var_system_value | nir_var_mem_constant |
+ nir_var_mem_ubo,
nir_num_variable_modes = 14,
nir_var_all = (1 << nir_num_variable_modes) - 1,
} nir_variable_mode;
More information about the mesa-commit
mailing list