Home
last modified time | relevance | path

Searched refs:stageCount (Results 1 – 25 of 104) sorted by relevance

12345

/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp345 uint32_t stageCount = 0; in Initialize() local
379 GetVkSpecializationInfo(programmableStage, &specializationInfoPerStages[stageCount], in Initialize()
380 &specializationDataEntriesPerStages[stageCount], in Initialize()
381 &specializationMapEntriesPerStages[stageCount]); in Initialize()
383 DAWN_ASSERT(stageCount < 2); in Initialize()
384 shaderStages[stageCount] = shaderStage; in Initialize()
385 stageCount++; in Initialize()
529 createInfo.stageCount = stageCount; in Initialize()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
DvktSubgroupsShuffleTests.cpp113 const deUint32 stageCount = subgroups::getStagesCount(caseDef.shaderStage); in getPerStageHeadDeclarations() local
115 const size_t resultSize = stageCount + (fragment ? 1 : 0); in getPerStageHeadDeclarations()
121 const deUint32 binding1 = stageCount; in getPerStageHeadDeclarations()
122 const deUint32 binding2 = stageCount + 1; in getPerStageHeadDeclarations()
123 const string buffer1 = (i == stageCount) in getPerStageHeadDeclarations()
151 const deUint32 stageCount = subgroups::getStagesCount(caseDef.shaderStage); in getFramebufferPerStageHeadDeclarations() local
152 vector<string> result (stageCount, string()); in getFramebufferPerStageHeadDeclarations()
DvktSubgroupsBasicTests.cpp1422 const deUint32 stageCount = subgroups::getStagesCount(caseDef.shaderStage); in getPerStageHeadDeclarations() local
1424 vector<string> result (stageCount, string()); in getPerStageHeadDeclarations()
1433 const bool frag = (i == stageCount); in getPerStageHeadDeclarations()
1435 const size_t binding2 = stageCount + i; in getPerStageHeadDeclarations()
1461 const bool frag = (i == stageCount); in getPerStageHeadDeclarations()
1463 const size_t binding2 = stageCount + 4 * i; in getPerStageHeadDeclarations()
1464 const size_t binding3 = stageCount + 4 * i + 1; in getPerStageHeadDeclarations()
1465 const size_t binding4 = stageCount + 4 * i + 2; in getPerStageHeadDeclarations()
1466 const size_t binding5 = stageCount + 4 * i + 3; in getPerStageHeadDeclarations()
DvktSubgroupsShapeTests.cpp183 const deUint32 stageCount = subgroups::getStagesCount(caseDef.shaderStage); in getPerStageHeadDeclarations() local
185 vector<string> result (stageCount, string()); in getPerStageHeadDeclarations()
DvktSubgroupsBallotMasksTests.cpp158 const deUint32 stageCount = subgroups::getStagesCount(caseDef.shaderStage); in getPerStageHeadDeclarations() local
160 vector<string> result (stageCount, string()); in getPerStageHeadDeclarations()
DvktSubgroupsBallotOtherTests.cpp102 const deUint32 stageCount = subgroups::getStagesCount(caseDef.shaderStage); in getPerStageHeadDeclarations() local
104 vector<string> result (stageCount, string()); in getPerStageHeadDeclarations()
DvktSubgroupsBuiltinMaskVarTests.cpp1177 const deUint32 stageCount = subgroups::getStagesCount(caseDef.shaderStage); in getPerStageHeadDeclarations() local
1179 vector<string> result (stageCount, string()); in getPerStageHeadDeclarations()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsShuffleTests.cpp113 const deUint32 stageCount = subgroups::getStagesCount(caseDef.shaderStage); in getPerStageHeadDeclarations() local
115 const size_t resultSize = stageCount + (fragment ? 1 : 0); in getPerStageHeadDeclarations()
121 const deUint32 binding1 = stageCount; in getPerStageHeadDeclarations()
122 const deUint32 binding2 = stageCount + 1; in getPerStageHeadDeclarations()
123 const string buffer1 = (i == stageCount) in getPerStageHeadDeclarations()
151 const deUint32 stageCount = subgroups::getStagesCount(caseDef.shaderStage); in getFramebufferPerStageHeadDeclarations() local
152 vector<string> result (stageCount, string()); in getFramebufferPerStageHeadDeclarations()
DvktSubgroupsBasicTests.cpp1422 const deUint32 stageCount = subgroups::getStagesCount(caseDef.shaderStage); in getPerStageHeadDeclarations() local
1424 vector<string> result (stageCount, string()); in getPerStageHeadDeclarations()
1433 const bool frag = (i == stageCount); in getPerStageHeadDeclarations()
1435 const size_t binding2 = stageCount + i; in getPerStageHeadDeclarations()
1461 const bool frag = (i == stageCount); in getPerStageHeadDeclarations()
1463 const size_t binding2 = stageCount + 4 * i; in getPerStageHeadDeclarations()
1464 const size_t binding3 = stageCount + 4 * i + 1; in getPerStageHeadDeclarations()
1465 const size_t binding4 = stageCount + 4 * i + 2; in getPerStageHeadDeclarations()
1466 const size_t binding5 = stageCount + 4 * i + 3; in getPerStageHeadDeclarations()
DvktSubgroupsBallotMasksTests.cpp158 const deUint32 stageCount = subgroups::getStagesCount(caseDef.shaderStage); in getPerStageHeadDeclarations() local
160 vector<string> result (stageCount, string()); in getPerStageHeadDeclarations()
DvktSubgroupsShapeTests.cpp183 const deUint32 stageCount = subgroups::getStagesCount(caseDef.shaderStage); in getPerStageHeadDeclarations() local
185 vector<string> result (stageCount, string()); in getPerStageHeadDeclarations()
DvktSubgroupsBallotOtherTests.cpp102 const deUint32 stageCount = subgroups::getStagesCount(caseDef.shaderStage); in getPerStageHeadDeclarations() local
104 vector<string> result (stageCount, string()); in getPerStageHeadDeclarations()
DvktSubgroupsBuiltinMaskVarTests.cpp1177 const deUint32 stageCount = subgroups::getStagesCount(caseDef.shaderStage); in getPerStageHeadDeclarations() local
1179 vector<string> result (stageCount, string()); in getPerStageHeadDeclarations()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineShaderModuleIdentifierTests.cpp566 size_t stageCount = 0; in stageCountPerPipeline() local
570 case PipelineType::COMPUTE: stageCount = 1u; break; in stageCountPerPipeline()
571 case PipelineType::GRAPHICS: stageCount = graphicsShaders.size(); break; in stageCountPerPipeline()
572 case PipelineType::RAY_TRACING: stageCount = rtShaders.size(); break; in stageCountPerPipeline()
578 return stageCount; in stageCountPerPipeline()
768 …32_t> generateShaderConstants (PipelineType pipelineType, uint8_t pipelineCount, size_t stageCount) in generateShaderConstants() argument
773 for (size_t stageIdx = 0; stageIdx < stageCount; ++stageIdx) in generateShaderConstants()
783 size_t getShaderIdx (uint8_t pipelineIdx, size_t stageIdx, size_t stageCount) in getShaderIdx() argument
786 return (pIdx * stageCount + stageIdx); in getShaderIdx()
792 const auto stageCount = params.stageCountPerPipeline(); in generateSources() local
[all …]
DvktPipelineMiscTests.cpp894 vertexInputPipelineInfo.stageCount = de::sizeU32(allBadStages); in iterate()
922 preRasterShaderPipelineInfo.stageCount = de::sizeU32(preRasterStagesVec); in iterate()
946 fragShaderPipelineInfo.stageCount = de::sizeU32(fragShaderStagesVec); in iterate()
964 fragOutputPipelineInfo.stageCount = de::sizeU32(allBadStages); in iterate()
985 linkedPipelineInfo.stageCount = de::sizeU32(allBadStages); in iterate()
DvktPipelineTimestampTests.cpp240 const deUint32 stageCount,
267 const deUint32 stageCount, in TimestampTestParam() argument
276 for (deUint32 ndx = 0; ndx < stageCount; ndx++) in TimestampTestParam()
338 const deUint32 stageCount,
353 const deUint32 stageCount, in TransferTimestampTestParam() argument
358 …: TimestampTestParam(pipelineConstructionType, stages, stageCount, inRenderPass, hostQueryReset, f… in TransferTimestampTestParam()
413 const deUint32 stageCount,
426 const deUint32 stageCount, in TwoCmdBuffersTestParam() argument
431 …: TimestampTestParam(pipelineConstructionType, stages, stageCount, inRenderPass, hostQueryReset, q… in TwoCmdBuffersTestParam()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineShaderModuleIdentifierTests.cpp566 size_t stageCount = 0; in stageCountPerPipeline() local
570 case PipelineType::COMPUTE: stageCount = 1u; break; in stageCountPerPipeline()
571 case PipelineType::GRAPHICS: stageCount = graphicsShaders.size(); break; in stageCountPerPipeline()
572 case PipelineType::RAY_TRACING: stageCount = rtShaders.size(); break; in stageCountPerPipeline()
578 return stageCount; in stageCountPerPipeline()
768 …32_t> generateShaderConstants (PipelineType pipelineType, uint8_t pipelineCount, size_t stageCount) in generateShaderConstants() argument
773 for (size_t stageIdx = 0; stageIdx < stageCount; ++stageIdx) in generateShaderConstants()
783 size_t getShaderIdx (uint8_t pipelineIdx, size_t stageIdx, size_t stageCount) in getShaderIdx() argument
786 return (pIdx * stageCount + stageIdx); in getShaderIdx()
792 const auto stageCount = params.stageCountPerPipeline(); in generateSources() local
[all …]
DvktPipelineMiscTests.cpp894 vertexInputPipelineInfo.stageCount = de::sizeU32(allBadStages); in iterate()
922 preRasterShaderPipelineInfo.stageCount = de::sizeU32(preRasterStagesVec); in iterate()
946 fragShaderPipelineInfo.stageCount = de::sizeU32(fragShaderStagesVec); in iterate()
964 fragOutputPipelineInfo.stageCount = de::sizeU32(allBadStages); in iterate()
985 linkedPipelineInfo.stageCount = de::sizeU32(allBadStages); in iterate()
DvktPipelineTimestampTests.cpp240 const deUint32 stageCount,
267 const deUint32 stageCount, in TimestampTestParam() argument
276 for (deUint32 ndx = 0; ndx < stageCount; ndx++) in TimestampTestParam()
338 const deUint32 stageCount,
353 const deUint32 stageCount, in TransferTimestampTestParam() argument
358 …: TimestampTestParam(pipelineConstructionType, stages, stageCount, inRenderPass, hostQueryReset, f… in TransferTimestampTestParam()
413 const deUint32 stageCount,
426 const deUint32 stageCount, in TwoCmdBuffersTestParam() argument
431 …: TimestampTestParam(pipelineConstructionType, stages, stageCount, inRenderPass, hostQueryReset, q… in TwoCmdBuffersTestParam()
/third_party/mesa3d/src/intel/vulkan/
Danv_pipeline.c1517 for (uint32_t i = 0; i < info->stageCount; i++) { in anv_graphics_pipeline_compile()
1759 assert(stage_count == 0 || info->stageCount == stage_count); in anv_graphics_pipeline_compile()
2069 for (uint32_t i = 0; i < pCreateInfo->stageCount; i++) in anv_graphics_pipeline_init()
2373 rzalloc_array(pipeline_ctx, struct anv_pipeline_stage, info->stageCount); in anv_pipeline_init_ray_tracing_stages()
2375 for (uint32_t i = 0; i < info->stageCount; i++) { in anv_pipeline_init_ray_tracing_stages()
2416 assert(intersection_idx < info->stageCount); in anv_pipeline_init_ray_tracing_stages()
2420 assert(any_hit_idx < info->stageCount); in anv_pipeline_init_ray_tracing_stages()
2446 for (uint32_t i = 0; i < info->stageCount; i++) { in anv_pipeline_load_cached_shaders()
2518 for (uint32_t i = 0; i < info->stageCount; i++) { in anv_pipeline_compile_ray_tracing()
2536 for (uint32_t i = 0; i < info->stageCount; i++) { in anv_pipeline_compile_ray_tracing()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_EXT_pipeline_creation_feedback/
Dpipelines.txt68 must: equal slink:VkGraphicsPipelineCreateInfo::pname:stageCount
77 must: equal slink:VkRayTracingPipelineCreateInfoKHR::pname:stageCount
83 must: equal slink:VkRayTracingPipelineCreateInfoNV::pname:stageCount
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkPipelineConstructionUtil.cpp960 m_internalData->monolithicPipelineCreateInfo.stageCount = 1u + hasTesc + hasTese + hasGeom; in setupPreRasterizationShaderState3()
996 pipelinePartCreateInfo.stageCount = 1u + hasTesc + hasTese + hasGeom; in setupPreRasterizationShaderState3()
1110 m_internalData->monolithicPipelineCreateInfo.stageCount = 1u + taskShaderCount; in setupPreRasterizationMeshShaderState()
1142 pipelinePartCreateInfo.stageCount = 1u + taskShaderCount; in setupPreRasterizationMeshShaderState()
1244 m_internalData->monolithicPipelineCreateInfo.stageCount += (hasFrag ? 1u : 0u); in setupFragmentShaderState2()
1280 pipelinePartCreateInfo.stageCount = hasFrag; in setupFragmentShaderState2()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_rt.c39 uint32_t total_stages = pCreateInfo->stageCount; in radv_create_merged_rt_create_info()
53 local_create_info.stageCount = total_stages; in radv_create_merged_rt_create_info()
62 total_stages = pCreateInfo->stageCount; in radv_create_merged_rt_create_info()
64 for (unsigned j = 0; j < pCreateInfo->stageCount; ++j) in radv_create_merged_rt_create_info()
115 if (local_create_info.stageCount) { in radv_rt_pipeline_library_create()
116 pipeline->stage_count = local_create_info.stageCount; in radv_rt_pipeline_library_create()
118 size_t size = sizeof(VkPipelineShaderStageCreateInfo) * local_create_info.stageCount; in radv_rt_pipeline_library_create()
125 pipeline->hashes = malloc(sizeof(*pipeline->hashes) * local_create_info.stageCount); in radv_rt_pipeline_library_create()
129 pipeline->identifiers = malloc(sizeof(*pipeline->identifiers) * local_create_info.stageCount); in radv_rt_pipeline_library_create()
133 for (uint32_t i = 0; i < local_create_info.stageCount; i++) { in radv_rt_pipeline_library_create()
[all …]
Dradv_meta_fast_clear.c237 .stageCount = 2, in create_pipeline()
287 .stageCount = 2, in create_pipeline()
337 .stageCount = 2, in create_pipeline()
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_pipeline.h1780 size += vn_sizeof_uint32_t(&val->stageCount); in vn_sizeof_VkGraphicsPipelineCreateInfo_self()
1782 size += vn_sizeof_array_size(val->stageCount); in vn_sizeof_VkGraphicsPipelineCreateInfo_self()
1783 for (uint32_t i = 0; i < val->stageCount; i++) in vn_sizeof_VkGraphicsPipelineCreateInfo_self()
1873 vn_encode_uint32_t(enc, &val->stageCount); in vn_encode_VkGraphicsPipelineCreateInfo_self()
1875 vn_encode_array_size(enc, val->stageCount); in vn_encode_VkGraphicsPipelineCreateInfo_self()
1876 for (uint32_t i = 0; i < val->stageCount; i++) in vn_encode_VkGraphicsPipelineCreateInfo_self()

12345