Searched refs:discard (Results 1 - 25 of 137) sorted by relevance

123456

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dopt_conditional_discard.cpp29 * if (cond) discard;
33 * (discard <condition>)
66 /* Look for "if (...) discard" with no else clause or extra statements. */
74 ir_discard *discard = (ir_discard *) ir->then_instructions.get_head_raw(); local in function:opt_conditional_discard_visitor::visit_leave
75 if (!discard->condition)
76 discard->condition = ir->condition;
79 discard->condition = new(ctx) ir_expression(ir_binop_logic_and,
81 discard->condition);
83 ir->replace_with(discard);
H A Dlower_discard.cpp29 * Case 1: The "then" branch contains a conditional discard:
34 * discard cond2;
50 * discard temp;
52 * Case 2: The "else" branch contains a conditional discard:
59 * discard cond2;
73 * discard temp;
75 * Case 3: Both branches contain a conditional discard:
80 * discard cond2;
84 * discard cond3;
100 * discard tem
194 ir_discard *discard = then_discard != NULL ? then_discard : else_discard; local in function:lower_discard_visitor::visit_leave
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dopt_conditional_discard.cpp29 * if (cond) discard;
33 * (discard <condition>)
66 /* Look for "if (...) discard" with no else clause or extra statements. */
74 ir_discard *discard = (ir_discard *) ir->then_instructions.get_head_raw(); local in function:opt_conditional_discard_visitor::visit_leave
75 if (!discard->condition)
76 discard->condition = ir->condition;
79 discard->condition = new(ctx) ir_expression(ir_binop_logic_and,
81 discard->condition);
83 ir->replace_with(discard);
H A Dlower_discard.cpp29 * Case 1: The "then" branch contains a conditional discard:
34 * discard cond2;
50 * discard temp;
52 * Case 2: The "else" branch contains a conditional discard:
59 * discard cond2;
73 * discard temp;
75 * Case 3: Both branches contain a conditional discard:
80 * discard cond2;
84 * discard cond3;
100 * discard tem
194 ir_discard *discard = then_discard != NULL ? then_discard : else_discard; local in function:lower_discard_visitor::visit_leave
[all...]
/xsrc/external/mit/libFS/dist/src/
H A DFSSync.c61 Bool discard)
69 if (discard && svr->head) {
59 FSSync(FSServer * svr,Bool discard) argument
/xsrc/external/mit/libX11/dist/src/
H A DSync.c37 Bool discard)
46 if (discard && dpy->head) {
35 XSync(register Display * dpy,Bool discard) argument
H A DXlibAsync.c98 Bool discard) /* discard after extra?, ala _XReply */
101 if (discard && (rep->generic.length << 2) > len)
115 if (discard && rep->generic.length > extra &&
91 _XGetAsyncReply(register Display * dpy,register char * replbuf,register xReply * rep,char * buf,int len,int extra,Bool discard) argument
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_alpha_test.c28 * alpha_ref intrinsic and emitting a discard based on it.
100 nir_intrinsic_instr *discard = local in function:nir_lower_alpha_test
103 discard->num_components = 1;
104 discard->src[0] = nir_src_for_ssa(nir_inot(&b, condition));
105 nir_builder_instr_insert(&b, &discard->instr);
H A Dnir_lower_bitmap.c87 nir_intrinsic_instr *discard; local in function:lower_bitmap
123 discard = nir_intrinsic_instr_create(shader, nir_intrinsic_discard_if);
124 discard->src[0] = nir_src_for_ssa(cond);
125 nir_builder_instr_insert(b, &discard->instr);
H A Dnir_lower_clip.c285 nir_intrinsic_instr *discard; local in function:lower_clip_fs
290 discard = nir_intrinsic_instr_create(b.shader,
292 discard->src[0] = nir_src_for_ssa(cond);
293 nir_builder_instr_insert(&b, &discard->instr);
H A Dnir_opt_constant_folding.c134 nir_intrinsic_instr *discard = local in function:constant_fold_intrinsic_instr
136 nir_instr_insert_before(&instr->instr, &discard->instr);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_move_discards_to_top.c93 /** Try to mark a discard or demote instruction for moving
96 * dependency chain to see if this discard is an instruction that we can move
97 * up to the top. Second, if the discard is one we can move, it tags the
98 * discard and its dependencies (using pass_flags = 1).
103 try_move_discard(nir_intrinsic_instr *discard) argument
105 /* We require the discard to be in the top level of control flow. We
109 if (discard->instr.block->cf_node.parent->type != nir_cf_node_function)
112 /* Build the set of all instructions discard depends on to be able to
113 * clear the flags in case the discard cannot be moved.
118 discard
[all...]
/xsrc/external/mit/xf86-video-r128/dist/src/
H A Dr128_common.h110 int discard; member in struct:__anonbe031e140408
140 int discard; /* Client finished with buffer? */ member in struct:__anonbe031e140808
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_cs.h44 bool discard; member in struct:pan_fb_color_attachment
59 } discard; member in struct:pan_fb_zs_attachment
H A Dpan_cs.c90 if (fb->rt_count == 1 && fb->rts[0].view && !fb->rts[0].discard &&
100 if (!fb->rts[i].view || fb->rts[0].discard ||
405 if (!rt || fb->rts[idx].discard) {
598 if (fb->rts[i].view && !fb->rts[i].discard &&
603 if (fb->zs.view.zs && !fb->zs.discard.z &&
607 if (fb->zs.view.s && !fb->zs.discard.s &&
669 cfg.z_write_enable = (fb->zs.view.zs && !fb->zs.discard.z);
670 cfg.s_write_enable = (fb->zs.view.s && !fb->zs.discard.s);
793 cfg.color_write_enable = !fb->rts[0].discard;
826 cfg.zs_write_enable = !fb->zs.discard
[all...]
/xsrc/external/mit/xf86-video-savage/dist/src/
H A Dsavage_drm.h221 int discard; /* client finished with buffer? */ member in struct:drm_savage_vertex
228 int discard; /* client finished with buffer? */ member in struct:drm_savage_indices
H A Dsavage_common.h77 int discard; /* discard DMA buffer when done */ member in struct:__anon1e256b680308
/xsrc/external/mit/xf86-video-mach64/dist/src/
H A Dmach64_common.h110 int discard; /* Client finished with buffer? */ member in struct:__anon92111f000408
/xsrc/external/mit/xf86-video-mga/dist/src/
H A Dmga_common.h126 int discard; /* client finished with buffer? */ member in struct:__anon339d47a40808
/xsrc/external/mit/xedit/dist/lisp/
H A Dread.c83 int discard; /* flag used when reading an unavailable feature */ member in struct:_read_info
533 info.level = info.nodot = info.discard = 0;
840 else if (!info->discard)
894 if (info->discard)
910 if (!info->discard) {
940 if (!info->discard) {
958 if (!info->discard)
1213 if (info->discard) {
1602 if (info->discard)
1619 if (info->discard)
[all...]
/xsrc/external/mit/xf86-video-intel-old/dist/src/
H A Di810_common.h176 int discard; /* client is finished with the buffer? */ member in struct:__anon16a5de240408
/xsrc/external/mit/libdrm/dist/include/drm/
H A Dr128_drm.h270 int discard; /* Client finished with buffer? */ member in struct:drm_r128_vertex
278 int discard; /* Client finished with buffer? */ member in struct:drm_r128_indices
312 int discard; member in struct:drm_r128_indirect
H A Dsavage_drm.h116 int discard; /* discard DMA buffer when done */ member in struct:drm_savage_cmdbuf
/xsrc/external/mit/xorgproto/dist/include/X11/extensions/
H A DPrint.h370 Bool discard
384 Bool discard
415 Bool discard
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_blitter.c87 fd_blitter_pipe_begin(struct fd_context *ctx, bool render_cond, bool discard, argument
121 ctx->in_blit = discard;
140 bool discard = false; local in function:fd_blitter_blit
143 discard = util_texrange_covers_whole_level(info->dst.resource,
149 fd_blitter_pipe_begin(ctx, info->render_condition_enable, discard, FD_STAGE_BLIT);
298 /* TODO we could discard if dst box covers dst level fully.. */

Completed in 16 milliseconds

123456