Lines Matching defs:offset
283 unsigned offset = pipeline->inlines[stage].uniform_offsets[0][i];
284 if (offset < push_size) {
285 memcpy(&inline_uniforms[i], &state->push_constants[offset], sizeof(uint32_t));
288 if (offset < push_size + state->uniform_blocks[sh].size[i]) {
289 unsigned ubo_offset = offset - push_size;
311 unsigned offset = pipeline->inlines[stage].uniform_offsets[slot][i];
312 memcpy(&inline_uniforms[i], map + offset, sizeof(uint32_t));
900 state->velem.velems[a].src_offset = ps->vi->attributes[a].offset;
954 state->scissors[i].minx = ss->offset.x;
955 state->scissors[i].miny = ss->offset.y;
956 state->scissors[i].maxx = ss->offset.x + ss->extent.width;
957 state->scissors[i].maxy = ss->offset.y + ss->extent.height;
1200 templ.u.buf.offset = bv->offset + bv->buffer->offset;
1201 templ.u.buf.size = bv->range == VK_WHOLE_SIZE ? (bv->buffer->size - bv->offset) : bv->range;
1274 state->iv[p_stage][idx].u.buf.offset = bv->offset + bv->buffer->offset;
1275 state->iv[p_stage][idx].u.buf.size = bv->range == VK_WHOLE_SIZE ? (bv->buffer->size - bv->offset): bv->range;
1279 state->iv[p_stage][idx].u.buf.offset = 0;
1329 state->const_buffer[p_stage][idx].buffer_offset = descriptor->offset + descriptor->buffer->offset;
1336 uint32_t offset = dyn_info->dynamic_offsets[dyn_info->dyn_index + binding->dynamic_index + array_idx];
1337 state->const_buffer[p_stage][idx].buffer_offset += offset;
1358 state->sb[p_stage][idx].buffer_offset = descriptor->offset + descriptor->buffer->offset;
1365 uint32_t offset = dyn_info->dynamic_offsets[dyn_info->dyn_index + binding->dynamic_index + array_idx];
1366 state->sb[p_stage][idx].buffer_offset += offset;
1607 rect->offset.x, rect->offset.y,
1613 rect->offset.x, rect->offset.y,
1644 state->render_area.offset.x,
1645 state->render_area.offset.y,
1675 state->render_area.offset.x,
1676 state->render_area.offset.y,
1691 if (state->render_area.offset.x || state->render_area.offset.y)
1811 info.src.box.x = state->render_area.offset.x;
1812 info.src.box.y = state->render_area.offset.y;
1848 info.src.box.x = state->render_area.offset.x;
1849 info.src.box.y = state->render_area.offset.y;
1923 if (state->render_area.offset.x || state->render_area.offset.y)
1975 state->framebuffer.width = info->renderArea.offset.x +
1977 state->framebuffer.height = info->renderArea.offset.y +
2142 state->scissors[idx].minx = ss->offset.x;
2143 state->scissors[idx].miny = ss->offset.y;
2144 state->scissors[idx].maxx = ss->offset.x + ss->extent.width;
2145 state->scissors[idx].maxy = ss->offset.y + ss->extent.height;
2750 state->indirect_info.offset = cmd->u.draw_indirect.offset;
2776 state->index_offset = ib->offset;
2815 state->dispatch_info.indirect_offset = cmd->u.dispatch_indirect.offset;
2822 memcpy(state->push_constants + cmd->u.push_constants.offset, cmd->u.push_constants.values, cmd->u.push_constants.size);
3000 unsigned offset = copycmd->dst_offset + lvp_buffer_from_handle(copycmd->dst_buffer)->offset + (copycmd->stride * (i - copycmd->first_query));
3014 offset + num_results * result_size);
3025 offset + num_results++ * result_size);
3033 offset);
3042 box.x = offset;
3171 rect->rect.offset.x = MAX2(rect->rect.offset.x, 0);
3172 rect->rect.offset.y = MAX2(rect->rect.offset.y, 0);
3173 rect->rect.extent.width = MIN2(rect->rect.extent.width, state->framebuffer.width - rect->rect.offset.x);
3174 rect->rect.extent.height = MIN2(rect->rect.extent.height, state->framebuffer.height - rect->rect.offset.y);
3251 state->indirect_info.offset = cmd->u.draw_indirect_count.offset;
3361 info->offset = in_cmd->descriptor_writes[i].pBufferInfo[j].offset;
3586 uint32_t offset;
3587 offset = state->pctx->stream_output_target_offset(state->so_targets[i]);
3593 &offset);
3607 lvp_buffer_from_handle(dibc->counter_buffer)->offset + dibc->counter_buffer_offset,
3625 lvp_buffer_from_handle(bcr->buffer)->offset + bcr->offset,
3653 state->velem.velems[location].src_offset = attrs[i].offset;