Searched refs:invariant (Results 1 - 25 of 87) sorted by relevance

1234

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dpropagate_invariance.cpp26 * Propagate the "invariant" and "precise" qualifiers to variables used to
27 * compute invariant or precise values.
30 * conditions for getting bit-for-bit the same values on an invariant output:
36 * This effectively means that if a variable is used to compute an invariant
37 * value then that variable becomes invariant. The same should apply to the
77 if (var->data.invariant || var->data.precise) {
99 if (this->dst_var->data.invariant) {
100 if (!ir->var->data.invariant)
103 ir->var->data.invariant = true;
H A Dlower_output_reads.cpp105 temp->data.invariant = ir->var->data.invariant;
H A Dopt_array_splitting.cpp477 new_var->data.invariant = entry->var->data.invariant;
H A Dopt_rebalance_tree.cpp155 if (var->data.invariant || var->data.precise) {
156 /* If we're assigning to an invariant variable, just bail. Tree
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dpropagate_invariance.cpp26 * Propagate the "invariant" and "precise" qualifiers to variables used to
27 * compute invariant or precise values.
30 * conditions for getting bit-for-bit the same values on an invariant output:
36 * This effectively means that if a variable is used to compute an invariant
37 * value then that variable becomes invariant. The same should apply to the
77 if (var->data.invariant || var->data.precise) {
99 if (this->dst_var->data.invariant) {
100 if (!ir->var->data.invariant)
103 ir->var->data.invariant = true;
H A Dlower_output_reads.cpp105 temp->data.invariant = ir->var->data.invariant;
H A Dopt_rebalance_tree.cpp155 if (var->data.invariant || var->data.precise) {
156 /* If we're assigning to an invariant variable, just bail. Tree
H A Dast.h487 unsigned invariant:1; member in struct:ast_type_qualifier::flags::__anona299cf320508
965 int invariant; /** < `invariant` redeclaration */ member in class:ast_declarator_list
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_to_lcssa.c51 /* Whether to skip loop invariant variables */
104 invariant, enumerator in enum:instr_invariance
115 return invariant;
120 return def->parent_instr->pass_flags == invariant;
157 return invariant;
161 /* An instruction is said to be loop-invariant if it
164 * by other invariant instructions
174 return invariant;
186 return nir_foreach_src(instr, src_is_invariant, loop) ? invariant : not_invariant;
189 return invariant;
[all...]
H A Dnir_propagate_invariant.c83 return var && (var->data.invariant || _mesa_set_search(invariants, var));
111 /* If the destination is invariant then so is the source */
194 * outputs as invariant. Doing this works around a common class of application
200 /* Hash set of invariant things */
214 if (!var->data.invariant)
H A Dnir_loop_analyze.c31 invariant, enumerator in enum:__anon432c87240103
95 var->type = invariant;
242 if (var->type == invariant)
246 var->type = invariant;
262 var->type = invariant;
266 /* Phis shouldn't be invariant except if one operand is invariant, and the
268 * load_consts are already set to invariant and constant during init,
278 /* An expression is invariant in a loop L if:
283 * – it’s a pure computation all of whose args are loop invariant
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_propagate_invariant.c83 return var && (var->data.invariant || _mesa_set_search(invariants, var));
111 /* If the destination is invariant then so is the source */
193 /* Hash set of invariant things */
H A Dnir_loop_analyze.c30 invariant, enumerator in enum:__anon140e87310103
219 if (var->type == invariant)
223 var->type = invariant;
239 var->type = invariant;
243 /* Phis shouldn't be invariant except if one operand is invariant, and the
245 * load_consts are already set to invariant and constant during init,
255 /* An expression is invariant in a loop L if:
260 * – it’s a pure computation all of whose args are loop invariant
262 * rhs of that def is loop-invariant
[all...]
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D18.3.6.rst32 - Linking GLSL 1.30 shaders with invariant and deprecated variables
33 triggers an 'mismatching invariant qualifiers' error
H A D19.0.1.rst32 - Linking GLSL 1.30 shaders with invariant and deprecated variables
33 triggers an 'mismatching invariant qualifiers' error
H A D21.3.3.rst99 - glsl: fix invariant qualifer usage and matching rule for GLSL 4.20
H A D7.9.2.rst50 [GLSL 1.20] invariant variable shouldn't be used before declaration
63 [GLSL 1.20] "#pragma STDGL invariant(all)" fail
223 - glsl: Support the 'invariant(all)' pragma
H A D10.1.2.rst110 - glsl: Only allow \`invariant\` on shader in/out between stages.
H A D10.6.6.rst61 - i965: Always re-emit the pipeline select during invariant state
H A D18.3.3.rst123 - glsl/lower_output_reads: set invariant and precise flags on
/xsrc/external/mit/mesa-demos/dist/src/trivial/
H A DMakefile.am207 vp-tri-invariant \
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/
H A Dr300_context.c277 struct r300_invariant_state *invariant = local in function:r300_init_states
306 /* Initialize the VAP invariant state. */
331 /* Initialize the invariant state. */
333 BEGIN_CB(invariant->cb, r300->invariant_state.size);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_ureg.c143 boolean invariant; member in struct:ureg_program::__anon00333c4a0508
432 boolean invariant)
460 ureg->output[i].invariant = invariant;
1518 boolean invariant)
1529 out[0].decl.Invariant = invariant;
1919 ureg->output[i].invariant);
1934 ureg->output[i].invariant);
424 ureg_DECL_output_layout(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index,unsigned streams,unsigned index,unsigned usage_mask,unsigned array_id,unsigned array_size,boolean invariant) argument
1509 emit_decl_semantic(struct ureg_program * ureg,unsigned file,unsigned first,unsigned last,enum tgsi_semantic semantic_name,unsigned semantic_index,unsigned streams,unsigned usage_mask,unsigned array_id,boolean invariant) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
H A Dr300_context.c276 struct r300_invariant_state *invariant = local in function:r300_init_states
305 /* Initialize the VAP invariant state. */
330 /* Initialize the invariant state. */
332 BEGIN_CB(invariant->cb, r300->invariant_state.size);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_ureg.c145 boolean invariant; member in struct:ureg_program::ureg_output_decl
430 boolean invariant)
458 ureg->output[i].invariant = invariant;
1516 boolean invariant)
1527 out[0].decl.Invariant = invariant;
1938 ureg->output[i].invariant);
1953 ureg->output[i].invariant);
422 ureg_DECL_output_layout(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index,unsigned streams,unsigned index,unsigned usage_mask,unsigned array_id,unsigned array_size,boolean invariant) argument
1507 emit_decl_semantic(struct ureg_program * ureg,unsigned file,unsigned first,unsigned last,enum tgsi_semantic semantic_name,unsigned semantic_index,unsigned streams,unsigned usage_mask,unsigned array_id,boolean invariant) argument

Completed in 48 milliseconds

1234