Home
last modified time | relevance | path

Searched defs:swz (Results 1 – 25 of 84) 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.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
721 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.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.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
/third_party/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()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_value_gpr.h191 GPRVector::Swizzle swz = {0,1,2,3}; in swizzle_from_comps() local
199 GPRVector::Swizzle swz; in swizzle_from_mask() local
Dsfn_shader_geometry.cpp62 GPRVector::Swizzle swz = swizzle_from_mask(write_mask); in emit_store() local
310 std::array<int, 4> swz = {7,7,7,7}; in emit_load_per_vertex_input() local
Dsfn_instruction_gds.cpp76 const char *swz = "xyzw01?_"; in do_print() local
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp1006 …r<ScalarType, 4> swizzle (const tcu::Vector<ScalarType, 4>& vec, const vk::VkComponentMapping& swz) in swizzle()
1022 tcu::Vec4 swizzleScaleBias (const tcu::Vec4& vec, const vk::VkComponentMapping& swz, float zeroOrOn… in swizzleScaleBias()
1049 …:ConstPixelBufferAccess& src, const tcu::PixelBufferAccess& dst, const vk::VkComponentMapping& swz) in swizzleT()
1057 …:ConstPixelBufferAccess& src, const tcu::PixelBufferAccess& dst, const vk::VkComponentMapping& swz) in swizzleFromSRGB()
1065 …:ConstPixelBufferAccess& src, const tcu::PixelBufferAccess& dst, const vk::VkComponentMapping& swz) in swizzle()
1083 bool isIdentitySwizzle (const vk::VkComponentMapping& swz) in isIdentitySwizzle()
1157 …TextureType> createSwizzledCopy (const TextureViewType& texture, const vk::VkComponentMapping& swz) in createSwizzledCopy()
1171 …reCube> createSwizzledCopy (const tcu::TextureCubeView& texture, const vk::VkComponentMapping& swz) in createSwizzledCopy()
1190 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
401 GLuint swz = p->Size; /* 1, 2 or 3 for Y, Z, W */ in _mesa_add_typed_unnamed_constant() 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()
Dbrw_vec4_copy_propagation.cpp89 unsigned swz[4] = {}; in get_copy_value() 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/mesa3d/src/freedreno/ir3/
Dir3_lower_subgroups.c228 struct ir3_instruction *swz = in lower_block() local
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c94 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader() local
142 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader_depth() local
190 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader_stencil() local
/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