Lines Matching defs:nir_variable
115 * \sa nir_variable::state_slots
291 * by the type associated with the \c nir_variable. Constants may be
340 typedef struct nir_variable {
650 struct nir_variable *pointer_initializer;
669 } nir_variable;
672 _nir_shader_variable_has_mode(nir_variable *var, unsigned modes)
680 foreach_list_typed(nir_variable, var, node, var_list)
683 foreach_list_typed_safe(nir_variable, var, node, var_list)
718 nir_variable_is_global(const nir_variable *var)
1567 nir_variable *var;
1703 static inline nir_variable *
1785 static inline nir_variable *
2825 nir_variable *var;
2834 nir_variable *nir_get_binding_variable(struct nir_shader *shader, nir_binding binding);
3224 foreach_list_typed(nir_variable, var, node, &(impl)->locals)
3227 foreach_list_typed_safe(nir_variable, var, node, &(impl)->locals)
3799 /** list of uniforms (nir_variable) */
3898 void nir_shader_add_variable(nir_shader *shader, nir_variable *var);
3901 nir_function_impl_add_variable(nir_function_impl *impl, nir_variable *var)
3908 nir_variable *nir_variable_create(nir_shader *shader,
3913 nir_variable *nir_local_variable_create(nir_function_impl *impl,
3917 nir_variable *nir_find_variable_with_location(nir_shader *shader,
3921 nir_variable *nir_find_variable_with_driver_location(nir_shader *shader,
3926 int (*compar)(const nir_variable *,
3927 const nir_variable *),
4448 nir_constant *nir_constant_clone(const nir_constant *c, nir_variable *var);
4449 nir_variable *nir_variable_clone(const nir_variable *c, nir_shader *shader);
4956 bool nir_is_arrayed_io(const nir_variable *var, gl_shader_stage stage);
4966 bool (*can_remove_var)(nir_variable *var, void *data);
5640 nir_variable_is_in_ubo(const nir_variable *var)
5647 nir_variable_is_in_ssbo(const nir_variable *var)
5654 nir_variable_is_in_block(const nir_variable *var)