Searched refs:ifs (Results 1 - 16 of 16) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/
H A Di915_fpc_emit.c285 struct i915_fragment_shader *ifs = p->shader; local in function:i915_emit_const1f
294 if (ifs->constant_flags[reg] == I915_CONSTFLAG_USER)
297 if (!(ifs->constant_flags[reg] & (1 << idx)) ||
298 ifs->constants[reg][idx] == c0) {
299 ifs->constants[reg][idx] = c0;
300 ifs->constant_flags[reg] |= 1 << idx;
301 if (reg + 1 > ifs->num_constants)
302 ifs->num_constants = reg + 1;
315 struct i915_fragment_shader *ifs = p->shader; local in function:i915_emit_const2f
331 if (ifs
354 struct i915_fragment_shader *ifs = p->shader; local in function:i915_emit_const4f
[all...]
H A Di915_fpc_translate.c964 struct i915_fragment_shader *ifs = p->shader; local in function:i915_translate_token
982 assert(ifs->constant_flags[i] == 0x0);
983 ifs->constant_flags[i] = I915_CONSTFLAG_USER;
984 ifs->num_constants = MAX2(ifs->num_constants, i + 1);
1022 if (ifs->constant_flags[j] == 0x0) {
1023 memcpy(ifs->constants[j],
1027 ifs->constant_flags[j] = 0xf; /* all four comps used */
1029 ifs->num_constants = MAX2(ifs
1065 i915_init_compile(struct i915_context * i915,struct i915_fragment_shader * ifs) argument
1114 struct i915_fragment_shader *ifs = p->shader; local in function:i915_fini_compile
[all...]
H A Di915_state.c594 struct i915_fragment_shader *ifs = CALLOC_STRUCT(i915_fragment_shader); local in function:i915_create_fs_state
595 if (!ifs)
598 ifs->draw_data = draw_create_fragment_shader(i915->draw, templ);
599 ifs->state.tokens = tgsi_dup_tokens(templ->tokens);
601 tgsi_scan_shader(templ->tokens, &ifs->info);
604 i915_translate_fragment_program(i915, ifs);
606 return ifs;
627 struct i915_fragment_shader *ifs = (struct i915_fragment_shader *) shader; local in function:i915_delete_fs_state
629 FREE(ifs->decl);
630 ifs
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/
H A Di915_fpc_emit.c271 struct i915_fragment_shader *ifs = p->shader; local in function:i915_emit_const1f
280 if (ifs->constant_flags[reg] == I915_CONSTFLAG_USER)
283 if (!(ifs->constant_flags[reg] & (1 << idx)) ||
284 ifs->constants[reg][idx] == c0) {
285 ifs->constants[reg][idx] = c0;
286 ifs->constant_flags[reg] |= 1 << idx;
287 if (reg + 1 > ifs->num_constants)
288 ifs->num_constants = reg + 1;
301 struct i915_fragment_shader *ifs = p->shader; local in function:i915_emit_const2f
317 if (ifs
340 struct i915_fragment_shader *ifs = p->shader; local in function:i915_emit_const4f
[all...]
H A Di915_fpc_translate.c759 struct i915_fragment_shader *ifs = p->shader; local in function:i915_translate_token
780 ifs->constant_flags[i] = I915_CONSTFLAG_USER;
781 ifs->num_constants = MAX2(ifs->num_constants, i + 1);
817 if (ifs->constant_flags[j] == 0x0) {
818 memcpy(ifs->constants[j], p->immediates[i],
821 ifs->constant_flags[j] = 0xf; /* all four comps used */
823 ifs->num_constants = MAX2(ifs->num_constants, j + 1);
861 i915_init_compile(struct i915_context *i915, struct i915_fragment_shader *ifs) argument
910 struct i915_fragment_shader *ifs = p->shader; local in function:i915_fini_compile
[all...]
H A Di915_state.c542 struct i915_fragment_shader *ifs = CALLOC_STRUCT(i915_fragment_shader); local in function:i915_create_fs_state
543 if (!ifs)
546 ifs->draw_data = draw_create_fragment_shader(i915->draw, templ);
553 ifs->state.tokens = nir_to_tgsi(s, pipe->screen);
557 ifs->state.tokens = tgsi_dup_tokens(templ->tokens);
560 ifs->state.type = PIPE_SHADER_IR_TGSI;
562 tgsi_scan_shader(ifs->state.tokens, &ifs->info);
565 i915_translate_fragment_program(i915, ifs);
567 return ifs;
593 struct i915_fragment_shader *ifs = (struct i915_fragment_shader *)shader; local in function:i915_delete_fs_state
[all...]
/xsrc/external/mit/libXi/dist/src/
H A DXGetFCtl.c204 xIntegerFeedbackState *ifs; local in function:XGetFeedbackControl
207 ifs = (xIntegerFeedbackState *) f;
210 I->class = ifs->class;
212 I->id = ifs->id;
213 I->resolution = ifs->resolution;
214 I->minVal = ifs->min_value;
215 I->maxVal = ifs->max_value;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/sb/
H A Dsb_bc_finalize.cpp268 unsigned ifs, loops; local in function:r600_sb::bc_finalizer::run_on
269 unsigned elems = get_stack_depth(r, loops, ifs);
279 unsigned ifs, loops; local in function:r600_sb::bc_finalizer::run_on
280 get_stack_depth(r, loops, ifs);
891 unsigned &ifs, unsigned add) {
898 ifs = 0;
904 ++ifs;
909 stack_elements += (loops * ctx.stack_entry_size) + ifs;
945 unsigned ifs = 0; local in function:r600_sb::bc_finalizer::update_nstack
946 unsigned elems = r ? get_stack_depth(r, loops, ifs, ad
890 get_stack_depth(node * n,unsigned & loops,unsigned & ifs,unsigned add) argument
[all...]
H A Dsb_pass.h722 unsigned get_stack_depth(node *n, unsigned &loops, unsigned &ifs,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sb/
H A Dsb_bc_finalize.cpp268 unsigned ifs, loops; local in function:r600_sb::bc_finalizer::run_on
269 unsigned elems = get_stack_depth(r, loops, ifs);
279 unsigned ifs, loops; local in function:r600_sb::bc_finalizer::run_on
280 get_stack_depth(r, loops, ifs);
891 unsigned &ifs, unsigned add) {
898 ifs = 0;
904 ++ifs;
909 stack_elements += (loops * ctx.stack_entry_size) + ifs;
945 unsigned ifs = 0; local in function:r600_sb::bc_finalizer::update_nstack
946 unsigned elems = r ? get_stack_depth(r, loops, ifs, ad
890 get_stack_depth(node * n,unsigned & loops,unsigned & ifs,unsigned add) argument
[all...]
H A Dsb_pass.h722 unsigned get_stack_depth(node *n, unsigned &loops, unsigned &ifs,
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D19.0.0.rst2422 - nir: merge some basic consecutive ifs
H A D21.1.0.rst819 - broadcom/compiler: Use ANYA for branches in uniform ifs
2720 - intel/mi_builder: Fix a couple of #ifs
H A D19.3.0.rst1783 - util/rb_tree: Replace useless ifs with asserts
H A D21.0.0.rst805 - nir/opt_peephole_select: respect selection_control when collapsing ifs
/xsrc/external/mit/MesaLib/dist/
H A D.pick_status.json16879 "description": "nir_opt_dead_cf: Remove dead ifs",
26257 "description": "nir/cf: fix insertion of loops/ifs after jumps",
[all...]

Completed in 177 milliseconds