Home | History | Annotate | Download | only in freedreno

Lines Matching refs:samp

68 	struct fd_hw_sample *samp = NULL;
81 fd_hw_sample_reference(ctx, &samp, batch->sample_cache[idx]);
83 return samp;
210 static void * sampptr(struct fd_hw_sample *samp, uint32_t n, void *ptr)
212 return ((char *)ptr) + (samp->tile_stride * n) + samp->offset;
342 struct fd_hw_sample *samp = slab_alloc_st(&batch->ctx->sample_pool);
343 pipe_reference_init(&samp->reference, 1);
344 samp->size = size;
347 samp->offset = batch->next_sample_offset;
349 samp->prsc = NULL;
350 samp->num_tiles = 0;
351 samp->tile_stride = 0;
370 pipe_resource_reference(&samp->prsc, batch->query_buf);
372 return samp;
376 __fd_hw_sample_destroy(struct fd_context *ctx, struct fd_hw_sample *samp)
378 pipe_resource_reference(&samp->prsc, NULL);
379 slab_free_st(&ctx->sample_pool, samp);
396 struct fd_hw_sample *samp =
398 samp->num_tiles = num_tiles;
399 samp->tile_stride = tile_stride;
400 fd_hw_sample_reference(batch->ctx, &samp, NULL);