Home
last modified time | relevance | path

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

123

/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DVertexArrayVk.cpp239 const vk::Format &vertexFormat, in convertVertexBufferGPU() argument
243 const angle::Format &srcFormat = vertexFormat.angleFormat(); in convertVertexBufferGPU()
244 const angle::Format &destFormat = vertexFormat.bufferFormat(); in convertVertexBufferGPU()
257 ASSERT(GetVertexInputAlignment(vertexFormat) <= vk::kVertexBufferAlignment); in convertVertexBufferGPU()
285 const vk::Format &vertexFormat, in convertVertexBufferCPU() argument
291 unsigned srcFormatSize = vertexFormat.angleFormat().pixelBytes; in convertVertexBufferCPU()
292 unsigned dstFormatSize = vertexFormat.bufferFormat().pixelBytes; in convertVertexBufferCPU()
306 ASSERT(GetVertexInputAlignment(vertexFormat) <= vk::kVertexBufferAlignment); in convertVertexBufferCPU()
308 0, numVertices, binding.getStride(), vertexFormat.vertexLoadFunction, in convertVertexBufferCPU()
434 const vk::Format &vertexFormat = renderer->getFormat(attrib.format->id); in syncDirtyAttrib() local
[all …]
DVertexArrayVk.h97 const vk::Format &vertexFormat,
104 const vk::Format &vertexFormat,
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp149 …texBuffer (const void* vertexBuffer, deUint32 vertexIndex, VkFormat vertexFormat, const void* va…
1018 …ertexBuffer (const void* vertexBuffer, deUint32 vertexIndex, VkFormat vertexFormat, const void* va… in isExpectedValueFromVertexBuffer() argument
1020 if (isUintFormat(vertexFormat)) in isExpectedValueFromVertexBuffer()
1022 if (vertexFormat == VK_FORMAT_R64_UINT || vertexFormat == VK_FORMAT_R64_SINT) in isExpectedValueFromVertexBuffer()
1033 else if (isIntFormat(vertexFormat)) in isExpectedValueFromVertexBuffer()
1035 if (vertexFormat == VK_FORMAT_R64_UINT || vertexFormat == VK_FORMAT_R64_SINT) in isExpectedValueFromVertexBuffer()
1046 else if (isFloatFormat(vertexFormat)) in isExpectedValueFromVertexBuffer()
1052 else if (vertexFormat == VK_FORMAT_A2B10G10R10_UNORM_PACK32) in isExpectedValueFromVertexBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp149 …texBuffer (const void* vertexBuffer, deUint32 vertexIndex, VkFormat vertexFormat, const void* va…
1018 …ertexBuffer (const void* vertexBuffer, deUint32 vertexIndex, VkFormat vertexFormat, const void* va… in isExpectedValueFromVertexBuffer() argument
1020 if (isUintFormat(vertexFormat)) in isExpectedValueFromVertexBuffer()
1022 if (vertexFormat == VK_FORMAT_R64_UINT || vertexFormat == VK_FORMAT_R64_SINT) in isExpectedValueFromVertexBuffer()
1033 else if (isIntFormat(vertexFormat)) in isExpectedValueFromVertexBuffer()
1035 if (vertexFormat == VK_FORMAT_R64_UINT || vertexFormat == VK_FORMAT_R64_SINT) in isExpectedValueFromVertexBuffer()
1046 else if (isFloatFormat(vertexFormat)) in isExpectedValueFromVertexBuffer()
1052 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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
Dformatutils9.cpp865 const gl::VertexFormat &vertexFormat = gl::GetVertexFormatFromID(vertexFormatID); in GetVertexFormatInfo() local
868 ASSERT(!vertexFormat.pureInteger); in GetVertexFormatInfo()
869 return formatConverters[ComputeTypeIndex(vertexFormat.type)][vertexFormat.normalized] in GetVertexFormatInfo()
870 [vertexFormat.components - 1]; in GetVertexFormatInfo()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
DvktTessellationMiscDrawTests.cpp146 const VkFormat vertexFormat = VK_FORMAT_R32G32_SFLOAT; in runTest() local
147 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); in runTest()
212 .setVertexInputSingleAttribute(vertexFormat, vertexStride) in runTest()
DvktTessellationPrimitiveDiscardTests.cpp409 const VkFormat vertexFormat = VK_FORMAT_R32_SFLOAT; in test() local
410 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); in test()
482 .setVertexInputSingleAttribute(vertexFormat, vertexStride) in test()
DvktTessellationGeometryPassthroughTests.cpp470 const VkFormat vertexFormat = VK_FORMAT_R32G32B32A32_SFLOAT; in iterate() local
541 .setVertexInputSingleAttribute(vertexFormat, tcu::getPixelSize(mapVkFormat(vertexFormat))) in iterate()
DvktTessellationShaderInputOutputTests.cpp72 const VkFormat vertexFormat, in runTest() argument
123 .setVertexInputSingleAttribute(vertexFormat, tcu::getPixelSize(mapVkFormat(vertexFormat))) in runTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationMiscDrawTests.cpp146 const VkFormat vertexFormat = VK_FORMAT_R32G32_SFLOAT; in runTest() local
147 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); in runTest()
212 .setVertexInputSingleAttribute(vertexFormat, vertexStride) in runTest()
DvktTessellationPrimitiveDiscardTests.cpp409 const VkFormat vertexFormat = VK_FORMAT_R32_SFLOAT; in test() local
410 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); in test()
482 .setVertexInputSingleAttribute(vertexFormat, vertexStride) in test()
DvktTessellationGeometryPassthroughTests.cpp470 const VkFormat vertexFormat = VK_FORMAT_R32G32B32A32_SFLOAT; in iterate() local
541 .setVertexInputSingleAttribute(vertexFormat, tcu::getPixelSize(mapVkFormat(vertexFormat))) in iterate()
DvktTessellationShaderInputOutputTests.cpp72 const VkFormat vertexFormat, in runTest() argument
123 .setVertexInputSingleAttribute(vertexFormat, tcu::getPixelSize(mapVkFormat(vertexFormat))) in runTest()
DvktTessellationInvarianceTests.cpp1391 const VkFormat vertexFormat = VK_FORMAT_R32_SFLOAT; in iterate() local
1392 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); in iterate()
1461 .setVertexInputSingleAttribute (vertexFormat, vertexStride) in iterate()
2043 const VkFormat vertexFormat = VK_FORMAT_R32_SFLOAT; in test() local
2044 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); in test()
2081 .setVertexInputSingleAttribute(vertexFormat, vertexStride) in test()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
DvktGeometryTestsUtil.cpp103 …raphicsPipelineBuilder::setVertexInputSingleAttribute (const VkFormat vertexFormat, const deUint32… in setVertexInputSingleAttribute() argument
115 vertexFormat, // VkFormat format; in setVertexInputSingleAttribute()
DvktGeometryTestsUtil.hpp79 …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.hpp79 …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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp1173 const gl::VertexFormat &vertexFormat = gl::GetVertexFormatFromID(vertexFormatID); in GenerateAttributeConversionHLSL() local
1176 if (shaderComponentType == GL_FLOAT && vertexFormat.type != GL_FLOAT) in GenerateAttributeConversionHLSL()
1179 ASSERT(!vertexFormat.normalized && !vertexFormat.pureInteger); in GenerateAttributeConversionHLSL()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DVertexArrayMtl.h105 const mtl::VertexFormat &vertexFormat);

123