Home
last modified time | relevance | path

Searched refs:shaderStages (Results 1 – 25 of 28) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp316 VkPipelineShaderStageCreateInfo shaderStages[2]; in RenderPipeline() local
318 shaderStages[0].sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO; in RenderPipeline()
319 shaderStages[0].pNext = nullptr; in RenderPipeline()
320 shaderStages[0].flags = 0; in RenderPipeline()
321 shaderStages[0].stage = VK_SHADER_STAGE_VERTEX_BIT; in RenderPipeline()
322 shaderStages[0].pSpecializationInfo = nullptr; in RenderPipeline()
323 shaderStages[0].module = ToBackend(descriptor->vertexStage->module)->GetHandle(); in RenderPipeline()
324 shaderStages[0].pName = descriptor->vertexStage->entryPoint; in RenderPipeline()
326 shaderStages[1].sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO; in RenderPipeline()
327 shaderStages[1].pNext = nullptr; in RenderPipeline()
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DDrawTester.cpp280 std::array<vk::PipelineShaderStageCreateInfo, 2> shaderStages; in createGraphicsPipeline() local
282 shaderStages[0].module = vertexModule; in createGraphicsPipeline()
283 shaderStages[0].stage = vk::ShaderStageFlagBits::eVertex; in createGraphicsPipeline()
284 shaderStages[0].pName = "main"; in createGraphicsPipeline()
286 shaderStages[1].module = fragmentModule; in createGraphicsPipeline()
287 shaderStages[1].stage = vk::ShaderStageFlagBits::eFragment; in createGraphicsPipeline()
288 shaderStages[1].pName = "main"; in createGraphicsPipeline()
290 pipelineCreateInfo.stageCount = static_cast<uint32_t>(shaderStages.size()); in createGraphicsPipeline()
291 pipelineCreateInfo.pStages = shaderStages.data(); in createGraphicsPipeline()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp1490 info.shaderStages[0].sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO; in init_shaders()
1491 info.shaderStages[0].pNext = NULL; in init_shaders()
1492 info.shaderStages[0].pSpecializationInfo = NULL; in init_shaders()
1493 info.shaderStages[0].flags = 0; in init_shaders()
1494 info.shaderStages[0].stage = VK_SHADER_STAGE_VERTEX_BIT; in init_shaders()
1495 info.shaderStages[0].pName = "main"; in init_shaders()
1506 &info.shaderStages[0].module); in init_shaders()
1513 info.shaderStages[1].sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO; in init_shaders()
1514 info.shaderStages[1].pNext = NULL; in init_shaders()
1515 info.shaderStages[1].pSpecializationInfo = NULL; in init_shaders()
[all …]
Dvulkan_command_buffer_utils.h217 VkPipelineShaderStageCreateInfo shaderStages[2]; member
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp1501 info.shaderStages[0].sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO; in init_shaders()
1502 info.shaderStages[0].pNext = NULL; in init_shaders()
1503 info.shaderStages[0].pSpecializationInfo = NULL; in init_shaders()
1504 info.shaderStages[0].flags = 0; in init_shaders()
1505 info.shaderStages[0].stage = VK_SHADER_STAGE_VERTEX_BIT; in init_shaders()
1506 info.shaderStages[0].pName = "main"; in init_shaders()
1517 &info.shaderStages[0].module); in init_shaders()
1524 info.shaderStages[1].sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO; in init_shaders()
1525 info.shaderStages[1].pNext = NULL; in init_shaders()
1526 info.shaderStages[1].pSpecializationInfo = NULL; in init_shaders()
[all …]
Dvulkan_command_buffer_utils.h217 VkPipelineShaderStageCreateInfo shaderStages[2]; member
/third_party/flutter/glfw/tests/
Dvulkan.c1417 VkPipelineShaderStageCreateInfo shaderStages[2]; in demo_prepare_pipeline() local
1418 memset(&shaderStages, 0, 2 * sizeof(VkPipelineShaderStageCreateInfo)); in demo_prepare_pipeline()
1420 shaderStages[0].sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO; in demo_prepare_pipeline()
1421 shaderStages[0].stage = VK_SHADER_STAGE_VERTEX_BIT; in demo_prepare_pipeline()
1422 shaderStages[0].module = demo_prepare_vs(demo); in demo_prepare_pipeline()
1423 shaderStages[0].pName = "main"; in demo_prepare_pipeline()
1425 shaderStages[1].sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO; in demo_prepare_pipeline()
1426 shaderStages[1].stage = VK_SHADER_STAGE_FRAGMENT_BIT; in demo_prepare_pipeline()
1427 shaderStages[1].module = demo_prepare_fs(demo); in demo_prepare_pipeline()
1428 shaderStages[1].pName = "main"; in demo_prepare_pipeline()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineCreationCacheControlTests.cpp883 …const auto shaderStages = createShaderStages(modules, {VK_SHADER_STAGE_VERTEX_BIT, VK_SHADER_STAG… in testInstance() local
891 baseCreateInfo.stageCount = static_cast<deUint32>(shaderStages.size()); in testInstance()
892 baseCreateInfo.pStages = shaderStages.data(); in testInstance()
1064 const auto shaderStages = createShaderStages(modules, {VK_SHADER_STAGE_COMPUTE_BIT}); in testInstance() local
1073 shaderStages[0], // stage in testInstance()
DvktPipelineInputAssemblyTests.cpp1239 std::vector<VkPipelineShaderStageCreateInfo> shaderStages; in InputAssemblyInstance() local
1242 shaderStages.push_back({ in InputAssemblyInstance()
1253 shaderStages.push_back({ in InputAssemblyInstance()
1266 shaderStages.push_back({ in InputAssemblyInstance()
1277 shaderStages.push_back({ in InputAssemblyInstance()
1447 (deUint32)shaderStages.size(), // deUint32 stageCount; in InputAssemblyInstance()
1448 shaderStages.data(), // const VkPipelineShaderStageCreateInfo* pStages; in InputAssemblyInstance()
DvktPipelineColorWriteEnableTests.cpp640 std::vector<vk::VkPipelineShaderStageCreateInfo> shaderStages; in iterate() local
653 shaderStages.push_back(shaderStageCreateInfo); in iterate()
656 shaderStages.push_back(shaderStageCreateInfo); in iterate()
821 static_cast<deUint32>(shaderStages.size()), // deUint32 stageCount; in iterate()
822 shaderStages.data(), // const VkPipelineShaderStageCreateInfo* pStages; in iterate()
DvktPipelinePushConstantTests.cpp146 const VkShaderStageFlags shaderStages[] = in getShaderStageNameStr() local
166 for (deUint32 stageNdx = 0u; stageNdx < DE_LENGTH_OF_ARRAY(shaderStages); stageNdx++) in getShaderStageNameStr()
168 if (stageFlags & shaderStages[stageNdx]) in getShaderStageNameStr()
856 const VkShaderStageFlags shaderStages[] = in getPushConstantRanges() local
869 for (deUint32 stageNdx = 0u; stageNdx < DE_LENGTH_OF_ARRAY(shaderStages); stageNdx++) in getPushConstantRanges()
876 if (m_pushConstantRange[rangeNdx].range.shaderStage & shaderStages[stageNdx]) in getPushConstantRanges()
887 shaderStages[stageNdx], // VkShaderStageFlags stageFlags in getPushConstantRanges()
896 …<< "VkShaderStageFlags stageFlags " << getShaderStageNameStr(shaderStages[stageNdx]) << ",\n" in getPushConstantRanges()
DvktPipelineExtendedDynamicStateTests.cpp2023 std::vector<vk::VkPipelineShaderStageCreateInfo> shaderStages; in iterate() local
2037 shaderStages.push_back(shaderStageCreateInfo); in iterate()
2043 shaderStages.push_back(shaderStageCreateInfo); in iterate()
2050 shaderStages.push_back(shaderStageCreateInfo); in iterate()
2054 shaderStages.push_back(shaderStageCreateInfo); in iterate()
2058 shaderStaticStages = shaderStages; in iterate()
2062 shaderStages.push_back(shaderStageCreateInfo); in iterate()
2275 static_cast<deUint32>(shaderStages.size()), // deUint32 stageCount; in iterate()
2276 shaderStages.data(), // const VkPipelineShaderStageCreateInfo* pStages; in iterate()
DvktPipelineMultisampleTests.cpp4808 std::vector<vk::VkPipelineShaderStageCreateInfo> shaderStages; in iterate() local
4821 shaderStages.push_back(shaderStageCreateInfo); in iterate()
4824 shaderStages.push_back(shaderStageCreateInfo); in iterate()
4914 static_cast<deUint32>(shaderStages.size()), // deUint32 stageCount; in iterate()
4915 shaderStages.data(), // const VkPipelineShaderStageCreateInfo* pStages; in iterate()
4947 static_cast<deUint32>(shaderStages.size()), // deUint32 stageCount; in iterate()
4948 shaderStages.data(), // const VkPipelineShaderStageCreateInfo* pStages; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingDataSpillTests.cpp1590 const auto shaderStages = getShaderStages(m_params.callType); in iterate() local
1785 dslBuilder.addBinding(VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR, 1u, shaderStages, nullptr); in iterate()
1786 …dslBuilder.addBinding(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1u, shaderStages, nullptr); // Callee buf… in iterate()
1787 …dslBuilder.addBinding(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1u, shaderStages, nullptr); // Output buf… in iterate()
1788 …dslBuilder.addBinding(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1u, shaderStages, nullptr); // Input buff… in iterate()
1791 dslBuilder.addBinding(VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, 2u, shaderStages, nullptr); in iterate()
1792 dslBuilder.addBinding(VK_DESCRIPTOR_TYPE_SAMPLER, 2u, shaderStages, nullptr); in iterate()
1793 dslBuilder.addBinding(VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, 2u, shaderStages, nullptr); in iterate()
1797 dslBuilder.addBinding(VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, 1u, shaderStages, nullptr); in iterate()
2419 const auto shaderStages = getShaderStages(m_params.interfaceType); in iterate() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiBufferMarkerTests.cpp630 std::vector<VkPipelineShaderStageCreateInfo> shaderStages; in bufferMarkerMemoryDep() local
644 shaderStages.push_back(createInfo); in bufferMarkerMemoryDep()
659 shaderStages.push_back(createInfo); in bufferMarkerMemoryDep()
764 static_cast<deUint32>(shaderStages.size()), // deUint32 stageCount; in bufferMarkerMemoryDep()
765 dataOrNullPtr(shaderStages), // const VkPipelineShaderStageCreateInfo* pStages; in bufferMarkerMemoryDep()
DvktApiFeatureInfo.cpp110 deUint32 shaderStages = 3; in validateFeatureLimits() local
120 shaderStages += 2; in validateFeatureLimits()
125 shaderStages++; in validateFeatureLimits()
164 …{ LIMIT(maxDescriptorSetSamplers), shaderStages * 16, 0, 0, 0.0f, LIMIT_FORMAT_UNSIGNED_INT,… in validateFeatureLimits()
165 …{ LIMIT(maxDescriptorSetUniformBuffers), shaderStages * 12, 0, 0, 0.0f, LIMIT_FORMAT_UNSIGNED_… in validateFeatureLimits()
167 …{ LIMIT(maxDescriptorSetStorageBuffers), shaderStages * 4, 0, 0, 0.0f, LIMIT_FORMAT_UNSIGNED_I… in validateFeatureLimits()
169 …{ LIMIT(maxDescriptorSetSampledImages), shaderStages * 16, 0, 0, 0.0f, LIMIT_FORMAT_UNSIGNED_… in validateFeatureLimits()
170 …{ LIMIT(maxDescriptorSetStorageImages), shaderStages * 4, 0, 0, 0.0f, LIMIT_FORMAT_UNSIGNED_I… in validateFeatureLimits()
708 deUint32 shaderStages = 3; in validateLimits12() local
718 shaderStages += 2; in validateLimits12()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp341 std::array<VkPipelineShaderStageCreateInfo, 2> shaderStages; in Initialize() local
384 shaderStages[stageCount] = shaderStage; in Initialize()
530 createInfo.pStages = shaderStages.data(); in Initialize()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsm64bitCompareTests.cpp1401 std::vector<vk::VkPipelineShaderStageCreateInfo> shaderStages; in iterate() local
1413 shaderStages.push_back(vertexStage); in iterate()
1429 shaderStages.push_back(fragmentStage); in iterate()
1549 static_cast<deUint32>(shaderStages.size()), // deUint32 stageCount; in iterate()
1550 shaderStages.data(), // const VkPipelineShaderStageCreateInfo* pStages; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsTestsUtils.cpp861 deUint32 vkt::subgroups::getStagesCount (const VkShaderStageFlags shaderStages) in getStagesCount() argument
863 const deUint32 stageCount = isAllRayTracingStages(shaderStages) ? 6 in getStagesCount()
864 : isAllGraphicsStages(shaderStages) ? 4 in getStagesCount()
865 : isAllComputeStages(shaderStages) ? 1 in getStagesCount()
4055 static inline void checkShaderStageSetValidity (const VkShaderStageFlags shaderStages) in checkShaderStageSetValidity() argument
4057 if (shaderStages == 0) in checkShaderStageSetValidity()
4061 const deUint32 exclusivePipelinesCount = (isAllComputeStages(shaderStages) ? 1 :0) in checkShaderStageSetValidity()
4062 + (isAllGraphicsStages(shaderStages) ? 1 :0) in checkShaderStageSetValidity()
4063 + (isAllRayTracingStages(shaderStages) ? 1 :0); in checkShaderStageSetValidity()
4069 void vkt::subgroups::supportedCheckShader (Context& context, const VkShaderStageFlags shaderStages) in supportedCheckShader() argument
[all …]
DvktSubgroupsTestsUtils.hpp113 deUint32 getStagesCount (vk::VkShaderStageFlags shaderStages);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp606 angle::FixedVector<VkPipelineShaderStageCreateInfo, 2> shaderStages; in initializePipeline() local
627 shaderStages.push_back(vertexStage); in initializePipeline()
640 shaderStages.push_back(fragmentStage); in initializePipeline()
649 size_t unpackedSize = sizeof(shaderStages) + sizeof(vertexInputState) + in initializePipeline()
832 createInfo.stageCount = static_cast<uint32_t>(shaderStages.size()); in initializePipeline()
833 createInfo.pStages = shaderStages.data(); in initializePipeline()
DContextVk.h319 VkShaderStageFlags shaderStages) const;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp1712 angle::FixedVector<VkPipelineShaderStageCreateInfo, 5> shaderStages; in initializePipeline() local
1736 shaderStages.push_back(vertexStage); in initializePipeline()
1747 shaderStages.push_back(tessControlStage); in initializePipeline()
1759 shaderStages.push_back(tessEvaluationStage); in initializePipeline()
1770 shaderStages.push_back(geometryStage); in initializePipeline()
1784 shaderStages.push_back(fragmentStage); in initializePipeline()
1793 size_t unpackedSize = sizeof(shaderStages) + sizeof(vertexInputState) + in initializePipeline()
2113 createInfo.stageCount = static_cast<uint32_t>(shaderStages.size()); in initializePipeline()
2114 createInfo.pStages = shaderStages.data(); in initializePipeline()
DContextVk.cpp5458 gl::ShaderBitSet shaderStages = activeImageShaderBits[imageUnitIndex]; in updateActiveImages() local
5459 ASSERT(shaderStages.any()); in updateActiveImages()
5469 for (gl::ShaderType stage : shaderStages) in updateActiveImages()
5490 gl::ShaderType firstShader = shaderStages.first(); in updateActiveImages()
5491 gl::ShaderType lastShader = shaderStages.last(); in updateActiveImages()
5492 shaderStages.reset(firstShader); in updateActiveImages()
5493 shaderStages.reset(lastShader); in updateActiveImages()
5498 if (shaderStages.any() || firstShader != lastShader) in updateActiveImages()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp897 Move<vk::VkDescriptorSetLayout> createDescriptorSetLayout (Context& context, deUint32 shaderStages) in createDescriptorSetLayout() argument
904 .addSingleBinding(vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, getVkStageFlags(shaderStages)) in createDescriptorSetLayout()

12