Home
last modified time | relevance | path

Searched refs:swizzle_w (Results 1 – 25 of 26) sorted by relevance

12

/external/mesa3d/src/compiler/glsl/
Dlower_offset_array.cpp75 base_ir->insert_before(assign(var, swizzle_w(tex), 1 << i)); in handle_rvalue()
Dlower_packing_builtins.cpp253 swizzle_w(u), constant(24u), constant(8u)); in pack_uvec4_to_uint()
260 return bit_or(bit_or(lshift(swizzle_w(u), constant(24u)), in pack_uvec4_to_uint()
Dlower_blend_equation_advanced.cpp310 f.emit(assign(dst_alpha, swizzle_w(fb))); in calc_blend_result()
318 f.emit(assign(src_alpha, swizzle_w(src))); in calc_blend_result()
Dir_builder.h230 ir_swizzle *swizzle_w(operand a);
Dir_builder.cpp157 swizzle_w(operand a) in swizzle_w() function
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_viewport.c73 … st->state.viewport[i].swizzle_w = viewport_swizzle_from_glenum(ctx->ViewportArray[i].SwizzleW); in st_update_viewport()
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_shader_dump.c473 …if (srcreg.swizzle_x != 0 || srcreg.swizzle_y != 1 || srcreg.swizzle_z != 2 || srcreg.swizzle_w !=… in dump_srcreg()
475 …srcreg.swizzle_y && srcreg.swizzle_y == srcreg.swizzle_z && srcreg.swizzle_z == srcreg.swizzle_w) { in dump_srcreg()
482 _debug_printf( "%c", "xyzw"[srcreg.swizzle_w] ); in dump_srcreg()
Dsvga_shader.h166 unsigned swizzle_w:2; member
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c434 unsigned swizzle_x, swizzle_y, swizzle_z, swizzle_w; in i915_fpc_optimize_mov_after_mov() local
454 swizzle_w = src_reg1->Register.SwizzleW; in i915_fpc_optimize_mov_after_mov()
464 swizzle_w = src_reg2->Register.SwizzleW; in i915_fpc_optimize_mov_after_mov()
470 src_reg2->Register.SwizzleW = swizzle_w; in i915_fpc_optimize_mov_after_mov()
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp450 return src->type->is_scalar() ? src : swizzle_w(src); in emit_combine_source()
453 ir_rvalue *const scalar = src->type->is_scalar() ? src : swizzle_w(src); in emit_combine_source()
681 val = swizzle_w(smear(val)); in emit_texenv()
839 tex->projector = swizzle_w(texcoord); in load_texture()
954 p->emit(assign(temp_var, mul(f, swizzle_w(oparams)))); in emit_fog_instructions()
Dformat_utils.c860 typed_dst[3] = tmp[swizzle_w]; \
892 const uint8_t swizzle_w = swizzle[3]; \
/external/mesa3d/src/gallium/drivers/r600/
Deg_asm.c93 S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_W(cf->output.swizzle_w) | in eg_bytecode_cf_build()
166 output->swizzle_w = G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_W(word1);
Dr600_asm.h170 unsigned swizzle_w; member
Dr600_asm.c203 output->swizzle_w == bc->cf_last->output.swizzle_w && in r600_bytecode_add_output()
1712 S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_W(cf->output.swizzle_w) | in r600_bytecode_cf_build()
2176 o += print_swizzle(cf->output.swizzle_w); in r600_bytecode_disasm()
2856 output->swizzle_w = G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_W(word1);
Dr600_shader.c1627 cf.swizzle_w = 3; in tgsi_src()
2718 output.swizzle_w = 3; in generate_gs_copy_shader()
2735 output.swizzle_w = 7; in generate_gs_copy_shader()
2753 output.swizzle_w = 7; in generate_gs_copy_shader()
2773 output.swizzle_w = 0; in generate_gs_copy_shader()
2793 output.swizzle_w = 5; /* 1 */ in generate_gs_copy_shader()
2813 output.swizzle_w = 7; in generate_gs_copy_shader()
2830 output.swizzle_w = 7; in generate_gs_copy_shader()
4082 output[j].swizzle_w = 3; in r600_shader_from_tgsi()
4100 output[j].swizzle_w = 7; in r600_shader_from_tgsi()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_aos.c72 unsigned swizzle_w) in swizzle_aos() argument
80 assert(swizzle_w < 4); in swizzle_aos()
85 swizzles[bld->inv_swizzles[3]] = bld->swizzles[swizzle_w]; in swizzle_aos()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_build.c843 unsigned swizzle_w, in tgsi_build_src_register() argument
858 assert( swizzle_w <= TGSI_SWIZZLE_W ); in tgsi_build_src_register()
866 src_register.SwizzleW = swizzle_w; in tgsi_build_src_register()
Dtgsi_ureg.h993 unsigned swizzle_w) in ureg_predicate() argument
1001 reg.PredSwizzleW = swizzle_w; in ureg_predicate()
/external/libdrm/intel/
Dintel_decode.c763 const char *swizzle_w = i915_get_channel_swizzle((a1 >> 16) & 0xf); in i915_get_instruction_src0() local
768 swizzle_w); in i915_get_instruction_src0()
781 const char *swizzle_w = i915_get_channel_swizzle((a2 >> 24) & 0xf); in i915_get_instruction_src1() local
786 swizzle_w); in i915_get_instruction_src1()
798 const char *swizzle_w = i915_get_channel_swizzle((a2 >> 0) & 0xf); in i915_get_instruction_src2() local
803 swizzle_w); in i915_get_instruction_src2()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h220 enum pipe_viewport_swizzle swizzle_w:8; member
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_build.c859 unsigned swizzle_w, in tgsi_build_src_register() argument
874 assert( swizzle_w <= TGSI_SWIZZLE_W ); in tgsi_build_src_register()
882 src_register.SwizzleW = swizzle_w; in tgsi_build_src_register()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_ir_to_assembly.cpp397 output.swizzle_w = gpr.chan_i(3); in emit_vs_pos_export()
425 output.swizzle_w = gpr.chan_i(3); in emit_vs_param_export()
460 output.swizzle_w = m_key->ps.alpha_to_one ? 5 : gpr.chan_i(3); ; in emit_fs_pixel_export()
826 cf.swizzle_w = 3; in emit_wr_scratch()
/external/mesa3d/src/compiler/nir/
Dnir_serialize.c508 unsigned swizzle_w:2; member
884 src.alu.swizzle_w = alu->src[i].swizzle[3]; in write_alu()
958 alu->src[i].swizzle[3] = src.alu.swizzle_w; in read_alu()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state_validate.c441 vp->swizzle_w << 12); in nvc0_validate_viewport()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c1739 unsigned swizzle_w) in emit_tex_swizzle() argument
1741 const unsigned swizzleIn[4] = {swizzle_x, swizzle_y, swizzle_z, swizzle_w}; in emit_tex_swizzle()

12