Home
last modified time | relevance | path

Searched refs:vertexFormat (Results 1 – 25 of 42) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DVertexArrayVk.cpp53 const vk::Format &vertexFormat, in WarnOnVertexFormatConversion() argument
57 if (!vertexFormat.getVertexLoadRequiresConversion(compressed)) in WarnOnVertexFormatConversion()
65 vertexFormat.getIntendedFormat().glInternalFormat, in WarnOnVertexFormatConversion()
66 vertexFormat.getActualBufferFormat(compressed).glInternalFormat); in WarnOnVertexFormatConversion()
372 const vk::Format &vertexFormat, in convertVertexBufferGPU() argument
377 const angle::Format &srcFormat = vertexFormat.getIntendedFormat(); in convertVertexBufferGPU()
378 const angle::Format &dstFormat = vertexFormat.getActualBufferFormat(compressed); in convertVertexBufferGPU()
391 ASSERT(vertexFormat.getVertexInputAlignment(compressed) <= vk::kVertexBufferAlignment); in convertVertexBufferGPU()
422 const vk::Format &vertexFormat, in convertVertexBufferCPU() argument
429 unsigned srcFormatSize = vertexFormat.getIntendedFormat().pixelBytes; in convertVertexBufferCPU()
[all …]
DVertexArrayVk.h119 const vk::Format &vertexFormat,
127 const vk::Format &vertexFormat,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp143 …texBuffer (const void* vertexBuffer, deUint32 vertexIndex, VkFormat vertexFormat, const void* va…
969 …ertexBuffer (const void* vertexBuffer, deUint32 vertexIndex, VkFormat vertexFormat, const void* va… in isExpectedValueFromVertexBuffer() argument
971 if (isUintFormat(vertexFormat)) in isExpectedValueFromVertexBuffer()
973 if (vertexFormat == VK_FORMAT_R64_UINT || vertexFormat == VK_FORMAT_R64_SINT) in isExpectedValueFromVertexBuffer()
984 else if (isIntFormat(vertexFormat)) in isExpectedValueFromVertexBuffer()
986 if (vertexFormat == VK_FORMAT_R64_UINT || vertexFormat == VK_FORMAT_R64_SINT) in isExpectedValueFromVertexBuffer()
997 else if (isFloatFormat(vertexFormat)) in isExpectedValueFromVertexBuffer()
1003 else if (vertexFormat == VK_FORMAT_A2B10G10R10_UNORM_PACK32) in isExpectedValueFromVertexBuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
Dformatutils9.cpp687 const gl::VertexFormat &vertexFormat = gl::GetVertexFormatFromID(vertexFormatID); in GetVertexFormatInfo() local
690 ASSERT(!vertexFormat.pureInteger); in GetVertexFormatInfo()
691 return formatConverters[ComputeTypeIndex(vertexFormat.type)][vertexFormat.normalized] in GetVertexFormatInfo()
692 [vertexFormat.components - 1]; in GetVertexFormatInfo()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationMiscDrawTests.cpp144 const VkFormat vertexFormat = VK_FORMAT_R32G32_SFLOAT; in runTest() local
145 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); in runTest()
210 .setVertexInputSingleAttribute(vertexFormat, vertexStride) in runTest()
DvktTessellationGeometryPassthroughTests.cpp460 const VkFormat vertexFormat = VK_FORMAT_R32G32B32A32_SFLOAT; in iterate() local
531 .setVertexInputSingleAttribute(vertexFormat, tcu::getPixelSize(mapVkFormat(vertexFormat))) in iterate()
DvktTessellationPrimitiveDiscardTests.cpp407 const VkFormat vertexFormat = VK_FORMAT_R32_SFLOAT; in test() local
408 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); in test()
480 .setVertexInputSingleAttribute(vertexFormat, vertexStride) in test()
DvktTessellationShaderInputOutputTests.cpp70 const VkFormat vertexFormat, in runTest() argument
121 .setVertexInputSingleAttribute(vertexFormat, tcu::getPixelSize(mapVkFormat(vertexFormat))) in runTest()
DvktTessellationUtil.cpp197 …raphicsPipelineBuilder::setVertexInputSingleAttribute (const VkFormat vertexFormat, const deUint32… in setVertexInputSingleAttribute() argument
209 vertexFormat, // VkFormat format; in setVertexInputSingleAttribute()
DvktTessellationInvarianceTests.cpp1385 const VkFormat vertexFormat = VK_FORMAT_R32_SFLOAT; in iterate() local
1386 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); in iterate()
1455 .setVertexInputSingleAttribute (vertexFormat, vertexStride) in iterate()
2037 const VkFormat vertexFormat = VK_FORMAT_R32_SFLOAT; in test() local
2038 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); in test()
2075 .setVertexInputSingleAttribute(vertexFormat, vertexStride) in test()
DvktTessellationUserDefinedIO.cpp781 const VkFormat vertexFormat = VK_FORMAT_R32_SFLOAT; in iterate() local
782 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); in iterate()
849 .setVertexInputSingleAttribute (vertexFormat, vertexStride) in iterate()
DvktTessellationUtil.hpp131 …GraphicsPipelineBuilder& setVertexInputSingleAttribute (const vk::VkFormat vertexFormat, const deU…
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryTestsUtil.cpp103 …raphicsPipelineBuilder::setVertexInputSingleAttribute (const VkFormat vertexFormat, const deUint32… in setVertexInputSingleAttribute() argument
115 vertexFormat, // VkFormat format; in setVertexInputSingleAttribute()
DvktGeometryTestsUtil.hpp135 …GraphicsPipelineBuilder& setVertexInputSingleAttribute (const vk::VkFormat vertexFormat, const deU…
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DBufferZeroInitTests.cpp208 wgpu::VertexFormat vertexFormat = wgpu::VertexFormat::Float32x4) { in CreateRenderPipelineForTest() argument
225 descriptor.cBuffers[0].arrayStride = Align(utils::VertexFormatSize(vertexFormat), 4); in CreateRenderPipelineForTest()
227 descriptor.cAttributes[0].format = vertexFormat; in CreateRenderPipelineForTest()
1147 for (wgpu::VertexFormat vertexFormat : in TEST_P()
1167 /* vertexBufferCount */ 1u, vertexFormat); in TEST_P()
1173 const uint32_t vertexFormatSize = utils::VertexFormatSize(vertexFormat); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp1212 const gl::VertexFormat &vertexFormat = gl::GetVertexFormatFromID(vertexFormatID); in GenerateAttributeConversionHLSL() local
1215 if (shaderComponentType == GL_FLOAT && vertexFormat.type != GL_FLOAT) in GenerateAttributeConversionHLSL()
1218 ASSERT(!vertexFormat.normalized && !vertexFormat.pureInteger); in GenerateAttributeConversionHLSL()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DVertexArrayMtl.h105 const mtl::VertexFormat &vertexFormat);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingAccelerationStructuresTests.cpp159 VkFormat vertexFormat; member
307 …geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_TRIANGLES_KHR, testParams.vertexFormat, testPara… in initBottomAccelerationStructures()
358 …geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_AABBS_KHR, testParams.vertexFormat, testParams.i… in initBottomAccelerationStructures()
407 …geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_TRIANGLES_KHR, testParams.vertexFormat, testPara… in initBottomAccelerationStructures()
458 …geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_AABBS_KHR, testParams.vertexFormat, testParams.i… in initBottomAccelerationStructures()
690 …geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_TRIANGLES_KHR, testParams.vertexFormat, testPara… in initBottomAccelerationStructures()
784 tcu::TextureFormat vertexFormat = vk::mapVkFormat(testParams.vertexFormat); in verifyImage() local
794 const int numChannels = tcu::getNumUsedChannels(vertexFormat.order); in verifyImage()
906 …rtexBufferFormat(context.getInstanceInterface(), context.getPhysicalDevice(), m_data.vertexFormat); in checkSupport()
2466 …xBufferFormat(context.getInstanceInterface(), context.getPhysicalDevice(), m_params->vertexFormat); in checkSupport()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryAccelerationStructuresTests.cpp183 VkFormat vertexFormat; member
1215 …geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_TRIANGLES_KHR, testParams.vertexFormat, testPara… in initBottomAccelerationStructures()
1267 …geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_AABBS_KHR, testParams.vertexFormat, testParams.i… in initBottomAccelerationStructures()
1297 tcu::TextureFormat texFormat = mapVkFormat(testParams.vertexFormat); in initBottomAccelerationStructures()
1317 …geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_TRIANGLES_KHR, testParams.vertexFormat, testPara… in initBottomAccelerationStructures()
1368 …geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_AABBS_KHR, testParams.vertexFormat, testParams.i… in initBottomAccelerationStructures()
1434 tcu::TextureFormat texFormat = mapVkFormat(testParams.vertexFormat); in initTopAccelerationStructure()
1575 …rtexBufferFormat(context.getInstanceInterface(), context.getPhysicalDevice(), m_data.vertexFormat); in checkSupport()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationUtil.hpp153 …GraphicsPipelineBuilder& setVertexInputSingleAttribute (const vk::VkFormat vertexFormat, const deU…
DvktSynchronizationUtil.cpp187 …raphicsPipelineBuilder::setVertexInputSingleAttribute (const VkFormat vertexFormat, const deUint32… in setVertexInputSingleAttribute() argument
199 vertexFormat, // VkFormat format; in setVertexInputSingleAttribute()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkRayTracingUtil.hpp93 …RaytracedGeometryBase (VkGeometryTypeKHR geometryType, VkFormat vertexFormat, VkIndexType indexT…
459 …Base> makeRaytracedGeometry (VkGeometryTypeKHR geometryType, VkFormat vertexFormat, VkIndexType in…
DvkRayTracingUtil.cpp111 RaytracedGeometryBase::RaytracedGeometryBase (VkGeometryTypeKHR geometryType, VkFormat vertexFormat in RaytracedGeometryBase() argument
113 , m_vertexFormat (vertexFormat) in RaytracedGeometryBase()
137 …Base> makeRaytracedGeometry (VkGeometryTypeKHR geometryType, VkFormat vertexFormat, VkIndexType in… in makeRaytracedGeometry() argument
141 switch (vertexFormat) in makeRaytracedGeometry()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/
Dbuild_acceleration_structure_device_common.txt87 pname:vertexFormat
Dbuild_acceleration_structure_common.txt149 pname:geometry.triangles.vertexFormat member must: have the same value

12