Home
last modified time | relevance | path

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

12

/third_party/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.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()
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.h230 ir_swizzle *swizzle_w(operand a);
/third_party/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()
Dst_cb_drawtex.c337 vp.swizzle_w = PIPE_VIEWPORT_SWIZZLE_POSITIVE_W; in st_DrawTex()
/third_party/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
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c458 unsigned swizzle_x, swizzle_y, swizzle_z, swizzle_w; in i915_fpc_optimize_mov_after_mov() local
481 swizzle_w = src_reg1->Register.SwizzleW; in i915_fpc_optimize_mov_after_mov()
491 swizzle_w = src_reg2->Register.SwizzleW; in i915_fpc_optimize_mov_after_mov()
497 src_reg2->Register.SwizzleW = swizzle_w; in i915_fpc_optimize_mov_after_mov()
/third_party/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp446 return src->type->is_scalar() ? src : swizzle_w(src); in emit_combine_source()
449 ir_rvalue *const scalar = src->type->is_scalar() ? src : swizzle_w(src); in emit_combine_source()
677 val = swizzle_w(smear(val)); in emit_texenv()
835 tex->projector = swizzle_w(texcoord); in load_texture()
950 p->emit(assign(temp_var, mul(f, swizzle_w(oparams)))); in emit_fog_instructions()
/third_party/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
/third_party/mesa3d/src/gallium/tests/graw/
Dshader-leak.c72 vp.swizzle_w = PIPE_VIEWPORT_SWIZZLE_POSITIVE_W; in set_viewport()
Dtri-gs.c73 vp.swizzle_w = PIPE_VIEWPORT_SWIZZLE_POSITIVE_W; in set_viewport()
Dtri-instanced.c102 vp.swizzle_w = PIPE_VIEWPORT_SWIZZLE_POSITIVE_W; in set_viewport()
Dgraw_util.h207 vp.swizzle_w = PIPE_VIEWPORT_SWIZZLE_POSITIVE_W; in graw_util_viewport()
/third_party/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()
/third_party/mesa3d/src/gallium/tests/trivial/
Dtri.c200 p->viewport.swizzle_w = PIPE_VIEWPORT_SWIZZLE_POSITIVE_W; in init_prog()
Dquad-tex.c257 p->viewport.swizzle_w = PIPE_VIEWPORT_SWIZZLE_POSITIVE_W; in init_prog()
/third_party/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()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_build.c855 unsigned swizzle_w, in tgsi_build_src_register() argument
870 assert( swizzle_w <= TGSI_SWIZZLE_W ); in tgsi_build_src_register()
878 src_register.SwizzleW = swizzle_w; in tgsi_build_src_register()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h229 enum pipe_viewport_swizzle swizzle_w:8; member
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_ir_to_assembly.cpp384 output.swizzle_w = gpr.chan_i(3); in emit_vs_pos_export()
412 output.swizzle_w = gpr.chan_i(3); in emit_vs_param_export()
447 output.swizzle_w = m_key->ps.alpha_to_one ? 5 : gpr.chan_i(3); ; in emit_fs_pixel_export()
822 cf.swizzle_w = 3; in visit()
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_init.c330 p->viewport.swizzle_w = PIPE_VIEWPORT_SWIZZLE_POSITIVE_W; in pp_init_fbos()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_matrix_filter.c285 viewport.swizzle_w = PIPE_VIEWPORT_SWIZZLE_POSITIVE_W; in vl_matrix_filter_render()

12