Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/glsl/
Dopt_constant_variable.cpp46 ir_constant *constval; member
98 ir_constant *constval; in visit_enter() local
134 constval = ir->rhs->constant_expression_value(); in visit_enter()
135 if (!constval) in visit_enter()
142 entry->constval = constval; in visit_enter()
197 if (entry->assignment_count == 1 && entry->constval && entry->our_scope) { in do_constant_variable()
198 entry->var->constant_value = entry->constval; in do_constant_variable()