/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/assets/3d/pipelinelayouts/ |
H A D | core3d_dm_fw.shaderpl | 10 …{ "binding" : 0, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 11 …{ "binding" : 1, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 12 …{ "binding" : 2, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 13 …{ "binding" : 3, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 14 …{ "binding" : 4, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 15 …{ "binding" : 5, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 16 …{ "binding" : 6, "descriptorType" : "storage_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 17 …{ "binding" : 7, "descriptorType" : "combined_image_sampler", "descriptorCount" : 1, "shaderStageF… 18 …{ "binding" : 8, "descriptorType" : "combined_image_sampler", "descriptorCount" : 1, "shaderStageF… 20 …{ "binding" : 10, "descriptorType" : "combined_image_sampler", "descriptorCount": 1, "shaderStageF… [all …]
|
H A D | core3d_dm_fullscreen_deferred_shading.shaderpl | 11 …{ "binding" : 0, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 12 …{ "binding" : 1, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 13 …{ "binding" : 2, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 14 …{ "binding" : 3, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 15 …{ "binding" : 4, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 16 …{ "binding" : 5, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 17 …{ "binding" : 6, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 29 …{ "binding" : 0, "descriptorType" : "input_attachment", "descriptorCount": 1, "shaderStageFlags" :… 30 …{ "binding" : 1, "descriptorType" : "input_attachment", "descriptorCount": 1, "shaderStageFlags" :… 31 …{ "binding" : 2, "descriptorType" : "input_attachment", "descriptorCount": 1, "shaderStageFlags" :… [all …]
|
H A D | core3d_post_process.shaderpl | 11 …{ "binding" : 0, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 12 …{ "binding" : 1, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 13 …{ "binding" : 2, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 14 …{ "binding" : 3, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 15 …{ "binding" : 4, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 16 …{ "binding" : 5, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 17 …{ "binding" : 6, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 18 …{ "binding" : 7, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 19 …{ "binding" : 8, "descriptorType" : "storage_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 20 …{ "binding" : 9, "descriptorType" : "combined_image_sampler", "descriptorCount" : 1, "shaderStageF… [all …]
|
H A D | core3d_dm_env.shaderpl | 10 …{ "binding" : 0, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 11 …{ "binding" : 1, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 12 …{ "binding" : 2, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 13 …{ "binding" : 3, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 14 …{ "binding" : 4, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 20 …{ "binding" : 0, "descriptorType" : "combined_image_sampler", "descriptorCount": 1, "shaderStageFl… 21 …{ "binding" : 1, "descriptorType" : "combined_image_sampler", "descriptorCount": 1, "shaderStageFl…
|
H A D | core3d_dm_depth.shaderpl | 10 …{ "binding" : 0, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 11 …{ "binding" : 1, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 17 …{ "binding" : 0, "descriptorType" : "uniform_buffer_dynamic", "descriptorCount": 1, "shaderStageFl… 18 …{ "binding" : 1, "descriptorType" : "uniform_buffer_dynamic", "descriptorCount": 1, "shaderStageFl…
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/templates/pipelinelayouts/ |
H A D | pipeline_layout.shaderpl | 11 …{ "binding" : 0, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 12 …{ "binding" : 1, "descriptorType" : "sampled_image", "descriptorCount" : 1, "shaderStageFlags" : "… 13 …{ "binding" : 2, "descriptorType" : "combined_image_sampler", "descriptorCount" : 1, "shaderStageF… 14 …{ "binding" : 3, "descriptorType" : "sampler", "descriptorCount": 1, "shaderStageFlags" : "fragmen… 20 …{ "binding" : 0, "descriptorType" : "uniform_buffer_dynamic", "descriptorCount": 1, "shaderStageFl… 26 …{ "binding": 0, "descriptorType": "combined_image_sampler", "descriptorCount": 1, "shaderStageFlag…
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | node_context_descriptor_set_manager_gles.cpp | 72 const uint32_t descriptorCount = refBinding.descriptorCount; in CreateDescriptorSet() local 74 samplerCount += descriptorCount; in CreateDescriptorSet() 78 imageCount += descriptorCount; in CreateDescriptorSet() 82 bufferCount += descriptorCount; in CreateDescriptorSet() 122 const uint32_t descriptorCount = refBinding.descriptorCount; in CreateOneFrameDescriptorSet() local 124 samplerCount += descriptorCount; in CreateOneFrameDescriptorSet() 128 imageCount += descriptorCount; in CreateOneFrameDescriptorSet() 132 bufferCount += descriptorCount; in CreateOneFrameDescriptorSet()
|
H A D | shader_module_gles.cpp | 45 static_cast<uint8_t>(binding.descriptorCount), string { name } }); in Collect()
|
H A D | gpu_program_gles.cpp | 409 tmp.id.resize(b.descriptorCount); in BuildBindInfos() 411 for (size_t index = 0; index < b.descriptorCount; index++) { in BuildBindInfos()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | pipeline_descriptor_set_binder.cpp | 98 … const uint32_t arrayCount = (binding.descriptorCount > 1) ? (binding.descriptorCount - 1) : 0; in Init() 110 minDescriptorCount = Math::min(minDescriptorCount, binding.descriptorCount); in Init() 134 vec[idx].binding.descriptorCount = 0; in InitFillBindings() 165 if (res.binding.descriptorCount > 1) { in InitFillBindings() 167 bufferIdx.arrayCount += (currBinding.binding.descriptorCount - 1); in InitFillBindings() 178 if (res.binding.descriptorCount > 1) { in InitFillBindings() 180 imageIdx.arrayCount += (currBinding.binding.descriptorCount - 1); in InitFillBindings() 190 if (res.binding.descriptorCount > 1) { in InitFillBindings() 318 if (bind.binding.descriptorCount != resources.size()) { in BindBuffers() 441 if ((bind.binding.descriptorCount != resources.size())) { in BindImages() [all …]
|
H A D | node_context_descriptor_set_manager.cpp | 37 …uceAndValidateDescriptorCounts(const DescriptorType descriptorType, const uint32_t descriptorCount, in ReduceAndValidateDescriptorCounts() argument 41 valRef -= descriptorCount; in ReduceAndValidateDescriptorCounts() 129 if (dstRef.binding.descriptorCount > 1) { in CopyAndProcessImages() 214 bindingRef.descriptorType, bindingRef.descriptorCount, descriptorCountValidation_); in CreateDescriptorSets() 231 … bindingRef.descriptorType, bindingRef.descriptorCount, descriptorCountValidation_); in CreateDescriptorSet() 287 … bindingRef.descriptorType, bindingRef.descriptorCount, descriptorCountValidation_); in CreatePipelineDescriptorSetBinder()
|
H A D | render_node_util.cpp | 251 ….push_back(DescriptorCounts::TypedCount { bindingRef.descriptorType, bindingRef.descriptorCount }); in GetDescriptorCounts() 261 ….push_back(DescriptorCounts::TypedCount { bindingRef.descriptorType, bindingRef.descriptorCount }); in GetDescriptorCounts()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | node_context_descriptor_set_manager_vk.cpp | 261 uint32_t descriptorCount = bindingRef.binding.descriptorCount; in BeginBackendFrame() local 270 descriptorCount *= descriptorCountMultiplier; in BeginBackendFrame() 324 uint32_t descriptorCount = bindingRef.binding.descriptorCount; in BeginBackendFrame() local 333 descriptorCount *= descriptorCountMultiplier; in BeginBackendFrame() 367 const uint32_t descriptorCount = refBinding.descriptorCount; in IncreaseDescriptorSetCounts() local 369 descSetCounts.samplerCount += descriptorCount; in IncreaseDescriptorSetCounts() 373 descSetCounts.imageCount += descriptorCount; in IncreaseDescriptorSetCounts() 377 descSetCounts.bufferCount += descriptorCount; in IncreaseDescriptorSetCounts() 450 oneFrameDescriptorNeed_.descriptorCount[refBinding.descriptorType] += in CreateOneFrameDescriptorSet() 451 static_cast<uint8_t>(refBinding.descriptorCount); in CreateOneFrameDescriptorSet() [all …]
|
H A D | render_backend_vk.cpp | 1947 const uint32_t descriptorCount = ref.binding.descriptorCount; in UpdateCommandListDescriptorSets() local 1949 if (descriptorCount == 0) { in UpdateCommandListDescriptorSets() 1983 dsud.accelIndex += descriptorCount; in UpdateCommandListDescriptorSets() 2018 dsud.bufferIndex += descriptorCount; in UpdateCommandListDescriptorSets() 2022 const uint32_t descriptorCount = ref.binding.descriptorCount; in UpdateCommandListDescriptorSets() local 2024 if (descriptorCount == 0) { in UpdateCommandListDescriptorSets() 2030 for (uint32_t idx = 0; idx < descriptorCount; ++idx) { in UpdateCommandListDescriptorSets() 2075 dsud.imageIndex += descriptorCount; in UpdateCommandListDescriptorSets() 2078 const uint32_t descriptorCount = ref.binding.descriptorCount; in UpdateCommandListDescriptorSets() local 2080 if (descriptorCount == 0) { in UpdateCommandListDescriptorSets() [all …]
|
H A D | pipeline_state_object_vk.cpp | 133 const uint32_t descriptorCount = bindingRef.descriptorCount; in GetDescriptorSetFillData() local 139 descriptorCount, // descriptorCount in GetDescriptorSetFillData()
|
H A D | node_context_descriptor_set_manager_vk.h | 156 uint8_t descriptorCount[DESCRIPTOR_ARRAY_SIZE] { 0 };
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/assets/render/pipelinelayouts/ |
H A D | post_process_common.shaderpl | 11 …{ "binding" : 0, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "… 12 …{ "binding" : 1, "descriptorType" : "uniform_buffer", "descriptorCount": 1, "shaderStageFlags" : "…
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | gpu_program_util.cpp | 56 (inBinding.descriptorCount != outRef.descriptorCount)) { in AddBindings() 61 … currBindingIndex, inBinding.descriptorType, outRef.descriptorType, inBinding.descriptorCount, in AddBindings() 62 outRef.descriptorCount); in AddBindings()
|
H A D | shader_pipeline_binder.cpp | 232 descSetRes.bindings[idx].descriptorCount = ref.binding.descriptorCount; in ShaderPipelineBinder() 616 rb.descriptorCount = resBinding.descriptorCount; in GetResourceBinding()
|
H A D | shader_pipeline_binder.h | 119 uint32_t descriptorCount { ~0U };
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/ |
H A D | render_graph.cpp | 1446 const uint32_t descriptorCount = ref.binding.descriptorCount; in HandleDescriptorSets() local 1448 if (descriptorCount == 0) { in HandleDescriptorSets() 1452 PLUGIN_ASSERT((arrayOffset + descriptorCount - 1) <= buffers.size()); in HandleDescriptorSets() 1453 for (uint32_t idx = 0; idx < descriptorCount; ++idx) { in HandleDescriptorSets() 1462 const uint32_t descriptorCount = ref.binding.descriptorCount; in HandleDescriptorSets() local 1464 if (descriptorCount == 0) { in HandleDescriptorSets() 1468 PLUGIN_ASSERT((arrayOffset + descriptorCount - 1) <= images.size()); in HandleDescriptorSets() 1469 for (uint32_t idx = 0; idx < descriptorCount; ++idx) { in HandleDescriptorSets()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/ |
H A D | pipeline_layout_desc.h | 57 uint32_t descriptorCount { 0 };
|
H A D | intf_shader_pipeline_binder.h | 85 uint32_t descriptorCount { 0U }; in RENDER_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | pipeline_layout_loader.cpp | 61 SafeGetJsonValue(jsonData, "descriptorCount", context.error, context.data.descriptorCount);
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | main.cpp | 449 uint32_t descriptorCount { 0 }; member 620 binding.descriptorCount = static_cast<uint32_t>(*ptr | (*(ptr + 1) << 8)); in GetPipelineLayout() 993 binding.descriptorCount = spirType.array.empty() ? 1 : spirType.array[0]; in processResource() 1323 push(reflection, static_cast<uint16_t>(binding.descriptorCount)); in reflectSpvBinary()
|