Home
last modified time | relevance | path

Searched refs:sample_idx (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/intel/common/
Dintel_sample_positions.h69 #define INTEL_SAMPLE_POS_ELEM(prefix, arr, sample_idx) \ argument
70 prefix##sample_idx##XOffset = arr[sample_idx].x; \
71 prefix##sample_idx##YOffset = arr[sample_idx].y;
/third_party/mesa3d/src/panfrost/lib/
Dpan_samples.c153 unsigned sample_idx, in panfrost_query_sample_position() argument
157 sample_position_lut[pattern].positions[sample_idx]; in panfrost_query_sample_position()
Dpan_device.h244 unsigned sample_idx,
/third_party/skia/modules/skottie/src/effects/
DMotionBlurEffect.cpp70 SkRect MotionBlurEffect::seekToSample(size_t sample_idx, const SkMatrix& ctm) const { in seekToSample() argument
71 SkASSERT(sample_idx < fSampleCount); in seekToSample()
72 fAnimator->seek(fT + fPhase + fDT * sample_idx); in seekToSample()
DMotionBlurEffect.h39 SkRect seekToSample(size_t sample_idx, const SkMatrix& ctm) const;
/third_party/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c2462 unsigned sample_idx = nir_intrinsic_base(instr); in ntq_emit_per_sample_color_write() local
2463 assert(sample_idx < V3D_MAX_SAMPLES); in ntq_emit_per_sample_color_write()
2465 unsigned offset = (rt * V3D_MAX_SAMPLES + sample_idx) * 4; in ntq_emit_per_sample_color_write()
2565 ntq_get_sample_offset(struct v3d_compile *c, struct qreg sample_idx, in ntq_get_sample_offset() argument
2568 sample_idx = vir_ITOF(c, sample_idx); in ntq_get_sample_offset()
2572 vir_FMUL(c, sample_idx, in ntq_get_sample_offset()
2575 vir_uniform_f(c, 2.0f), sample_idx), in ntq_get_sample_offset()
2583 vir_FMUL(c, sample_idx, in ntq_get_sample_offset()
2627 struct qreg sample_idx = i3; in ntq_get_barycentric_centroid() local
2629 sample_idx = vir_SEL(c, V3D_QPU_COND_IFNA, i1, sample_idx); in ntq_get_barycentric_centroid()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_blit2d.c477 nir_ssa_def *sample_idx = NULL; in build_nir_texel_fetch() local
489 sample_idx = nir_load_sample_id(b); in build_nir_texel_fetch()
500 tex->src[1].src = nir_src_for_ssa(is_multisampled ? sample_idx : nir_imm_int(b, 0)); in build_nir_texel_fetch()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c3103 nir_ssa_def *sample_idx) in build_nir_tex_op_ms_fetch_sample() argument
3115 tex->src[3].src = nir_src_for_ssa(sample_idx); in build_nir_tex_op_ms_fetch_sample()