Home
last modified time | relevance | path

Searched refs:WRITEMASK_X (Results 1 – 25 of 41) sorted by relevance

12

/external/mesa3d/src/mesa/state_tracker/tests/
Dtest_glsl_to_tgsi_array_merge.cpp43 array_live_range a1(1, 10, 1, 5, WRITEMASK_X); in TEST_F()
44 array_live_range a2(2, 5, 6, 10, WRITEMASK_X); in TEST_F()
53 EXPECT_EQ(a1.access_mask(), WRITEMASK_X); in TEST_F()
65 EXPECT_EQ(a2.access_mask(), WRITEMASK_X); in TEST_F()
75 array_live_range a1(1, 5, 1, 5, WRITEMASK_X); in TEST_F()
76 array_live_range a2(2, 10, 6, 10, WRITEMASK_X); in TEST_F()
85 EXPECT_EQ(a1.access_mask(), WRITEMASK_X); in TEST_F()
97 EXPECT_EQ(a2.access_mask(), WRITEMASK_X); in TEST_F()
108 array_live_range a1(1, 10, 1, 10, WRITEMASK_X); in TEST_F()
140 array_live_range a2(2, 9, 1, 10, WRITEMASK_X); in TEST_F()
[all …]
Dtest_glsl_to_tgsi_lifetime.cpp1253 { TGSI_OPCODE_MOV, DST(1, WRITEMASK_X), SRC(in1, "y"), {}, SWZ()}, in TEST_F()
1267 { TGSI_OPCODE_MOV, DST(1, WRITEMASK_X), SRC(in1, "x"), {}, SWZ()}, in TEST_F()
1283 { TGSI_OPCODE_MOV, DST(1, WRITEMASK_X), SRC(in1, "x"), {}, SWZ()}, in TEST_F()
1299 { TGSI_OPCODE_MOV, DST(1, WRITEMASK_X), SRC(in1, "x"), {}, SWZ()}, in TEST_F()
1315 { TGSI_OPCODE_MOV, DST(1, WRITEMASK_X), SRC(in1, "x"), {}, SWZ()}, in TEST_F()
/external/mesa3d/src/mesa/main/
Dffvertex_prog.c645 emit_op2(p, OPCODE_DP4, dest, WRITEMASK_X, src, mat[0]); in emit_matrix_transform_vec4()
683 emit_op2(p, OPCODE_DP3, dest, WRITEMASK_X, src, mat[0]); in emit_matrix_transform_vec3()
694 emit_op2(p, OPCODE_DP3, tmp, WRITEMASK_X, src, src); in emit_normalize_vec3()
695 emit_op1(p, OPCODE_RSQ, tmp, WRITEMASK_X, tmp); in emit_normalize_vec3()
1162 emit_op2(p, OPCODE_DP3, dots, WRITEMASK_X, normal, VPpli); in build_lighting()
1303 emit_op2(p, OPCODE_DP3, tmp, WRITEMASK_X, input, input); in build_fog()
1304 emit_op1(p, OPCODE_RSQ, tmp, WRITEMASK_X, tmp); in build_fog()
1305 emit_op1(p, OPCODE_RCP, fog, WRITEMASK_X, tmp); in build_fog()
1310 emit_op1(p, OPCODE_MOV, fog, WRITEMASK_X, input); in build_fog()
1314 emit_op1(p, OPCODE_ABS, fog, WRITEMASK_X, input); in build_fog()
[all …]
/external/mesa3d/src/compiler/glsl/
Dlower_packing_builtins.cpp288 factory.emit(assign(u2, bit_and(u, constant(0xffffu)), WRITEMASK_X)); in unpack_uint_to_uvec2()
322 WRITEMASK_X)); in unpack_uint_to_ivec2()
351 factory.emit(assign(u4, bit_and(u, constant(0xffu)), WRITEMASK_X)); in unpack_uint_to_uvec4()
403 WRITEMASK_X)); in unpack_uint_to_ivec4()
1057 WRITEMASK_X)); in lower_pack_half_2x16()
1277 WRITEMASK_X)); in lower_unpack_half_2x16()
Dopt_vectorize.cpp226 case WRITEMASK_X: return SWIZZLE_X; in write_mask_to_swizzle()
241 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
Dir_builder.h31 #ifndef WRITEMASK_X
33 WRITEMASK_X = 0x1, enumerator
Dlower_vector_insert.cpp147 assign(temp, src_temp, WRITEMASK_X << i))); in handle_rvalue()
Dlower_vector_derefs.cpp119 WRITEMASK_X << i); in visit_enter()
/external/mesa3d/src/intel/compiler/
Dtest_vec4_cmod_propagation.cpp151 dest_null.writemask = WRITEMASK_X; in TEST_F()
415 dest_null.writemask = WRITEMASK_X; in TEST_F()
458 dest_null.writemask = WRITEMASK_X; in TEST_F()
490 dest_null.writemask = WRITEMASK_X; in TEST_F()
629 dest.writemask = WRITEMASK_X; in TEST_F()
666 dest.writemask = WRITEMASK_X; in TEST_F()
676 dest_null.writemask = WRITEMASK_X; in TEST_F()
751 dest.writemask = WRITEMASK_X; in TEST_F()
759 dest_null.writemask = WRITEMASK_X; in TEST_F()
Dbrw_vec4_cmod_propagation.cpp42 return (earlier->dst.writemask != WRITEMASK_X && in writemasks_incompatible()
164 scan_inst->dst.writemask == WRITEMASK_X) || in opt_cmod_propagation_local()
205 case WRITEMASK_X: in opt_cmod_propagation_local()
Dtest_vec4_register_coalesce.cpp134 m0.writemask = WRITEMASK_X; in TEST_F()
153 m0.writemask = WRITEMASK_X; in TEST_F()
Dbrw_vec4_visitor.cpp460 tmp_dst.writemask = WRITEMASK_X; in emit_unpack_half_2x16()
898 int writemask = devinfo->gen == 4 ? WRITEMASK_W : WRITEMASK_X; in emit_texture()
902 inst->dst.writemask = WRITEMASK_X; in emit_texture()
920 WRITEMASK_X), in emit_texture()
934 writemask = WRITEMASK_X; in emit_texture()
945 emit(MOV(dst_reg(MRF, param_base + 1, sample_index.type, WRITEMASK_X), in emit_texture()
970 emit(MOV(dst_reg(MRF, param_base + 2, type, WRITEMASK_X), lod)); in emit_texture()
1452 if (inst->dst.writemask & WRITEMASK_X) in emit_scratch_write()
Dtest_vec4_dead_code_eliminate.cpp147 test_mov->dst.writemask = WRITEMASK_X; in TEST_F()
Dbrw_vec4_surface_builder.cpp196 bld.MOV(writemask(srcs, WRITEMASK_X), in emit_untyped_atomic()
Dbrw_vec4_cse.cpp117 const uint32_t mask = ((ab_writemask & WRITEMASK_X) ? 0x000000ff : 0) | in operands_match()
Dbrw_reg.h532 WRITEMASK_X); in brw_vec1_reg()
883 WRITEMASK_X); in brw_notification_reg()
Dbrw_vec4_nir.cpp319 ubld.MOV(writemask(offset(tmp, 8, n), WRITEMASK_X), brw_imm_ud(di.i1)); in setup_imm_df()
455 int writemask = WRITEMASK_X; in nir_emit_intrinsic()
1580 tmp1.writemask = WRITEMASK_X; in nir_emit_alu()
1585 tmp2.writemask = WRITEMASK_X; in nir_emit_alu()
1839 case WRITEMASK_X: in nir_emit_alu()
/external/mesa3d/src/mesa/program/
Dprogramopt.c92 newInst[i].DstReg.WriteMask = (WRITEMASK_X << i); in insert_mvp_dp4_code()
321 inst->DstReg.WriteMask = WRITEMASK_X; in _mesa_append_fog_code()
342 inst->DstReg.WriteMask = WRITEMASK_X; in _mesa_append_fog_code()
356 inst->DstReg.WriteMask = WRITEMASK_X; in _mesa_append_fog_code()
369 inst->DstReg.WriteMask = WRITEMASK_X; in _mesa_append_fog_code()
Dprogram_lexer.l90 return WRITEMASK_X; in mask_from_char()
362 yylval->swiz_mask.mask = WRITEMASK_X
419 yylval->swiz_mask.mask = WRITEMASK_X
449 yylval->swiz_mask.mask = WRITEMASK_X;
Dprog_instruction.h76 #define WRITEMASK_X 0x1 macro
Dprog_instruction.c212 if (inst->DstReg.WriteMask == WRITEMASK_X || in _mesa_check_soa_dependencies()
Dprog_to_nir.c300 ptn_move_dest_masked(b, dest, nir_fexp2(b, nir_ffloor(b, srcx)), WRITEMASK_X); in ptn_exp()
319 ptn_move_dest_masked(b, dest, floor_log2, WRITEMASK_X); in ptn_log()
337 ptn_move_dest_masked(b, dest, nir_imm_float(b, 1.0), WRITEMASK_X); in ptn_dst()
384 WRITEMASK_X); in ptn_scs()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_liverange.cpp306 if (writemask & WRITEMASK_X) in record_write()
321 if (readmask & WRITEMASK_X) in record_read()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_fragprog.c247 if (inst->DstReg.WriteMask & WRITEMASK_X) in get_result_flags()
758 if (inst->DstReg.WriteMask & WRITEMASK_X) in upload_program()
777 if (inst->DstReg.WriteMask & WRITEMASK_X) { in upload_program()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp399 static st_dst_reg address_reg = st_dst_reg(PROGRAM_ADDRESS, WRITEMASK_X,
401 static st_dst_reg address_reg2 = st_dst_reg(PROGRAM_ADDRESS, WRITEMASK_X,
403 static st_dst_reg sampler_reladdr = st_dst_reg(PROGRAM_ADDRESS, WRITEMASK_X,
1639 temp_dst.writemask = WRITEMASK_X; in visit_expression()
1703 temp_dst.writemask = WRITEMASK_X; in visit_expression()
2261 temp_dst.writemask = WRITEMASK_X; in visit_expression()
2285 temp_dst.writemask = WRITEMASK_X; in visit_expression()
2309 temp_dst.writemask = WRITEMASK_X; in visit_expression()
2322 temp_dst.writemask = WRITEMASK_X << el; in visit_expression()
3126 assert(ir->write_mask == WRITEMASK_X); in visit()
[all …]

12