Home
last modified time | relevance | path

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

1234

/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dr300_fragprog_swizzle.c79 unsigned int swz = GET_SWZ(swizzle, comp); in lookup_native_swizzle() local
123 unsigned int swz = GET_SWZ(reg.Swizzle, j); in r300_swizzle_is_native() local
166 unsigned int swz; in r300_swizzle_split() local
231 unsigned int swz = GET_SWZ(swizzle, 0); in r300FPTranslateAlphaSwizzle() local
Dradeon_optimize.c206 unsigned int swz = GET_SWZ(src.Swizzle, chan); in is_src_uniform_constant() local
231 rc_swizzle swz = 0; in constant_folding_mad() local
272 rc_swizzle swz = 0; in constant_folding_mul() local
305 rc_swizzle swz = 0; in constant_folding_add() local
364 unsigned int swz = GET_SWZ(newsrc.Swizzle, chan); in constant_folding() local
441 unsigned int swz = GET_SWZ(src.Swizzle, chan); in src_has_const_swz() local
560 rc_swizzle swz = in is_presub_candidate() local
652 unsigned int i, swz; in peephole_add_presub_inv() local
726 unsigned int chan = 0, swz, i; in peephole_mul_omod() local
892 unsigned int swz = GET_SWZ(swz1, chan); in merge_swizzles() local
Dradeon_compiler_util.c38 unsigned int rc_swizzle_to_writemask(unsigned int swz) in rc_swizzle_to_writemask()
51 rc_swizzle get_swz(unsigned int swz, rc_swizzle idx) in get_swz()
89 unsigned int combine_swizzles(unsigned int src, unsigned int swz) in combine_swizzles()
120 unsigned swz = GET_SWZ(swizzle, chan); in swizzle_mask() local
242 unsigned int swz = GET_SWZ(conversion_swizzle, i); in rc_normal_rewrite_writemask() local
276 unsigned int swz = GET_SWZ(swizzle, chan); in rc_rewrite_swizzle() local
302 rc_swizzle swz = GET_SWZ(swizzle, i); in lmul_swizzle() local
340 unsigned int swz = RC_SWIZZLE_UNUSED; in rc_source_type_swz() local
698 int swz = GET_SWZ(swizzle, chan); in rc_get_constant_value() local
717 unsigned int swz, chan; in rc_get_scalar_src_swz() 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
252 unsigned int swz; in set_pair_instruction() local
Dr500_fragprog.c202 unsigned int swz = GET_SWZ(reg.Swizzle, i); in r500_swizzle_is_native() local
226 unsigned int swz = GET_SWZ(reg.Swizzle, i); in r500_swizzle_is_native() local
250 unsigned int swz = GET_SWZ(src.Swizzle, i); in r500_swizzle_split() local
Dradeon_dataflow_swizzles.c98 unsigned new_swizzle, chan, swz0, swz1, swz2, swz3, found_swizzle, swz; in try_rewrite_constant() local
110 unsigned swz = GET_SWZ(reg->Swizzle, chan); in try_rewrite_constant() 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_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.c110 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
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_alu_readport_validation.cpp92 bool AluReadportReservation::schedule_vec_src(PVirtualValue src[3], int nsrc, AluBankSwizzle swz) in schedule_vec_src()
113 bool AluReadportReservation::schedule_vec_instruction(const AluInstr& alu, AluBankSwizzle swz) in schedule_vec_instruction()
127 bool AluReadportReservation::schedule_trans_instruction(const AluInstr& alu, AluBankSwizzle swz) in schedule_trans_instruction()
215 int AluReadportReservation::cycle_vec(AluBankSwizzle swz, int src) in cycle_vec()
228 int AluReadportReservation::cycle_trans(AluBankSwizzle swz, int src) in cycle_trans()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_lower_swizzle.c141 bi_swizzle_replicates_8(enum bi_swizzle swz) in bi_swizzle_replicates_8()
155 bi_swizzle_replicates_16(enum bi_swizzle swz) in bi_swizzle_replicates_16()
/third_party/mesa3d/src/panfrost/bifrost/valhall/
Dva_pack.c198 va_pack_widen_f32(const bi_instr *I, enum bi_swizzle swz) in va_pack_widen_f32()
209 va_pack_swizzle_f16(const bi_instr *I, enum bi_swizzle swz) in va_pack_swizzle_f16()
221 va_pack_widen(const bi_instr *I, enum bi_swizzle swz, enum va_size size) in va_pack_widen()
263 va_pack_halfswizzle(const bi_instr *I, enum bi_swizzle swz) in va_pack_halfswizzle()
278 va_pack_shift_lanes(const bi_instr *I, enum bi_swizzle swz) in va_pack_shift_lanes()
291 va_pack_combine(const bi_instr *I, enum bi_swizzle swz) in va_pack_combine()
Dva_lower_constants.c190 enum bi_swizzle swz = I->src[s].swizzle; in va_lower_constants() local
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_tex_state.c40 enum pipe_swizzle swz) in pvr_get_hw_swizzle()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp1029 …r<ScalarType, 4> swizzle (const tcu::Vector<ScalarType, 4>& vec, const vk::VkComponentMapping& swz) in swizzle()
1045 tcu::Vec4 swizzleScaleBias (const tcu::Vec4& vec, const vk::VkComponentMapping& swz, float zeroOrOn… in swizzleScaleBias()
1072 …:ConstPixelBufferAccess& src, const tcu::PixelBufferAccess& dst, const vk::VkComponentMapping& swz) in swizzleT()
1080 …:ConstPixelBufferAccess& src, const tcu::PixelBufferAccess& dst, const vk::VkComponentMapping& swz) in swizzleFromSRGB()
1088 …:ConstPixelBufferAccess& src, const tcu::PixelBufferAccess& dst, const vk::VkComponentMapping& swz) in swizzle()
1106 bool isIdentitySwizzle (const vk::VkComponentMapping& swz) in isIdentitySwizzle()
1180 …TextureType> createSwizzledCopy (const TextureViewType& texture, const vk::VkComponentMapping& swz) in createSwizzledCopy()
1194 …reCube> createSwizzledCopy (const tcu::TextureCubeView& texture, const vk::VkComponentMapping& swz) in createSwizzledCopy()
1213 const vk::VkComponentMapping& swz, in validateResultImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp1029 …r<ScalarType, 4> swizzle (const tcu::Vector<ScalarType, 4>& vec, const vk::VkComponentMapping& swz) in swizzle()
1045 tcu::Vec4 swizzleScaleBias (const tcu::Vec4& vec, const vk::VkComponentMapping& swz, float zeroOrOn… in swizzleScaleBias()
1072 …:ConstPixelBufferAccess& src, const tcu::PixelBufferAccess& dst, const vk::VkComponentMapping& swz) in swizzleT()
1080 …:ConstPixelBufferAccess& src, const tcu::PixelBufferAccess& dst, const vk::VkComponentMapping& swz) in swizzleFromSRGB()
1088 …:ConstPixelBufferAccess& src, const tcu::PixelBufferAccess& dst, const vk::VkComponentMapping& swz) in swizzle()
1106 bool isIdentitySwizzle (const vk::VkComponentMapping& swz) in isIdentitySwizzle()
1180 …TextureType> createSwizzledCopy (const TextureViewType& texture, const vk::VkComponentMapping& swz) in createSwizzledCopy()
1194 …reCube> createSwizzledCopy (const tcu::TextureCubeView& texture, const vk::VkComponentMapping& swz) in createSwizzledCopy()
1213 const vk::VkComponentMapping& swz, in validateResultImage()
/third_party/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
/third_party/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
/third_party/mesa3d/src/intel/common/
Dintel_pixel_hash.h101 unsigned swz[ARRAY_SIZE(phys_ids)]; in intel_compute_pixel_hash_table_nway() local
/third_party/mesa3d/src/intel/compiler/
Dbrw_reg.h76 #define BRW_GET_SWZ(swz, idx) (((swz) >> ((idx)*2)) & 0x3) argument
129 brw_apply_swizzle_to_mask(unsigned swz, unsigned mask) in brw_apply_swizzle_to_mask()
147 brw_apply_inv_swizzle_to_mask(unsigned swz, unsigned mask) in brw_apply_inv_swizzle_to_mask()
176 unsigned swz[4]; in brw_swizzle_for_mask() local
201 brw_mask_for_swizzle(unsigned swz) in brw_mask_for_swizzle()
1082 brw_swizzle(struct brw_reg reg, unsigned swz) in brw_swizzle()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c93 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader() local
141 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader_depth() local
189 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader_stencil() local
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_format.h23 } swz[6]; member
Dnv30_texture.c208 swizzle(const struct nv30_texfmt *fmt, unsigned cmp, unsigned swz) in swizzle()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTextureSwizzleTests.cpp49 static int swizzle (const tcu::RGBA& c, deUint32 swz) in swizzle()
312 deUint32 swz = swizzles[swzNdx].swizzle; in init() local

1234