Lines Matching refs:attr
981 const VkVertexInputAttributeDescription *attr =
985 if (slot_class[attr->binding] == D3D12_INPUT_CLASSIFICATION_PER_INSTANCE_DATA &&
988 if (attr->binding == divisors->pVertexBindingDivisors[d].binding) {
995 VkFormat patched_format = dzn_graphics_pipeline_patch_vi_format(attr->format);
996 if (patched_format != attr->format)
997 vi_conversions[attr->location] = vk_format_to_pipe_format(attr->format);
1000 inputs[attr->location] = (D3D12_INPUT_ELEMENT_DESC) {
1003 .InputSlot = attr->binding,
1004 .InputSlotClass = slot_class[attr->binding],
1007 slot_class[attr->binding] == D3D12_INPUT_CLASSIFICATION_PER_INSTANCE_DATA ? 1 : 0,
1008 .AlignedByteOffset = attr->offset,