Home
last modified time | relevance | path

Searched defs:swz (Results 1 – 25 of 83) 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.c39 unsigned int rc_swizzle_to_writemask(unsigned int swz) in rc_swizzle_to_writemask()
52 rc_swizzle get_swz(unsigned int swz, rc_swizzle idx) in get_swz()
90 unsigned int combine_swizzles(unsigned int src, unsigned int swz) in combine_swizzles()
121 unsigned swz = GET_SWZ(swizzle, chan); in swizzle_mask() local
257 unsigned int swz = GET_SWZ(conversion_swizzle, i); in rc_normal_rewrite_writemask() local
291 unsigned int swz = GET_SWZ(swizzle, chan); in rc_rewrite_swizzle() local
317 rc_swizzle swz = GET_SWZ(swizzle, i); in lmul_swizzle() local
355 unsigned int swz = RC_SWIZZLE_UNUSED; in rc_source_type_swz() local
464 rc_swizzle swz = GET_SWZ(replace_reg->Swizzle, i); in rc_inst_can_use_presub() local
732 int swz = GET_SWZ(swizzle, chan); in rc_get_constant_value() local
[all …]
Dr300_fragprog_swizzle.c82 unsigned int swz = GET_SWZ(swizzle, comp); in lookup_native_swizzle() local
126 unsigned int swz = GET_SWZ(reg.Swizzle, j); in r300_swizzle_is_native() local
171 unsigned int swz; in r300_swizzle_split() local
236 unsigned int swz = GET_SWZ(swizzle, 0); in r300FPTranslateAlphaSwizzle() local
Dradeon_pair_translate.c139 unsigned int swz = GET_SWZ(src.Swizzle, j); in src_uses() local
226 unsigned int swz = GET_SWZ(inst->SrcReg[i].Swizzle, j); in set_pair_instruction() local
268 unsigned int swz; in set_pair_instruction() local
Dradeon_optimize.c222 unsigned int swz = GET_SWZ(src.Swizzle, chan); in is_src_uniform_constant() local
285 unsigned int swz = GET_SWZ(newsrc.Swizzle, chan); in constant_folding() local
352 unsigned int swz = GET_SWZ(src.Swizzle, chan); in src_has_const_swz() local
477 rc_swizzle swz = in is_presub_candidate() local
582 unsigned int i, swz; in peephole_add_presub_inv() local
629 unsigned int i, swz; in peephole_mad_presub_bias() local
714 unsigned int chan = 0, swz, i; in peephole_mul_omod() local
890 unsigned int swz = GET_SWZ(swz1, chan); in merge_swizzles() local
906 unsigned int swz = GET_SWZ(src.Swizzle, chan); in clean_negate() local
921 unsigned int swz = GET_SWZ(orig_swz, chan); in fill_swizzle() local
[all …]
Dr500_fragprog.c201 unsigned int swz = GET_SWZ(reg.Swizzle, i); in r500_swizzle_is_native() local
225 unsigned int swz = GET_SWZ(reg.Swizzle, i); in r500_swizzle_is_native() local
249 unsigned int swz = GET_SWZ(src.Swizzle, i); in r500_swizzle_split() local
Dradeon_program_pair.c135 unsigned int swz, in pair_foreach_source_callback()
194 unsigned int swz = RC_SWIZZLE_UNUSED; in rc_pair_foreach_source_that_rgb_reads() local
Dradeon_dataflow_swizzles.c105 unsigned new_swizzle, chan, swz0, swz1, swz2, swz3, found_swizzle, swz; in try_rewrite_constant() local
117 unsigned swz = GET_SWZ(reg->Swizzle, chan); in try_rewrite_constant() local
Dradeon_program_print.c170 static char rc_swizzle_char(unsigned int swz) in rc_swizzle_char()
190 rc_swizzle swz = GET_SWZ(swizzle, comp); in rc_print_swizzle() local
Dradeon_inline_literals.c109 unsigned swz, chan; in rc_inline_literals() local
Dradeon_program_constants.h125 #define GET_SWZ(swz, idx) (((swz) >> ((idx)*3)) & 0x7) argument
127 #define SET_SWZ(swz, idx, newv) \ argument
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_alu_readport_validation.cpp97 AluBankSwizzle swz) in schedule_vec_src()
119 AluReadportReservation::schedule_vec_instruction(const AluInstr& alu, AluBankSwizzle swz) in schedule_vec_instruction()
135 AluBankSwizzle swz) in schedule_trans_instruction()
236 AluReadportReservation::cycle_vec(AluBankSwizzle swz, int src) in cycle_vec()
250 AluReadportReservation::cycle_trans(AluBankSwizzle swz, int src) in cycle_trans()
Dsfn_valuefactory.cpp475 ValueFactory::src_vec4(const nir_src& source, Pin pin, const RegisterVec4::Swizzle& swz) in src_vec4()
798 RegisterVec4::Swizzle& swz, in dest_vec4_from_string()
829 RegisterVec4::Swizzle swz; in src_vec4_from_string() local
921 const char *swz = "xyzw"; in array_from_string() local
/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/imagination/vulkan/
Dpvr_tex_state.c39 enum pipe_swizzle swz) in pvr_get_hw_swizzle()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
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()
/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.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
/external/mesa3d/src/amd/vulkan/meta/
Dradv_meta_blit.c92 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader() local
124 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader_depth() local
156 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader_stencil() local
/external/mesa3d/src/intel/compiler/
Dbrw_reg.h74 #define BRW_GET_SWZ(swz, idx) (((swz) >> ((idx)*2)) & 0x3) argument
127 brw_apply_swizzle_to_mask(unsigned swz, unsigned mask) in brw_apply_swizzle_to_mask()
145 brw_apply_inv_swizzle_to_mask(unsigned swz, unsigned mask) in brw_apply_inv_swizzle_to_mask()
174 unsigned swz[4]; in brw_swizzle_for_mask() local
199 brw_mask_for_swizzle(unsigned swz) in brw_mask_for_swizzle()
1155 brw_swizzle(struct brw_reg reg, unsigned swz) in brw_swizzle()
/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
/external/mesa3d/src/intel/compiler/elk/
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()
1186 elk_swizzle(struct elk_reg reg, unsigned swz) in elk_swizzle()

1234