Home
last modified time | relevance | path

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

/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 …g.swizzle_x == srcreg.swizzle_y && srcreg.swizzle_y == srcreg.swizzle_z && srcreg.swizzle_z == src… in dump_srcreg()
478 _debug_printf( "%c", "xyzw"[srcreg.swizzle_z] ); in dump_srcreg()
Dsvga_shader.h165 unsigned swizzle_z: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
453 swizzle_z = src_reg1->Register.SwizzleZ; in i915_fpc_optimize_mov_after_mov()
462 swizzle_z = src_reg2->Register.SwizzleZ; in i915_fpc_optimize_mov_after_mov()
469 src_reg2->Register.SwizzleZ = swizzle_z; in i915_fpc_optimize_mov_after_mov()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_build.c800 int index, int file, int swizzle_x, int swizzle_y, int swizzle_z, in tgsi_build_texture_offset() argument
810 texture_offset.SwizzleZ = swizzle_z; in tgsi_build_texture_offset()
842 unsigned swizzle_z, in tgsi_build_src_register() argument
857 assert( swizzle_z <= TGSI_SWIZZLE_W ); in tgsi_build_src_register()
865 src_register.SwizzleZ = swizzle_z; in tgsi_build_src_register()
Dtgsi_ureg.h985 unsigned swizzle_z, in ureg_predicate() argument
993 reg.PredSwizzleZ = swizzle_z; in ureg_predicate()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_build.c817 int index, int file, int swizzle_x, int swizzle_y, int swizzle_z, in tgsi_build_texture_offset() argument
828 texture_offset.SwizzleZ = swizzle_z; in tgsi_build_texture_offset()
860 unsigned swizzle_z, in tgsi_build_src_register() argument
875 assert( swizzle_z <= TGSI_SWIZZLE_W ); in tgsi_build_src_register()
883 src_register.SwizzleZ = swizzle_z; in tgsi_build_src_register()
/external/mesa3d/src/gallium/drivers/r600/
Deg_asm.c92 S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Z(cf->output.swizzle_z) | in eg_bytecode_cf_build()
163 output->swizzle_z = G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Z(word1);
Dr600_asm.h154 unsigned swizzle_z; member
Dr600_asm.c202 output->swizzle_z == bc->cf_last->output.swizzle_z && in r600_bytecode_add_output()
1672 S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Z(cf->output.swizzle_z) | in r600_bytecode_cf_build()
2127 o += print_swizzle(cf->output.swizzle_z); in r600_bytecode_disasm()
2769 output->swizzle_z = G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Z(word1);
Dr600_shader.c2399 output.swizzle_z = 2; in generate_gs_copy_shader()
2416 output.swizzle_z = 7; in generate_gs_copy_shader()
2434 output.swizzle_z = 0; in generate_gs_copy_shader()
2454 output.swizzle_z = 7; in generate_gs_copy_shader()
2474 output.swizzle_z = 4; /* 0 */ in generate_gs_copy_shader()
2494 output.swizzle_z = 7; in generate_gs_copy_shader()
2511 output.swizzle_z = 7; in generate_gs_copy_shader()
3683 output[j].swizzle_z = 2; in r600_shader_from_tgsi()
3701 output[j].swizzle_z = 7; in r600_shader_from_tgsi()
3710 output[j].swizzle_z = 7; in r600_shader_from_tgsi()
[all …]
/external/mesa3d/src/compiler/glsl/
Dlower_cs_derived.cpp192 mul(mul(swizzle_z(gl_LocalInvocationID), swizzle_x(gl_WorkGroupSize->clone(shader, NULL))), in make_gl_LocalInvocationIndex()
Dlower_blend_equation_advanced.cpp172 return min2(min2(swizzle_x(v), swizzle_y(v)), swizzle_z(v)); in minv3()
179 return max2(max2(swizzle_x(v), swizzle_y(v)), swizzle_z(v)); in maxv3()
Dlower_packing_builtins.cpp252 swizzle_z(u), constant(16u), constant(8u)), in pack_uvec4_to_uint()
261 lshift(swizzle_z(u), constant(16u))), in pack_uvec4_to_uint()
Dir_builder.h226 ir_swizzle *swizzle_z(operand a);
Dir_builder.cpp151 swizzle_z(operand a) in swizzle_z() function
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_aos.c71 unsigned swizzle_z, in swizzle_aos() argument
79 assert(swizzle_z < 4); in swizzle_aos()
84 swizzles[bld->inv_swizzles[2]] = bld->swizzles[swizzle_z]; in swizzle_aos()
/external/libdrm/intel/
Dintel_decode.c762 const char *swizzle_z = i915_get_channel_swizzle((a1 >> 20) & 0xf); in i915_get_instruction_src0() local
767 sprintf(swizzle, ".%s%s%s%s", swizzle_x, swizzle_y, swizzle_z, in i915_get_instruction_src0()
780 const char *swizzle_z = i915_get_channel_swizzle((a2 >> 28) & 0xf); in i915_get_instruction_src1() local
785 sprintf(swizzle, ".%s%s%s%s", swizzle_x, swizzle_y, swizzle_z, in i915_get_instruction_src1()
797 const char *swizzle_z = i915_get_channel_swizzle((a2 >> 4) & 0xf); in i915_get_instruction_src2() local
802 sprintf(swizzle, ".%s%s%s%s", swizzle_x, swizzle_y, swizzle_z, in i915_get_instruction_src2()
/external/mesa3d/src/mesa/main/
Dformat_utils.c828 typed_dst[2] = tmp[swizzle_z]; \
861 const uint8_t swizzle_z = swizzle[2]; \
Dff_fragment_shader.cpp944 f = mul(f, swizzle_z(oparams)); in emit_fog_instructions()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_setup.c223 unsigned swizzle_z, in emit_swizzle() argument
231 swizzles[2] = LLVMConstInt(ctx->i32, swizzle_z, 0); in emit_swizzle()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c1738 unsigned swizzle_z, in emit_tex_swizzle() argument
1741 const unsigned swizzleIn[4] = {swizzle_x, swizzle_y, swizzle_z, swizzle_w}; in emit_tex_swizzle()