Home
last modified time | relevance | path

Searched refs:bindingDesc (Results 1 – 14 of 14) sorted by relevance

/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp495 auto& bindingDesc = (*mBindings)[bindingCount]; in ComputeVertexInputDesc() local
496 bindingDesc.binding = i; in ComputeVertexInputDesc()
497 bindingDesc.stride = bindingInfo.stride; in ComputeVertexInputDesc()
498 bindingDesc.inputRate = VulkanInputRate(bindingInfo.stepMode); in ComputeVertexInputDesc()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp569 VkVertexInputBindingDescription* bindingDesc = &tempAllocations->bindings[bindingCount]; in ComputeVertexInputDesc() local
570 bindingDesc->binding = static_cast<uint8_t>(slot); in ComputeVertexInputDesc()
571 bindingDesc->stride = bindingInfo.arrayStride; in ComputeVertexInputDesc()
572 bindingDesc->inputRate = VulkanInputRate(bindingInfo.stepMode); in ComputeVertexInputDesc()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
DvktGeometryTestsUtil.cpp105 const VkVertexInputBindingDescription bindingDesc = in setVertexInputSingleAttribute() local
120 m_vertexInputBindings.push_back(bindingDesc); in setVertexInputSingleAttribute()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryTestsUtil.cpp105 const VkVertexInputBindingDescription bindingDesc = in setVertexInputSingleAttribute() local
120 m_vertexInputBindings.push_back(bindingDesc); in setVertexInputSingleAttribute()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp665 VkVertexInputBindingDescription &bindingDesc = bindingDescs[vertexAttribCount]; in initializePipeline() local
669 bindingDesc.binding = attribIndex; in initializePipeline()
670 bindingDesc.stride = static_cast<uint32_t>(packedAttrib.stride); in initializePipeline()
673 bindingDesc.inputRate = static_cast<VkVertexInputRate>(VK_VERTEX_INPUT_RATE_INSTANCE); in initializePipeline()
674 divisorDesc[divisorState.vertexBindingDivisorCount].binding = bindingDesc.binding; in initializePipeline()
680 bindingDesc.inputRate = static_cast<VkVertexInputRate>(VK_VERTEX_INPUT_RATE_VERTEX); in initializePipeline()
699 bindingDesc.stride = 0; // Prevent out-of-bounds accesses. in initializePipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp444 VkVertexInputBindingDescription bindingDesc; in createVertexInfo() local
447 bindingDesc.binding = bindingId; in createVertexInfo()
448 bindingDesc.stride = vertDescIter->stride; in createVertexInfo()
449 bindingDesc.inputRate = VK_VERTEX_INPUT_RATE_VERTEX; in createVertexInfo()
450 bindingList.push_back(bindingDesc); in createVertexInfo()
DvktSynchronizationUtil.cpp193 const VkVertexInputBindingDescription bindingDesc = in setVertexInputSingleAttribute() local
208 m_vertexInputBindings.push_back(bindingDesc); in setVertexInputSingleAttribute()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp444 VkVertexInputBindingDescription bindingDesc; in createVertexInfo() local
447 bindingDesc.binding = bindingId; in createVertexInfo()
448 bindingDesc.stride = vertDescIter->stride; in createVertexInfo()
449 bindingDesc.inputRate = VK_VERTEX_INPUT_RATE_VERTEX; in createVertexInfo()
450 bindingList.push_back(bindingDesc); in createVertexInfo()
DvktSynchronizationUtil.cpp193 const VkVertexInputBindingDescription bindingDesc = in setVertexInputSingleAttribute() local
208 m_vertexInputBindings.push_back(bindingDesc); in setVertexInputSingleAttribute()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
DvktTessellationUtil.cpp170 const VkVertexInputBindingDescription bindingDesc = in setVertexInputSingleAttribute() local
185 m_vertexInputBindings.push_back(bindingDesc); in setVertexInputSingleAttribute()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationUtil.cpp170 const VkVertexInputBindingDescription bindingDesc = in setVertexInputSingleAttribute() local
185 m_vertexInputBindings.push_back(bindingDesc); in setVertexInputSingleAttribute()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dfxvertex.adoc864 * Let code:bindingDesc be the member of
889 if (bindingDesc.inputRate == VK_VERTEX_INPUT_RATE_VERTEX)
890 effectiveVertexOffset = vertexIndex * bindingDesc.stride;
893 effectiveVertexOffset = instanceIndex * bindingDesc.stride;
897 effectiveVertexOffset = firstInstance * bindingDesc.stride;
899 …eVertexOffset = (firstInstance + ((instanceIndex - firstInstance) / divisor)) * bindingDesc.stride;
Dfxvertex.txt859 * Let code:bindingDesc be the member of
880 if (bindingDesc.inputRate == VK_VERTEX_INPUT_RATE_VERTEX)
881 vertexOffset = vertexIndex * bindingDesc.stride;
884 vertexOffset = instanceIndex * bindingDesc.stride;
888 vertexOffset = firstInstance * bindingDesc.stride;
890 … vertexOffset = (firstInstance + ((instanceIndex - firstInstance) / divisor)) * bindingDesc.stride;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp1808 VkVertexInputBindingDescription &bindingDesc = bindingDescs[vertexAttribCount]; in initializePipeline() local
1812 bindingDesc.binding = attribIndex; in initializePipeline()
1813 bindingDesc.stride = static_cast<uint32_t>(packedAttrib.stride); in initializePipeline()
1816 bindingDesc.inputRate = static_cast<VkVertexInputRate>(VK_VERTEX_INPUT_RATE_INSTANCE); in initializePipeline()
1817 divisorDesc[divisorState.vertexBindingDivisorCount].binding = bindingDesc.binding; in initializePipeline()
1823 bindingDesc.inputRate = static_cast<VkVertexInputRate>(VK_VERTEX_INPUT_RATE_VERTEX); in initializePipeline()
1869 bindingDesc.stride = 0; // Prevent out-of-bounds accesses. in initializePipeline()