Home
last modified time | relevance | path

Searched refs:var_ref (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_clip_cull_distance_arrays.c93 nir_deref_var *var_ref = intrin->variables[0]; in rewrite_references() local
94 if (var_ref->var->data.mode != combined->data.mode) in rewrite_references()
97 if (var_ref->var->data.location != VARYING_SLOT_CLIP_DIST0 && in rewrite_references()
98 var_ref->var->data.location != VARYING_SLOT_CULL_DIST0) in rewrite_references()
103 nir_deref *deref = &var_ref->deref; in rewrite_references()
111 if (var_ref->var->data.location == VARYING_SLOT_CULL_DIST0) { in rewrite_references()
119 var_ref->var = combined; in rewrite_references()
/external/mesa3d/src/compiler/glsl/
DREADME76 (assign (constant bool (1)) (var_ref litColor) (expression vec3 * (var_ref Surf
77 aceColor) (var_ref __retval) ) )
82 (var_ref) (expression *) (constant bool 1)
84 (litColor) (var_ref) (var_ref)
105 (assign (constant bool (1)) (var_ref __retval) (expression float dot
106 (var_ref normDelta) (var_ref LightDir) ) )
108 (assign (constant bool (1)) (var_ref __retval) (expression vec3 -
109 (var_ref LightDir) (expression vec3 * (constant float (2.000000))
110 (expression vec3 * (expression float dot (var_ref normDelta) (var_ref
111 LightDir) ) (var_ref normDelta) ) ) ) )
[all …]
Dopt_flip_matrices.cpp98 ir_dereference_variable *var_ref = array_ref->array->as_dereference_variable(); in visit_enter() local
99 assert(var_ref && var_ref->var == mat_var); in visit_enter()
104 var_ref->var = texmat_transpose; in visit_enter()
Dopt_constant_propagation.cpp155 ir_dereference_variable *var_ref = (*rvalue)->as_dereference_variable(); in constant_folding() local
156 if (var_ref && !var_ref->type->is_array()) { in constant_folding()
158 var_ref->constant_expression_value(ralloc_parent(var_ref)); in constant_folding()
Dopt_constant_folding.cpp99 ir_dereference_variable *var_ref = (*rvalue)->as_dereference_variable(); in ir_constant_fold() local
100 if (var_ref) in ir_constant_fold()
Dbuiltin_functions.cpp689 ir_dereference_variable *var_ref(ir_variable *var);
3552 builtin_builder::var_ref(ir_variable *var) in var_ref() function in builtin_builder
3731 actual_params.push_tail(var_ref(var)); in call()
3741 (sig->return_type->is_void() ? NULL : var_ref(ret)); in call()
5076 tex->lod_info.lod = var_ref(lod); in _textureSize()
5114 tex->set_sampler(var_ref(s), return_type); in _texture()
5119 tex->coordinate = var_ref(P); in _texture()
5138 tex->shadow_comparator = var_ref(refz); in _texture()
5150 tex->lod_info.lod = var_ref(lod); in _texture()
5157 tex->lod_info.grad.dPdx = var_ref(dPdx); in _texture()
[all …]
Dir_reader.cpp906 ir_dereference_variable *var_ref = read_var_ref(expr); in read_dereference() local
907 if (var_ref != NULL) { in read_dereference()
908 return var_ref; in read_dereference()
/external/tensorflow/tensorflow/compiler/tests/
Dfused_batchnorm_test.py83 y_ref, mean_ref, var_ref = self._reference_training(
103 variance=var_ref,
126 y_ref, mean_ref, var_ref = self._reference_training(
171 self.assertAllClose(var_val, var_ref, atol=1e-3)
/external/tensorflow/tensorflow/python/ops/
Dnn_fused_batchnorm_test.py132 y_ref, mean_ref, var_ref = self._training_ref(x, scale, offset, epsilon,
141 var_ref = var_ref * sample_size / (max(sample_size - 1.0, 1.0))
142 self.assertAllClose(var_ref, var_val, atol=1e-3)