Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/glsl/
Dlower_offset_array.cpp75 base_ir->insert_before(assign(var, swizzle_w(tex), 1 << i)); in handle_rvalue()
Dlower_blend_equation_advanced.cpp309 f.emit(assign(dst_alpha, swizzle_w(fb))); in calc_blend_result()
317 f.emit(assign(src_alpha, swizzle_w(src))); in calc_blend_result()
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()
Dir_builder.h227 ir_swizzle *swizzle_w(operand a);
Dir_builder.cpp157 swizzle_w(operand a) in swizzle_w() function
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_shader_dump.c470 …if (srcreg.swizzle_x != 0 || srcreg.swizzle_y != 1 || srcreg.swizzle_z != 2 || srcreg.swizzle_w !=… in dump_srcreg()
472 …srcreg.swizzle_y && srcreg.swizzle_y == srcreg.swizzle_z && srcreg.swizzle_z == srcreg.swizzle_w) { in dump_srcreg()
479 _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()
841 tex->projector = swizzle_w(texcoord); in load_texture()
956 p->emit(assign(temp_var, mul(f, swizzle_w(oparams)))); in emit_fog_instructions()
Dformat_utils.c830 typed_dst[3] = tmp[swizzle_w]; \
862 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()
164 output->swizzle_w = G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_W(word1);
Dr600_asm.h155 unsigned swizzle_w; member
Dr600_shader.c2400 output.swizzle_w = 3; in generate_gs_copy_shader()
2417 output.swizzle_w = 7; in generate_gs_copy_shader()
2435 output.swizzle_w = 7; in generate_gs_copy_shader()
2455 output.swizzle_w = 0; in generate_gs_copy_shader()
2475 output.swizzle_w = 5; /* 1 */ in generate_gs_copy_shader()
2495 output.swizzle_w = 7; in generate_gs_copy_shader()
2512 output.swizzle_w = 7; in generate_gs_copy_shader()
3684 output[j].swizzle_w = 3; in r600_shader_from_tgsi()
3702 output[j].swizzle_w = 7; in r600_shader_from_tgsi()
3711 output[j].swizzle_w = 7; in r600_shader_from_tgsi()
[all …]
Dr600_asm.c203 output->swizzle_w == bc->cf_last->output.swizzle_w && in r600_bytecode_add_output()
1673 S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_W(cf->output.swizzle_w) | in r600_bytecode_cf_build()
2128 o += print_swizzle(cf->output.swizzle_w); in r600_bytecode_disasm()
2770 output->swizzle_w = G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_W(word1);
/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/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/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.h986 unsigned swizzle_w) in ureg_predicate() argument
994 reg.PredSwizzleW = swizzle_w; in ureg_predicate()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_build.c861 unsigned swizzle_w, in tgsi_build_src_register() argument
876 assert( swizzle_w <= TGSI_SWIZZLE_W ); in tgsi_build_src_register()
884 src_register.SwizzleW = swizzle_w; in tgsi_build_src_register()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_setup.c224 unsigned swizzle_w) in emit_swizzle() argument
232 swizzles[3] = LLVMConstInt(ctx->i32, swizzle_w, 0); in emit_swizzle()
/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()