/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_pass.c | 91 desc->inputAttachmentCount + desc->colorAttachmentCount + in panvk_CreateRenderPass2() 92 (desc->pResolveAttachments ? desc->colorAttachmentCount : 0) + in panvk_CreateRenderPass2() 114 subpass->color_count = desc->colorAttachmentCount; in panvk_CreateRenderPass2() 133 if (desc->colorAttachmentCount > 0) { in panvk_CreateRenderPass2() 135 p += desc->colorAttachmentCount; in panvk_CreateRenderPass2() 137 for (uint32_t j = 0; j < desc->colorAttachmentCount; j++) { in panvk_CreateRenderPass2() 162 p += desc->colorAttachmentCount; in panvk_CreateRenderPass2() 164 for (uint32_t j = 0; j < desc->colorAttachmentCount; j++) { in panvk_CreateRenderPass2()
|
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_render_pass.c | 75 reference_count += pCreateInfo->pSubpasses[i].colorAttachmentCount; in vk_common_CreateRenderPass() 77 reference_count += pCreateInfo->pSubpasses[i].colorAttachmentCount; in vk_common_CreateRenderPass() 141 .colorAttachmentCount = pCreateInfo->pSubpasses[i].colorAttachmentCount, in vk_common_CreateRenderPass() 158 subpasses[i].colorAttachmentCount, in vk_common_CreateRenderPass() 165 subpasses[i].colorAttachmentCount, in vk_common_CreateRenderPass() 322 desc->colorAttachmentCount + in num_subpass_attachments2() 323 (desc->pResolveAttachments ? desc->colorAttachmentCount : 0) + in num_subpass_attachments2() 442 pCreateInfo->pSubpasses[i].colorAttachmentCount; in vk_common_CreateRenderPass2() 512 subpass->color_count = desc->colorAttachmentCount; in vk_common_CreateRenderPass2() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkRenderPass.cpp | 30 uint32_t nbAttachments = subpass.inputAttachmentCount + subpass.colorAttachmentCount; in ComputeRequiredAllocationSizeT() 33 nbAttachments += subpass.colorAttachmentCount; in ComputeRequiredAllocationSizeT() 58 dst[i].colorAttachmentCount = src[i].colorAttachmentCount; in CopySubpasses() 307 if(subpass.colorAttachmentCount > 0) in init() 309 size_t colorAttachmentsSize = subpass.colorAttachmentCount * sizeof(VkAttachmentReference); in init() 312 subpass.pColorAttachments, subpass.colorAttachmentCount); in init() 319 subpass.pResolveAttachments, subpass.colorAttachmentCount); in init() 323 for(auto j = 0u; j < subpasses[i].colorAttachmentCount; j++) in init()
|
H A D | VkFramebuffer.cpp | 143 ASSERT(attachment.colorAttachment < subpass.colorAttachmentCount); in clearAttachment() 203 for(uint32_t i = 0; i < subpass.colorAttachmentCount; i++)
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_pass.c | 322 return desc->inputAttachmentCount + desc->colorAttachmentCount + in radv_num_subpass_attachments2() 323 (desc->pResolveAttachments ? desc->colorAttachmentCount : 0) + in radv_num_subpass_attachments2() 395 subpass->color_count = desc->colorAttachmentCount; in radv_CreateRenderPass2() 414 if (desc->colorAttachmentCount > 0) { in radv_CreateRenderPass2() 416 p += desc->colorAttachmentCount; in radv_CreateRenderPass2() 418 for (uint32_t j = 0; j < desc->colorAttachmentCount; j++) { in radv_CreateRenderPass2() 428 p += desc->colorAttachmentCount; in radv_CreateRenderPass2() 430 for (uint32_t j = 0; j < desc->colorAttachmentCount; j++) { in radv_CreateRenderPass2()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_pass.c | 30 desc->colorAttachmentCount + in num_subpass_attachments() 31 (desc->pResolveAttachments ? desc->colorAttachmentCount : 0) + in num_subpass_attachments() 192 subpass->color_count = desc->colorAttachmentCount; in v3dv_CreateRenderPass2() 207 if (desc->colorAttachmentCount > 0) { in v3dv_CreateRenderPass2() 209 p += desc->colorAttachmentCount; in v3dv_CreateRenderPass2() 211 for (uint32_t j = 0; j < desc->colorAttachmentCount; j++) { in v3dv_CreateRenderPass2() 221 p += desc->colorAttachmentCount; in v3dv_CreateRenderPass2() 223 for (uint32_t j = 0; j < desc->colorAttachmentCount; j++) { in v3dv_CreateRenderPass2()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shader_object/ |
H A D | vktShaderObjectRenderingTests.cpp | 64 deUint32 colorAttachmentCount; member 403 deUint32 outputCount = m_params.colorAttachmentCount + m_params.extraFragmentOutputCount + m_params.extraAttachmentCount; in beginRendering() 406 if (m_params.extraOutputs == BEFORE || (m_params.extraOutputs == BETWEEN && m_params.colorAttachmentCount + m_params.extraAttachmentCount == 0)) in beginRendering() 412 for (deUint32 j = 0; j < m_params.colorAttachmentCount + m_params.extraAttachmentCount; ++j) in beginRendering() 414 if (m_params.extraOutputs == BETWEEN && i == (m_params.colorAttachmentCount + m_params.extraAttachmentCount) / 2 + 1) in beginRendering() 425 if (m_params.extraOutputs == AFTER || (m_params.extraOutputs == BETWEEN && m_params.colorAttachmentCount + m_params.extraAttachmentCount == 1)) in beginRendering() 454 (deUint32)colorAttachments.size(), // deUint32 colorAttachmentCount; in beginRendering() 467 m_colorFormats.resize(m_params.colorAttachmentCount + m_params.extraAttachmentCount); in setColorFormats() 518 if ((m_params.extraAttachments == BEFORE && attachmentIndex < m_params.extraAttachmentCount) || (m_params.extraAttachments == BETWEEN && attachmentIndex > m_params.colorAttachmentCount / 2u && attachmentIndex <= m_params.colorAttachmentCount / in generateExpectedImage() 612 deUint32 colorAttachmentCount = m_params.colorAttachmentCount + m_params.extraAttachmentCount; iterate() local 903 deUint32 colorAttachmentCount; createShaderObjectRenderingTests() member [all...] |
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_pass.c | 231 for (unsigned j = 0; j < subpass->colorAttachmentCount; j++) { in tu_render_pass_add_implicit_deps() 256 for (unsigned j = 0; j < subpass->colorAttachmentCount; j++) { in tu_render_pass_add_implicit_deps() 323 for (unsigned j = 0; j < subpass->colorAttachmentCount; j++) { in tu_render_pass_add_implicit_deps() 348 for (unsigned j = 0; j < subpass->colorAttachmentCount; j++) { in tu_render_pass_add_implicit_deps() 804 desc->inputAttachmentCount + desc->colorAttachmentCount + in tu_CreateRenderPass2() 805 (desc->pResolveAttachments ? desc->colorAttachmentCount : 0) + in tu_CreateRenderPass2() 829 subpass->color_count = desc->colorAttachmentCount; in tu_CreateRenderPass2() 858 if (desc->colorAttachmentCount > 0) { in tu_CreateRenderPass2() 860 p += desc->colorAttachmentCount; in tu_CreateRenderPass2() 862 for (uint32_t j = 0; j < desc->colorAttachmentCount; in tu_CreateRenderPass2() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineColorWriteEnableTests.cpp | 564 kNumColorAttachments, // deUint32 colorAttachmentCount; in iterate() 1210 RenderPassWrapper createRenderPass (deUint32 colorAttachmentCount) const; 1211 Framebuffer createFramebuffer (deUint32 colorAttachmentCount) const; 1215 deUint32 colorAttachmentCount, 1352 RenderPassWrapper ColorWriteEnable2Instance::createRenderPass (deUint32 colorAttachmentCount) const in createRenderPass() 1355 colorAttachmentCount, in createRenderPass() 1371 for (deUint32 i = 0u; i < colorAttachmentCount; ++i) in createRenderPass() 1387 colorAttachmentCount, // deUint32 colorAttachmentCount; in createRenderPass() 1400 colorAttachmentCount, // deUint3 in createRenderPass() 1486 colorAttachmentCount, // deUint32 attachmentCount; createFramebuffer() local 1498 setupAndBuildPipeline(GraphicsPipelineWrapperEx& owner, PipelineLayoutWrapper& pipelineLayout, VkRenderPass renderPass, deUint32 colorAttachmentCount, const ColorWriteEnables& colorWriteEnables, float blendComp, bool dynamic) const setupAndBuildPipeline() argument [all...] |
H A D | vktPipelineBlendOperationAdvancedTests.cpp | 890 param.colorAttachmentsCount, // deUint32 colorAttachmentCount in makeTestRenderPass() 2244 for (deUint32 colorAttachmentCount = 0u; colorAttachmentCount < DE_LENGTH_OF_ARRAY(colorAttachmentCounts); colorAttachmentCount++) 2264 testParams.colorAttachmentsCount = colorAttachmentCounts[colorAttachmentCount]; 2271 for (deUint32 numColorAtt = 0; numColorAtt < colorAttachmentCounts[colorAttachmentCount]; numColorAtt++) 2287 for (deUint32 colorAttachmentCount = 1u; colorAttachmentCount < DE_LENGTH_OF_ARRAY(colorAttachmentCounts); colorAttachmentCount++) 2294 testParams.colorAttachmentsCount = colorAttachmentCounts[colorAttachmentCount]; [all...] |
/third_party/mesa3d/src/virtio/venus-protocol/ |
H A D | vn_protocol_driver_render_pass.h | 80 size += vn_sizeof_uint32_t(&val->colorAttachmentCount); in vn_sizeof_VkSubpassDescription() 82 size += vn_sizeof_array_size(val->colorAttachmentCount); in vn_sizeof_VkSubpassDescription() 83 for (uint32_t i = 0; i < val->colorAttachmentCount; i++) in vn_sizeof_VkSubpassDescription() 89 size += vn_sizeof_array_size(val->colorAttachmentCount); in vn_sizeof_VkSubpassDescription() 90 for (uint32_t i = 0; i < val->colorAttachmentCount; i++) in vn_sizeof_VkSubpassDescription() 121 vn_encode_uint32_t(enc, &val->colorAttachmentCount); in vn_encode_VkSubpassDescription() 123 vn_encode_array_size(enc, val->colorAttachmentCount); in vn_encode_VkSubpassDescription() 124 for (uint32_t i = 0; i < val->colorAttachmentCount; i++) in vn_encode_VkSubpassDescription() 130 vn_encode_array_size(enc, val->colorAttachmentCount); in vn_encode_VkSubpassDescription() 131 for (uint32_t i = 0; i < val->colorAttachmentCount; in vn_encode_VkSubpassDescription() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineColorWriteEnableTests.cpp | 562 kNumColorAttachments, // deUint32 colorAttachmentCount; in iterate() 1202 Move<VkRenderPass> createRenderPass (deUint32 colorAttachmentCount) const; 1204 deUint32 colorAttachmentCount) const; 1208 deUint32 colorAttachmentCount, 1345 Move<VkRenderPass> ColorWriteEnable2Instance::createRenderPass (deUint32 colorAttachmentCount) const in createRenderPass() 1348 colorAttachmentCount, in createRenderPass() 1364 for (deUint32 i = 0u; i < colorAttachmentCount; ++i) in createRenderPass() 1380 colorAttachmentCount, // deUint32 colorAttachmentCount; in createRenderPass() 1393 colorAttachmentCount, // deUint3 in createRenderPass() 1487 setupAndBuildPipeline(GraphicsPipelineWrapperEx& owner, VkPipelineLayout pipelineLayout, VkRenderPass renderPass, deUint32 colorAttachmentCount, const ColorWriteEnables& colorWriteEnables, float blendComp, bool dynamic) const setupAndBuildPipeline() argument [all...] |
H A D | vktPipelineBlendOperationAdvancedTests.cpp | 895 param.colorAttachmentsCount, // deUint32 colorAttachmentCount in makeTestRenderPass() 2223 for (deUint32 colorAttachmentCount = 0u; colorAttachmentCount < DE_LENGTH_OF_ARRAY(colorAttachmentCounts); colorAttachmentCount++) 2243 testParams.colorAttachmentsCount = colorAttachmentCounts[colorAttachmentCount]; 2250 for (deUint32 numColorAtt = 0; numColorAtt < colorAttachmentCounts[colorAttachmentCount]; numColorAtt++) 2266 for (deUint32 colorAttachmentCount = 1u; colorAttachmentCount < DE_LENGTH_OF_ARRAY(colorAttachmentCounts); colorAttachmentCount++) 2273 testParams.colorAttachmentsCount = colorAttachmentCounts[colorAttachmentCount]; [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/ |
H A D | vktMultiViewRenderPassUtil.hpp | 94 deUint32 colorAttachmentCount, 111 deUint32 colorAttachmentCount,
|
H A D | vktMultiViewRenderPassUtil.cpp | 135 colorAttachmentCount = colorAttachmentCount_; in SubpassDescription1() 163 colorAttachmentCount = colorAttachmentCount_; in SubpassDescription2()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/multiview/ |
H A D | vktMultiViewRenderPassUtil.hpp | 94 deUint32 colorAttachmentCount, 111 deUint32 colorAttachmentCount,
|
H A D | vktMultiViewRenderPassUtil.cpp | 135 colorAttachmentCount = colorAttachmentCount_; in SubpassDescription1() 163 colorAttachmentCount = colorAttachmentCount_; in SubpassDescription2()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | UtilsVk.cpp | 311 uint32_t GetUnresolveFlags(uint32_t colorAttachmentCount, in GetUnresolveFlags() argument 319 for (uint32_t attachmentIndex = 0; attachmentIndex < colorAttachmentCount; ++attachmentIndex) in GetUnresolveFlags() 335 // |flags| is comprised of |colorAttachmentCount| values from in GetUnresolveFlags() 617 void InsertPreamble(uint32_t colorAttachmentCount, in InsertPreamble() argument 635 for (uint32_t colorIndex = 0; colorIndex < colorAttachmentCount; ++colorIndex) in InsertPreamble() 923 uint32_t colorAttachmentCount, in MakeFragShader() 937 InsertPreamble(colorAttachmentCount, unresolveDepth, unresolveStencil, &code); in MakeFragShader() 940 for (uint32_t colorIndex = 0; colorIndex < colorAttachmentCount; ++colorIndex) in MakeFragShader() 945 const uint32_t depthStencilInputIndex = colorAttachmentCount; in MakeFragShader() 946 uint32_t depthStencilBindingIndex = colorAttachmentCount; in MakeFragShader() 922 MakeFragShader( uint32_t colorAttachmentCount, gl::DrawBuffersArray<UnresolveColorAttachmentType> &colorAttachmentTypes, bool unresolveDepth, bool unresolveStencil) MakeFragShader() argument 977 GetUnresolveFrag( vk::Context *context, uint32_t colorAttachmentCount, gl::DrawBuffersArray<UnresolveColorAttachmentType> &colorAttachmentTypes, bool unresolveDepth, bool unresolveStencil, vk::RefCounted<vk::ShaderAndSerial> *shader) GetUnresolveFrag() argument 3270 const uint32_t colorAttachmentCount = colorIndexVk.get(); unresolve() local [all...] |
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_pass.c | 77 return desc->inputAttachmentCount + desc->colorAttachmentCount + in pvr_num_subpass_attachments() 78 (desc->pResolveAttachments ? desc->colorAttachmentCount : 0) + in pvr_num_subpass_attachments() 414 subpass->color_count = desc->colorAttachmentCount; in pvr_CreateRenderPass2()
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkRenderPass.cpp | 169 subpassDescMain.colorAttachmentCount = 1; in Create() 208 subpassDescMain.colorAttachmentCount = 0; in Create() 242 subpassDescLoad.colorAttachmentCount = 1; in Create()
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
H A D | WGPUHelpers.cpp | 102 colorAttachmentCount = static_cast<uint32_t>(colorAttachmentInfo.size()); in ComboRenderPassDescriptor() 128 colorAttachmentCount = otherRenderPass.colorAttachmentCount; in operator =()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassTestsUtil.hpp | 100 deUint32 colorAttachmentCount, 117 deUint32 colorAttachmentCount,
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassTestsUtil.hpp | 100 deUint32 colorAttachmentCount, 117 deUint32 colorAttachmentCount,
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | AttachmentState.cpp | 54 i < ColorAttachmentIndex(static_cast<uint8_t>(descriptor->colorAttachmentCount)); in AttachmentStateBlueprint()
|
/third_party/skia/third_party/externals/dawn/examples/ |
H A D | CHelloTriangle.cpp | 118 renderpassInfo.colorAttachmentCount = 1; in frame()
|