Lines Matching refs:vertexFormat
53 const vk::Format &vertexFormat, in WarnOnVertexFormatConversion() argument
57 if (!vertexFormat.getVertexLoadRequiresConversion(compressed)) in WarnOnVertexFormatConversion()
64 << vertexFormat.intendedFormat().glInternalFormat in WarnOnVertexFormatConversion()
66 << vertexFormat.actualBufferFormat(compressed).glInternalFormat; in WarnOnVertexFormatConversion()
380 const vk::Format &vertexFormat, in convertVertexBufferGPU() argument
385 const angle::Format &srcFormat = vertexFormat.intendedFormat(); in convertVertexBufferGPU()
386 const angle::Format &destFormat = vertexFormat.actualBufferFormat(compressed); in convertVertexBufferGPU()
399 ASSERT(GetVertexInputAlignment(vertexFormat, compressed) <= vk::kVertexBufferAlignment); in convertVertexBufferGPU()
430 const vk::Format &vertexFormat, in convertVertexBufferCPU() argument
437 unsigned srcFormatSize = vertexFormat.intendedFormat().pixelBytes; in convertVertexBufferCPU()
438 unsigned dstFormatSize = vertexFormat.actualBufferFormat(compressed).pixelBytes; in convertVertexBufferCPU()
452 ASSERT(GetVertexInputAlignment(vertexFormat, compressed) <= vk::kVertexBufferAlignment); in convertVertexBufferCPU()
455 binding.getStride(), srcFormatSize, vertexFormat.getVertexLoadFunction(compressed), in convertVertexBufferCPU()
594 const vk::Format &vertexFormat = renderer->getFormat(attrib.format->id); in syncDirtyAttrib() local
610 const angle::Format &intendedFormat = vertexFormat.intendedFormat(); in syncDirtyAttrib()
616 vertexFormat.actualCompressedBufferFormatID != angle::FormatID::NONE && in syncDirtyAttrib()
617 vertexFormat.actualBufferFormatID != vertexFormat.actualCompressedBufferFormatID) in syncDirtyAttrib()
622 if (vertexFormat.getVertexLoadRequiresConversion(compressed) || !bindingIsAligned) in syncDirtyAttrib()
624 ANGLE_TRY(WarnOnVertexFormatConversion(contextVk, vertexFormat, compressed, true)); in syncDirtyAttrib()
635 << static_cast<unsigned int>(vertexFormat.intendedFormatID) << " to " in syncDirtyAttrib()
637 vertexFormat.actualCompressedBufferFormatID) in syncDirtyAttrib()
644 vertexFormat, conversion, in syncDirtyAttrib()
655 vertexFormat, conversion, in syncDirtyAttrib()
674 stride = vertexFormat.actualBufferFormat(compressed).pixelBytes; in syncDirtyAttrib()
715 stride = vertexFormat.actualBufferFormat(compressed).pixelBytes; in syncDirtyAttrib()
796 const vk::Format &vertexFormat = renderer->getFormat(attrib.format->id); in updateStreamedAttribs() local
797 GLuint stride = vertexFormat.actualBufferFormat(false).pixelBytes; in updateStreamedAttribs()
800 ANGLE_TRY(WarnOnVertexFormatConversion(contextVk, vertexFormat, compressed, false)); in updateStreamedAttribs()
802 ASSERT(GetVertexInputAlignment(vertexFormat, false) <= vk::kVertexBufferAlignment); in updateStreamedAttribs()
826 vertexFormat.vertexLoadFunction, in updateStreamedAttribs()
842 vertexFormat.vertexLoadFunction, in updateStreamedAttribs()
859 binding.getStride(), stride, vertexFormat.vertexLoadFunction, in updateStreamedAttribs()