Home
last modified time | relevance | path

Searched defs:swz (Results 1 – 25 of 80) sorted by relevance

1234

/external/mesa3d/src/panfrost/compiler/
Dbi_lower_swizzle.c34 bi_swizzle_replicates_8(enum bi_swizzle swz) in bi_swizzle_replicates_8()
179 bi_index swz = is_8 ? bi_swz_v4i8(&b, stripped) : bi_swz_v2i16(&b, stripped); in lower_swizzle() local
186 bi_swizzle_replicates_16(enum bi_swizzle swz) in bi_swizzle_replicates_16()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.c16 rc_swizzle_to_writemask(unsigned int swz) in rc_swizzle_to_writemask()
30 get_swz(unsigned int swz, rc_swizzle idx) in get_swz()
71 combine_swizzles(unsigned int src, unsigned int swz) in combine_swizzles()
108 unsigned swz = GET_SWZ(swizzle, chan); in swizzle_mask() local
236 unsigned int swz = GET_SWZ(conversion_swizzle, i); in rc_normal_rewrite_writemask() local
268 unsigned int swz = GET_SWZ(swizzle, chan); in rc_rewrite_swizzle() local
295 rc_swizzle swz = GET_SWZ(swizzle, i); in lmul_swizzle() local
331 unsigned int swz = RC_SWIZZLE_UNUSED; in rc_source_type_swz() local
438 rc_swizzle swz = GET_SWZ(replace_reg->Swizzle, i); in rc_inst_can_use_presub() local
683 int swz = GET_SWZ(swizzle, chan); in rc_get_constant_value() local
[all …]
Dr300_fragprog_swizzle.c60 unsigned int swz = GET_SWZ(swizzle, comp); in lookup_native_swizzle() local
104 unsigned int swz = GET_SWZ(reg.Swizzle, j); in r300_swizzle_is_native() local
148 unsigned int swz; in r300_swizzle_split() local
211 unsigned int swz = GET_SWZ(swizzle, 0); in r300FPTranslateAlphaSwizzle() local
Dradeon_optimize.c185 unsigned int swz = GET_SWZ(src.Swizzle, chan); in is_src_uniform_constant() local
247 unsigned int swz = GET_SWZ(newsrc.Swizzle, chan); in constant_folding() local
316 unsigned int swz = GET_SWZ(src.Swizzle, chan); in src_has_const_swz() local
425 rc_swizzle swz = get_swz(inst->U.I.SrcReg[i].Swizzle, chan); in is_presub_candidate() local
523 unsigned int i, swz; in peephole_add_presub_inv() local
568 unsigned int i, swz; in peephole_mad_presub_bias() local
652 unsigned int chan = 0, swz, i; in peephole_mul_omod() local
803 unsigned swz = GET_SWZ(inst_mul->U.I.SrcReg[temp_index].Swizzle, chan); in peephole_mul_omod() local
851 unsigned int swz = GET_SWZ(swz1, chan); in merge_swizzles() local
868 unsigned int swz = GET_SWZ(src.Swizzle, chan); in clean_negate() local
[all …]
Dradeon_pair_translate.c116 unsigned int swz = GET_SWZ(src.Swizzle, j); in src_uses() local
198 unsigned int swz = GET_SWZ(inst->SrcReg[i].Swizzle, j); in set_pair_instruction() local
240 unsigned int swz; in set_pair_instruction() local
Dr500_fragprog.c165 unsigned int swz = GET_SWZ(reg.Swizzle, i); in r500_swizzle_is_native() local
189 unsigned int swz = GET_SWZ(reg.Swizzle, i); in r500_swizzle_is_native() local
213 unsigned int swz = GET_SWZ(src.Swizzle, i); in r500_swizzle_split() local
Dradeon_remove_constants.c58 char swz = GET_SWZ(src->Swizzle, chan); in mark_used() local
155 for (unsigned swz = 0; swz < 4; swz++) { in init_constant_remap_state() local
234 unsigned swz; in rc_remove_unused_constants() local
Dradeon_program_pair.c108 rc_pair_foreach_src_fn cb, unsigned int swz, unsigned int src) in pair_foreach_source_callback()
160 unsigned int swz = RC_SWIZZLE_UNUSED; in rc_pair_foreach_source_that_rgb_reads() local
Dradeon_dataflow_swizzles.c97 unsigned new_swizzle, chan, swz0, swz1, swz2, swz3, found_swizzle, swz; in try_rewrite_constant() local
109 unsigned swz = GET_SWZ(reg->Swizzle, chan); in try_rewrite_constant() local
Dradeon_program_print.c196 rc_swizzle_char(unsigned int swz) in rc_swizzle_char()
225 rc_swizzle swz = GET_SWZ(swizzle, comp); in rc_print_swizzle() local
Dradeon_inline_literals.c92 unsigned swz, chan; in rc_inline_literals() local
Dradeon_program_constants.h104 #define GET_SWZ(swz, idx) (((swz) >> ((idx) * 3)) & 0x7) argument
106 #define SET_SWZ(swz, idx, newv) \ argument
Dradeon_code.c162 swizzle_char(unsigned swz) in swizzle_char()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_alu_readport_validation.cpp77 AluBankSwizzle swz) in schedule_vec_src()
99 AluReadportReservation::schedule_vec_instruction(const AluInstr& alu, AluBankSwizzle swz) in schedule_vec_instruction()
115 AluBankSwizzle swz) in schedule_trans_instruction()
216 AluReadportReservation::cycle_vec(AluBankSwizzle swz, int src) in cycle_vec()
230 AluReadportReservation::cycle_trans(AluBankSwizzle swz, int src) in cycle_trans()
/external/mesa3d/src/panfrost/compiler/valhall/
Dva_pack.c227 va_pack_widen_f32(const bi_instr *I, enum bi_swizzle swz) in va_pack_widen_f32()
242 va_pack_swizzle_f16(const bi_instr *I, enum bi_swizzle swz) in va_pack_swizzle_f16()
259 va_pack_widen(const bi_instr *I, enum bi_swizzle swz, enum va_size size) in va_pack_widen()
326 va_pack_halfswizzle(const bi_instr *I, enum bi_swizzle swz) in va_pack_halfswizzle()
349 va_pack_shift_lanes(const bi_instr *I, enum bi_swizzle swz) in va_pack_shift_lanes()
368 va_pack_combine(const bi_instr *I, enum bi_swizzle swz) in va_pack_combine()
/external/mesa3d/src/intel/isl/
Disl_surface_state.c609 struct isl_swizzle swz = info->view->swizzle; in isl_genX() local
1104 struct isl_swizzle swz = isl_get_shader_channel_select(info->format, in isl_genX() local
/external/mesa3d/src/imagination/vulkan/
Dpvr_tex_state.c39 enum pipe_swizzle swz) in pvr_get_hw_swizzle()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp1028 …or<ScalarType, 4> swizzle(const tcu::Vector<ScalarType, 4> &vec, const vk::VkComponentMapping &swz) in swizzle()
1042 tcu::Vec4 swizzleScaleBias(const tcu::Vec4 &vec, const vk::VkComponentMapping &swz, float zeroOrOne… in swizzleScaleBias()
1065 const vk::VkComponentMapping &swz) in swizzleT()
1074 const vk::VkComponentMapping &swz) in swizzleFromSRGB()
1083 const vk::VkComponentMapping &swz) in swizzle()
1100 bool isIdentitySwizzle(const vk::VkComponentMapping &swz) in isIdentitySwizzle()
1211const vk::VkComponentMapping &swz) in createSwizzledCopy()
1226 …ureCube> createSwizzledCopy(const tcu::TextureCubeView &texture, const vk::VkComponentMapping &swz) in createSwizzledCopy()
1245 …age(const TextureViewType &texture, const tcu::Sampler &sampler, const vk::VkComponentMapping &swz, in validateResultImage()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_tex.c31 nv50_tic_swizzle(const struct nv50_format *fmt, unsigned swz, bool tex_int) in nv50_tic_swizzle()
70 uint32_t swz[4]; in nv50_create_texture_view() local
/external/mesa3d/src/mesa/program/
Dprog_parameter.c99 GLuint swz[4]; in lookup_parameter_constant() local
403 GLuint swz = p->Size; /* 1, 2 or 3 for Y, Z, W */ in _mesa_add_typed_unnamed_constant() local
Dprog_instruction.h60 #define GET_SWZ(swz, idx) (((swz) >> ((idx)*3)) & 0x7) argument
63 #define HAS_EXTENDED_SWIZZLE(swz) (swz & 0x924) argument
/external/mesa3d/src/compiler/nir/
Dnir_lower_clip_cull_distance_arrays.c270 nir_def *swz = nir_channel(b, load_def, swizzle); in lower_distance_deref() local
296 nir_def *swz = nir_vector_extract(b, load_def, swizzle); in lower_distance_deref() local
/external/mesa3d/src/amd/vulkan/meta/
Dradv_meta_blit.c66 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader() local
98 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader_depth() local
130 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader_stencil() local
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_format.h23 } swz[6]; member
/external/deqp/modules/gles3/functional/
Des3fTextureSwizzleTests.cpp49 static int swizzle(const tcu::RGBA &c, uint32_t swz) in swizzle()
311 uint32_t swz = swizzles[swzNdx].swizzle; in init() local

1234