Home
last modified time | relevance | path

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

1234

/aosp_15_r20/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_compiler_util.c15 unsigned int rc_swizzle_to_writemask(unsigned int swz) in rc_swizzle_to_writemask()
28 rc_swizzle get_swz(unsigned int swz, rc_swizzle idx) in get_swz()
66 unsigned int combine_swizzles(unsigned int src, unsigned int swz) in combine_swizzles()
97 unsigned swz = GET_SWZ(swizzle, chan); in swizzle_mask() local
233 unsigned int swz = GET_SWZ(conversion_swizzle, i); in rc_normal_rewrite_writemask() local
267 unsigned int swz = GET_SWZ(swizzle, chan); in rc_rewrite_swizzle() local
293 rc_swizzle swz = GET_SWZ(swizzle, i); in lmul_swizzle() local
331 unsigned int swz = RC_SWIZZLE_UNUSED; in rc_source_type_swz() local
446 rc_swizzle swz = GET_SWZ(replace_reg->Swizzle, i); in rc_inst_can_use_presub() local
714 int swz = GET_SWZ(swizzle, chan); in rc_get_constant_value() local
[all …]
H A Dradeon_optimize.c200 unsigned int swz = GET_SWZ(src.Swizzle, chan); in is_src_uniform_constant() local
263 unsigned int swz = GET_SWZ(newsrc.Swizzle, chan); in constant_folding() local
330 unsigned int swz = GET_SWZ(src.Swizzle, chan); in src_has_const_swz() local
455 rc_swizzle swz = in is_presub_candidate() local
560 unsigned int i, swz; in peephole_add_presub_inv() local
607 unsigned int i, swz; in peephole_mad_presub_bias() local
700 unsigned int chan = 0, swz, i; in peephole_mul_omod() local
858 unsigned swz = GET_SWZ(inst_mul->U.I.SrcReg[temp_index].Swizzle, chan); in peephole_mul_omod() local
907 unsigned int swz = GET_SWZ(swz1, chan); in merge_swizzles() local
923 unsigned int swz = GET_SWZ(src.Swizzle, chan); in clean_negate() local
[all …]
H A Dr300_fragprog_swizzle.c59 unsigned int swz = GET_SWZ(swizzle, comp); in lookup_native_swizzle() local
103 unsigned int swz = GET_SWZ(reg.Swizzle, j); in r300_swizzle_is_native() local
148 unsigned int swz; in r300_swizzle_split() local
213 unsigned int swz = GET_SWZ(swizzle, 0); in r300FPTranslateAlphaSwizzle() local
H A Dradeon_pair_translate.c117 unsigned int swz = GET_SWZ(src.Swizzle, j); in src_uses() local
204 unsigned int swz = GET_SWZ(inst->SrcReg[i].Swizzle, j); in set_pair_instruction() local
246 unsigned int swz; in set_pair_instruction() local
H A Dr500_fragprog.c179 unsigned int swz = GET_SWZ(reg.Swizzle, i); in r500_swizzle_is_native() local
203 unsigned int swz = GET_SWZ(reg.Swizzle, i); in r500_swizzle_is_native() local
227 unsigned int swz = GET_SWZ(src.Swizzle, i); in r500_swizzle_split() local
H A Dradeon_remove_constants.c58 char swz = GET_SWZ(src->Swizzle, chan); in mark_used() local
154 for (unsigned swz = 0; swz < 4; swz++) { in init_constant_remap_state() local
233 unsigned swz; in rc_remove_unused_constants() local
H A Dradeon_program_pair.c113 unsigned int swz, in pair_foreach_source_callback()
172 unsigned int swz = RC_SWIZZLE_UNUSED; in rc_pair_foreach_source_that_rgb_reads() local
H A Dradeon_dataflow_swizzles.c83 unsigned new_swizzle, chan, swz0, swz1, swz2, swz3, found_swizzle, swz; in try_rewrite_constant() local
95 unsigned swz = GET_SWZ(reg->Swizzle, chan); in try_rewrite_constant() local
H A Dradeon_program_print.c143 static char rc_swizzle_char(unsigned int swz) in rc_swizzle_char()
163 rc_swizzle swz = GET_SWZ(swizzle, comp); in rc_print_swizzle() local
/aosp_15_r20/external/mesa3d/src/panfrost/compiler/valhall/
H A 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()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/r600/sfn/
H A 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()
H A Dsfn_valuefactory.cpp455 ValueFactory::src_vec4(const nir_src& source, Pin pin, const RegisterVec4::Swizzle& swz) in src_vec4()
778 RegisterVec4::Swizzle& swz, in dest_vec4_from_string()
809 RegisterVec4::Swizzle swz; in src_vec4_from_string() local
901 const char *swz = "xyzw"; in array_from_string() local
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineImageSamplingInstance.cpp1020 …or<ScalarType, 4> swizzle(const tcu::Vector<ScalarType, 4> &vec, const vk::VkComponentMapping &swz) in swizzle()
1034 tcu::Vec4 swizzleScaleBias(const tcu::Vec4 &vec, const vk::VkComponentMapping &swz, float zeroOrOne… in swizzleScaleBias()
1057 const vk::VkComponentMapping &swz) in swizzleT()
1066 const vk::VkComponentMapping &swz) in swizzleFromSRGB()
1075 const vk::VkComponentMapping &swz) in swizzle()
1092 bool isIdentitySwizzle(const vk::VkComponentMapping &swz) in isIdentitySwizzle()
1203const vk::VkComponentMapping &swz) in createSwizzledCopy()
1218 …ureCube> createSwizzledCopy(const tcu::TextureCubeView &texture, const vk::VkComponentMapping &swz) in createSwizzledCopy()
1237 …age(const TextureViewType &texture, const tcu::Sampler &sampler, const vk::VkComponentMapping &swz, in validateResultImage()
/aosp_15_r20/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_image.cpp96 const astcenc_swizzle& swz in swz_texel_skip()
110 const astcenc_swizzle& swz in swz_texel()
159 const astcenc_swizzle& swz in load_image_block()
276 const astcenc_swizzle& swz in load_image_block_fast_ldr()
342 const astcenc_swizzle& swz in store_image_block()
Dastcenc_vecmathlib_none_4.h153 template <int l0, int l1> ASTCENC_SIMD_INLINE vfloat4 swz() const in swz() function
161 template <int l0, int l1, int l2> ASTCENC_SIMD_INLINE vfloat4 swz() const in swz() function
169 template <int l0, int l1, int l2, int l3> ASTCENC_SIMD_INLINE vfloat4 swz() const in swz() function
Dastcenc_vecmathlib_neon_4.h148 template <int l0, int l1> ASTCENC_SIMD_INLINE vfloat4 swz() const in swz() function
156 template <int l0, int l1, int l2> ASTCENC_SIMD_INLINE vfloat4 swz() const in swz() function
164 template <int l0, int l1, int l2, int l3> ASTCENC_SIMD_INLINE vfloat4 swz() const in swz() function
Dastcenc_vecmathlib_sse_4.h155 template <int l0, int l1> ASTCENC_SIMD_INLINE vfloat4 swz() const in swz() function
166 template <int l0, int l1, int l2> ASTCENC_SIMD_INLINE vfloat4 swz() const in swz() function
176 template <int l0, int l1, int l2, int l3> ASTCENC_SIMD_INLINE vfloat4 swz() const in swz() function
/aosp_15_r20/external/mesa3d/src/panfrost/compiler/
H A 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()
/aosp_15_r20/external/mesa3d/src/intel/compiler/elk/
H A Delk_reg.h88 #define ELK_GET_SWZ(swz, idx) (((swz) >> ((idx)*2)) & 0x3) argument
141 elk_apply_swizzle_to_mask(unsigned swz, unsigned mask) in elk_apply_swizzle_to_mask()
159 elk_apply_inv_swizzle_to_mask(unsigned swz, unsigned mask) in elk_apply_inv_swizzle_to_mask()
188 unsigned swz[4]; in elk_swizzle_for_mask() local
213 elk_mask_for_swizzle(unsigned swz) in elk_mask_for_swizzle()
1165 elk_swizzle(struct elk_reg reg, unsigned swz) in elk_swizzle()
/aosp_15_r20/external/mesa3d/src/intel/isl/
H A Disl_surface_state.c609 struct isl_swizzle swz = info->view->swizzle; in isl_genX() local
1097 struct isl_swizzle swz = isl_get_shader_channel_select(info->format, in isl_genX() local
/aosp_15_r20/external/mesa3d/src/amd/vulkan/meta/
H A Dradv_meta_blit.c69 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader() local
101 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader_depth() local
133 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader_stencil() local
/aosp_15_r20/external/mesa3d/src/gallium/drivers/nouveau/nv50/
H A 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
/aosp_15_r20/external/mesa3d/src/mesa/program/
H A 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
H A Dprog_instruction.h60 #define GET_SWZ(swz, idx) (((swz) >> ((idx)*3)) & 0x7) argument
63 #define HAS_EXTENDED_SWIZZLE(swz) (swz & 0x924) argument
/aosp_15_r20/external/mesa3d/src/compiler/nir/
H A Dnir_lower_clip_cull_distance_arrays.c275 nir_def *swz = nir_channel(b, load_def, swizzle); in lower_distance_deref() local
301 nir_def *swz = nir_vector_extract(b, load_def, swizzle); in lower_distance_deref() local

1234