Home
last modified time | relevance | path

Searched refs:freeSampler (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_pstipple.c183 int freeSampler; /** an available sampler for the pstipple */ member
272 pctx->freeSampler = free_bit(pctx->samplersUsed); in pstip_transform_prolog()
273 if (pctx->freeSampler < 0 || pctx->freeSampler >= PIPE_MAX_SAMPLERS) in pstip_transform_prolog()
274 pctx->freeSampler = PIPE_MAX_SAMPLERS - 1; in pstip_transform_prolog()
300 sampIdx = pctx->hasFixedUnit ? (int)pctx->fixedUnit : pctx->freeSampler; in pstip_transform_prolog()
415 assert(transform.freeSampler < PIPE_MAX_SAMPLERS); in util_pstipple_create_fragment_shader()
416 *samplerUnitOut = transform.freeSampler; in util_pstipple_create_fragment_shader()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aaline.c143 int freeSampler; /** an available sampler for the pstipple */ member
216 aactx->freeSampler = free_bit(aactx->samplersUsed); in aa_transform_prolog()
217 if (aactx->freeSampler < 0 || aactx->freeSampler >= PIPE_MAX_SAMPLERS) in aa_transform_prolog()
218 aactx->freeSampler = PIPE_MAX_SAMPLERS - 1; in aa_transform_prolog()
241 tgsi_transform_sampler_decl(ctx, aactx->freeSampler); in aa_transform_prolog()
249 aactx->freeSampler, in aa_transform_prolog()
275 TGSI_TEXTURE_2D, aactx->freeSampler); in aa_transform_epilog()
360 aaline->fs->sampler_unit = transform.freeSampler; in generate_aaline_fs()