Lines Matching refs:buffer
102 VKSCR(DestroyBuffer)(screen->dev, obj->buffer, NULL);
618 if (VKSCR(CreateBuffer)(screen->dev, &bci, NULL, &obj->buffer) != VK_SUCCESS) {
631 VKSCR(GetBufferMemoryRequirements)(screen->dev, obj->buffer, &reqs);
938 .buffer = VK_NULL_HANDLE,
1034 if (VKSCR(BindBufferMemory)(screen->dev, obj->buffer, zink_bo_get_mem(obj->bo), obj->offset) != VK_SUCCESS) {
1078 VKSCR(DestroyBuffer)(screen->dev, obj->buffer, NULL);
1135 * because they might never be moved back again. If a buffer is large enough,
1136 * upload data by copying from a temporary GTT buffer. 8K might not seem much,
1584 /* force counter buffer reset */
1742 /* See if the buffer range being mapped has never been initialized,
1755 /* If a buffer in VRAM is too large and the range is discarded, don't
1756 * map it directly. This makes sure that the buffer stays in VRAM.
1772 /* At this point, the buffer is always idle. */
1775 /* Fall back to a temporary buffer. */
1785 /* Check if mapping this buffer would cause waiting for the GPU.
1790 /* Do a wait-free write-only transfer using a temporary buffer. */
1810 /* At this point, the buffer is always idle (we checked it above). */
1854 /* if writing to a streamout buffer, ensure synchronization next time it's used */
1857 /* force counter buffer reset */
2123 zink_buffer_subdata(struct pipe_context *ctx, struct pipe_resource *buffer,
2136 map = zink_buffer_map(ctx, buffer, 0, usage, &box, &transfer);