/aosp_15_r20/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_compiler_util.c | 15 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 D | radeon_optimize.c | 200 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 D | r300_fragprog_swizzle.c | 59 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 D | radeon_pair_translate.c | 117 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 D | r500_fragprog.c | 179 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 D | radeon_remove_constants.c | 58 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 D | radeon_program_pair.c | 113 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 D | radeon_dataflow_swizzles.c | 83 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 D | radeon_program_print.c | 143 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 D | va_pack.c | 227 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 D | sfn_alu_readport_validation.cpp | 77 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 D | sfn_valuefactory.cpp | 455 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 D | vktPipelineImageSamplingInstance.cpp | 1020 …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() 1203 … const 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/ |
D | astcenc_image.cpp | 96 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()
|
D | astcenc_vecmathlib_none_4.h | 153 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
|
D | astcenc_vecmathlib_neon_4.h | 148 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
|
D | astcenc_vecmathlib_sse_4.h | 155 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 D | bi_lower_swizzle.c | 34 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 D | elk_reg.h | 88 #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 D | isl_surface_state.c | 609 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 D | radv_meta_blit.c | 69 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 D | nv50_tex.c | 31 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 D | prog_parameter.c | 99 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 D | prog_instruction.h | 60 #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 D | nir_lower_clip_cull_distance_arrays.c | 275 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
|