Home
last modified time | relevance | path

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

123

/external/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.c204 unsigned int swz = GET_SWZ(src.Swizzle, chan); in is_src_uniform_constant() local
229 rc_swizzle swz = 0; in constant_folding_mad() local
270 rc_swizzle swz = 0; in constant_folding_mul() local
303 rc_swizzle swz = 0; in constant_folding_add() local
362 unsigned int swz = GET_SWZ(newsrc.Swizzle, chan); in constant_folding() local
440 unsigned int swz = GET_SWZ(src.Swizzle, chan); in src_has_const_swz() local
555 rc_swizzle swz = in is_presub_candidate() local
647 unsigned int i, swz; in peephole_add_presub_inv() local
720 unsigned int chan = 0, swz, i; in peephole_mul_omod() 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
235 unsigned int swz = GET_SWZ(conversion_swizzle, i); in rc_normal_rewrite_writemask() local
269 unsigned int swz = GET_SWZ(swizzle, chan); in rc_rewrite_swizzle() local
295 rc_swizzle swz = GET_SWZ(swizzle, i); in lmul_swizzle() local
333 unsigned int swz = RC_SWIZZLE_UNUSED; in rc_source_type_swz() local
725 int swz = GET_SWZ(swizzle, chan); in rc_get_constant_value() local
744 unsigned int swz, chan; in rc_get_scalar_src_swz() local
Dradeon_pair_translate.c137 unsigned int swz = GET_SWZ(src.Swizzle, j); in src_uses() local
224 unsigned int swz = GET_SWZ(inst->SrcReg[i].Swizzle, j); in set_pair_instruction() local
250 unsigned int swz; in set_pair_instruction() local
Dr500_fragprog.c201 unsigned int swz = GET_SWZ(reg.Swizzle, i); in r500_swizzle_is_native() local
227 unsigned int swz = GET_SWZ(reg.Swizzle, i); in r500_swizzle_is_native() local
251 unsigned int swz = GET_SWZ(src.Swizzle, i); in r500_swizzle_split() local
Dradeon_dataflow_swizzles.c104 unsigned new_swizzle, chan, swz0, swz1, swz2, swz3, found_swizzle, swz; in try_rewrite_constant() local
115 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.h120 #define GET_SWZ(swz, idx) (((swz) >> ((idx)*3)) & 0x7) argument
122 #define SET_SWZ(swz, idx, newv) \ argument
Dradeon_vert_fc.c218 unsigned swz; in lower_if() local
/external/mesa3d/src/compiler/glsl/
Dopt_vectorize.cpp139 ir_swizzle *swz = (ir_swizzle *)ir; in rewrite_swizzle() local
239 const ir_swizzle *swz) in write_mask_matches_swizzle()
/external/mesa3d/src/mesa/program/
Dprog_parameter.c97 GLuint swz[4]; in lookup_parameter_constant() local
322 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/gallium/drivers/nouveau/nv50/
Dnv50_tex.c31 nv50_tic_swizzle(const struct nv50_format *fmt, unsigned swz, bool tex_int) in nv50_tic_swizzle()
71 uint32_t swz[4]; in nv50_create_texture_view() local
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp889 …r<ScalarType, 4> swizzle (const tcu::Vector<ScalarType, 4>& vec, const vk::VkComponentMapping& swz) in swizzle()
905 tcu::Vec4 swizzleScaleBias (const tcu::Vec4& vec, const vk::VkComponentMapping& swz, float zeroOrOn… in swizzleScaleBias()
932 …:ConstPixelBufferAccess& src, const tcu::PixelBufferAccess& dst, const vk::VkComponentMapping& swz) in swizzleT()
940 …:ConstPixelBufferAccess& src, const tcu::PixelBufferAccess& dst, const vk::VkComponentMapping& swz) in swizzleFromSRGB()
948 …:ConstPixelBufferAccess& src, const tcu::PixelBufferAccess& dst, const vk::VkComponentMapping& swz) in swizzle()
966 bool isIdentitySwizzle (const vk::VkComponentMapping& swz) in isIdentitySwizzle()
1040 …TextureType> createSwizzledCopy (const TextureViewType& texture, const vk::VkComponentMapping& swz) in createSwizzledCopy()
1054 …reCube> createSwizzledCopy (const tcu::TextureCubeView& texture, const vk::VkComponentMapping& swz) in createSwizzledCopy()
1073 const vk::VkComponentMapping& swz, in validateResultImage()
/external/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()
/external/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()
995 brw_swizzle(struct brw_reg reg, unsigned swz) in brw_swizzle()
Dbrw_vec4_copy_propagation.cpp98 unsigned swz[4] = {}; in get_copy_value() local
/external/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c121 unsigned swz[] = { 0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2 }; in build_nir_copy_fragment_shader() local
175 unsigned swz[] = { 0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2 }; in build_nir_copy_fragment_shader_depth() local
229 unsigned swz[] = { 0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2 }; in build_nir_copy_fragment_shader_stencil() local
/external/deqp/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
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi_temprename.cpp393 int swz = GET_SWZ(swizzle, idx); in record_read() local
981 int swz = GET_SWZ(src.swizzle, idx); in dump_instruction() local
1001 int swz = GET_SWZ(src.swizzle, idx); in dump_instruction() local
Dst_atom_sampler.c174 const unsigned char swz[4] = in st_convert_sampler() local
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_tex.c36 nv50_tic_swizzle(const struct nvc0_format *fmt, unsigned swz, bool tex_int) in nv50_tic_swizzle()
75 uint32_t swz[4]; in gm107_create_texture_view() local
287 uint32_t swz[4]; in gf100_create_texture_view() local

123