Lines Matching refs:range
551 ctx->di.ubos[shader][slot].range = ctx->ubos[shader][slot].buffer_size;
552 assert(ctx->di.ubos[shader][slot].range <= screen->info.props.limits.maxUniformBufferRange);
556 ctx->di.ubos[shader][slot].range = VK_WHOLE_SIZE;
577 ctx->di.ssbos[shader][slot].range = ctx->ssbos[shader][slot].buffer_size;
581 ctx->di.ssbos[shader][slot].range = VK_WHOLE_SIZE;
779 create_bvci(struct zink_context *ctx, struct zink_resource *res, enum pipe_format format, uint32_t offset, uint32_t range)
795 bvci.range = !offset && range == res->base.b.width0 ? VK_WHOLE_SIZE : range;
797 if (bvci.range != VK_WHOLE_SIZE) {
799 bvci.range -= bvci.range % blocksize;
800 if (bvci.offset + bvci.range >= res->base.b.width0)
801 bvci.range = VK_WHOLE_SIZE;
804 if (bvci.range == VK_WHOLE_SIZE && res->base.b.width0 > clamp)
805 bvci.range = clamp;