HomeSort by relevance Sort by last modified time
    Searched refs:writemask (Results 1 - 25 of 120) sorted by null

1 2 3 4 5

  /external/mesa3d/src/gallium/drivers/freedreno/a2xx/
fd2_zsa.c 55 if (cso->depth.writemask)
69 A2XX_RB_STENCILREFMASK_STENCILWRITEMASK(s->writemask) |
83 A2XX_RB_STENCILREFMASK_STENCILWRITEMASK(bs->writemask) |
  /external/mesa3d/src/gallium/drivers/freedreno/a3xx/
fd3_zsa.c 58 if (cso->depth.writemask)
73 A3XX_RB_STENCILREFMASK_STENCILWRITEMASK(s->writemask) |
87 A3XX_RB_STENCILREFMASK_STENCILWRITEMASK(bs->writemask) |
  /external/mesa3d/src/gallium/drivers/r300/compiler/
radeon_rename_regs.c 72 unsigned writemask; local
86 writemask = rc_variable_writemask_sum(var);
87 rc_variable_change_dst(var, new_index, writemask);
radeon_pair_regalloc.c 59 unsigned int Writemask;
289 unsigned int writemask,
299 if (classes[i].Writemasks[j] == writemask) {
332 unsigned int writemask = rc_variable_writemask_sum(variable); local
344 writemask = RC_MASK_XYZW;
350 class_index = find_class(classes, writemask, 3);
365 writemask, c.Writemasks[i]);
372 * then the writemask will be set to RC_MASK_XYZW
435 class_index = find_class(classes, writemask,
444 variable->Dst.Index, writemask);
560 unsigned int chan, writemask = 0; local
628 unsigned int writemask = reg_get_writemask(reg); local
    [all...]
radeon_variable.c 39 * Rewrite the index and writemask for the destination register of var
61 if (var_ptr->Dst.WriteMask == RC_MASK_W) {
157 unsigned int mask = var->Readers[i].WriteMask;
286 new->Dst.WriteMask = DstWriteMask;
321 unsigned int writemask; local
333 if (sub_inst->WriteMask) {
335 writemask = sub_inst->WriteMask;
338 writemask = sub_inst->OutputWriteMask;
340 writemask = 0
393 unsigned int writemask = 0; local
    [all...]
radeon_opcodes.h 285 unsigned int writemask,
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_vec4_cmod_propagation.cpp 75 (scan_inst->dst.writemask != WRITEMASK_X &&
76 scan_inst->dst.writemask != WRITEMASK_XYZW) ||
77 (scan_inst->dst.writemask == WRITEMASK_XYZW &&
79 (inst->dst.writemask & ~scan_inst->dst.writemask) != 0 ||
brw_vec4_vs_visitor.cpp 47 reg->writemask = WRITEMASK_X;
51 reg->writemask = WRITEMASK_Y;
56 reg->writemask = WRITEMASK_Z;
60 reg->writemask = WRITEMASK_W;
65 reg->writemask = WRITEMASK_X;
151 reg.writemask = 1 << i;
test_vec4_register_coalesce.cpp 135 m0.writemask = WRITEMASK_X;
154 m0.writemask = WRITEMASK_X;
158 m1.writemask = WRITEMASK_XYZW;
180 m0.writemask = WRITEMASK_Y;
191 EXPECT_EQ(dp4->dst.writemask, WRITEMASK_Y);
204 to.writemask = WRITEMASK_Y;
217 EXPECT_EQ(dp4->dst.writemask, WRITEMASK_Y);
230 to.writemask = WRITEMASK_Y;
brw_vec4_dead_code_eliminate.cpp 85 if (!result_live[c] && inst->dst.writemask & (1 << c)) {
86 inst->dst.writemask &= ~(1 << c);
89 if (inst->dst.writemask == 0) {
116 if (inst->dst.writemask & (1 << c)) {
brw_vec4_tcs.h 70 void emit_urb_write(const src_reg &value, unsigned writemask,
brw_vec4_surface_builder.cpp 45 bld.MOV(writemask(offset(dst, 8, i * dst_stride / 4),
72 bld.MOV(writemask(tmp, mask), src);
74 bld.MOV(writemask(tmp, ~mask), brw_imm_d(0));
216 bld.MOV(writemask(srcs, WRITEMASK_X), src0);
218 bld.MOV(writemask(srcs, WRITEMASK_Y), src1);
246 ubld.MOV(writemask(dst, WRITEMASK_W), brw_imm_d(0x11));
319 bld.MOV(writemask(srcs, WRITEMASK_X), src0);
321 bld.MOV(writemask(srcs, WRITEMASK_Y), src1);
brw_vec4_visitor.cpp 354 if (devinfo->gen == 6 && dst.writemask != WRITEMASK_XYZW) {
427 tmp_dst.writemask = WRITEMASK_XY;
472 tmp_dst.writemask = WRITEMASK_X;
475 tmp_dst.writemask = WRITEMASK_Y;
478 dst.writemask = WRITEMASK_XY;
712 this->writemask = WRITEMASK_XYZW;
714 this->writemask = (1 << type->vector_elements) - 1;
746 y_times_a.writemask = dst.writemask;
747 one_minus_a.writemask = dst.writemask
986 int writemask = devinfo->gen == 4 ? WRITEMASK_W : WRITEMASK_X; local
1015 int mrf, writemask; local
    [all...]
brw_vec4.cpp 79 this->swizzle = brw_swizzle_for_mask(reg.writemask);
87 this->writemask = WRITEMASK_XYZW;
104 unsigned writemask)
111 this->writemask = writemask;
115 unsigned writemask)
122 this->writemask = writemask;
135 this->writemask = brw_mask_for_swizzle(reg.swizzle);
386 unsigned writemask = 0 local
    [all...]
brw_vec4_gs_nir.cpp 80 /* Write to dst reg taking into account original writemask */
82 dest.writemask = brw_writemask_for_size(instr->num_components);
98 dest.writemask = brw_writemask_for_size(instr->num_components);
brw_vec4_tcs.cpp 213 brw_imm_ud(dst.writemask << first_component), indirect_offset);
222 /* Read into a temporary and copy with a swizzle and writemask. */
231 unsigned writemask,
235 if (writemask == 0)
242 brw_imm_ud(writemask), indirect_offset);
283 * honoring the writemask
302 dst.writemask = brw_writemask_for_size(instr->num_components);
306 dst.writemask = brw_writemask_for_size(instr->num_components);
321 dst.writemask = brw_writemask_for_size(instr->num_components);
348 * need to fix the writemask in each 32-bit message to account for it
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a4xx/
fd4_zsa.c 58 if (cso->depth.writemask)
75 A4XX_RB_STENCILREFMASK_STENCILWRITEMASK(s->writemask) |
89 A4XX_RB_STENCILREFMASK_BF_STENCILWRITEMASK(bs->writemask) |
  /external/mesa3d/src/gallium/drivers/etnaviv/
etnaviv_zsa.c 48 !so->depth.writemask;
58 if(so->stencil[i].writemask == 0)
98 COND(so->depth.writemask, VIVS_PE_DEPTH_CONFIG_WRITE_ENABLE) |
117 VIVS_PE_STENCIL_CONFIG_WRITE_MASK_FRONT(so->stencil[0].writemask);
  /external/mesa3d/src/gallium/drivers/ilo/shader/
toy_optimize.c 55 if (tdst_is_null(inst->dst) || !inst->dst.writemask) {
toy_compiler_reg.h 126 unsigned writemask:4; /* TOY_WRITEMASK_x */ member in struct:toy_dst
260 assert(dst.writemask <= TOY_WRITEMASK_XYZW);
322 * Apply writemask to the destination operand. Note that the current
323 * writemask is honored.
326 tdst_writemask(struct toy_dst dst, enum toy_writemask writemask)
328 dst.writemask &= writemask;
348 enum toy_writemask writemask, uint32_t val32)
357 dst.writemask = writemask;
391 const enum toy_writemask writemask = local
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a5xx/
fd5_zsa.c 56 if (cso->depth.writemask)
70 A5XX_RB_STENCILREFMASK_STENCILWRITEMASK(s->writemask) |
83 // A5XX_RB_STENCILREFMASK_BF_STENCILWRITEMASK(bs->writemask) |
  /external/mesa3d/src/gallium/auxiliary/util/
u_blit.h 64 uint writemask);
u_blit.c 162 set_fragment_shader(struct blit_state *ctx, uint writemask,
180 if (!ctx->fs[pipe_tex][writemask][idx]) {
185 ctx->fs[pipe_tex][writemask][idx] =
188 writemask,
192 cso_set_fragment_shader_handle(ctx->cso, ctx->fs[pipe_tex][writemask][idx]);
360 * \param writemask bitmask of PIPE_MASK_[RGBAZS]. Controls which channels
375 uint writemask)
406 blit_depth = is_depth && (writemask & PIPE_MASK_Z);
407 blit_stencil = is_stencil && (writemask & PIPE_MASK_S);
410 assert((writemask & PIPE_MASK_RGBA) == 0)
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_atom_depth.c 111 dsa->depth.writemask = ctx->Depth.Mask;
128 dsa->stencil[0].writemask = ctx->Stencil.WriteMask[0] & 0xff;
139 dsa->stencil[1].writemask = ctx->Stencil.WriteMask[back] & 0xff;
  /external/mesa3d/src/gallium/drivers/r300/
r300_hyperz.c 176 assert(!dsa->dsa.depth.writemask);
191 /* If writemask is disabled, the HiZ memory will not be changed,
193 if (dsa->dsa.depth.writemask) {
225 return s->enabled && s->writemask &&
237 if (dsa->depth.enabled && dsa->depth.writemask &&

Completed in 342 milliseconds

1 2 3 4 5