Home
last modified time | relevance | path

Searched refs:kMaxColorAttachments (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPassCache.h54 ityp::bitset<ColorAttachmentIndex, kMaxColorAttachments> colorMask;
55 ityp::bitset<ColorAttachmentIndex, kMaxColorAttachments> resolveTargetMask;
56 ityp::array<ColorAttachmentIndex, wgpu::TextureFormat, kMaxColorAttachments> colorFormats;
57 ityp::array<ColorAttachmentIndex, wgpu::LoadOp, kMaxColorAttachments> colorLoadOp;
58 ityp::array<ColorAttachmentIndex, wgpu::StoreOp, kMaxColorAttachments> colorStoreOp;
DRenderPassCache.cpp113 std::array<VkAttachmentReference, kMaxColorAttachments> colorAttachmentRefs; in CreateRenderPassForQuery()
114 std::array<VkAttachmentReference, kMaxColorAttachments> resolveAttachmentRefs; in CreateRenderPassForQuery()
119 constexpr uint8_t kMaxAttachmentCount = kMaxColorAttachments * 2 + 1; in CreateRenderPassForQuery()
DAdapterVk.cpp258 if (vkLimits.maxColorAttachments < kMaxColorAttachments) { in InitializeSupportedLimitsImpl()
279 kMaxColorAttachments + baseLimits.v1.maxStorageTexturesPerShaderStage + in InitializeSupportedLimitsImpl()
286 kMaxColorAttachments + limits->v1.maxStorageTexturesPerShaderStage + in InitializeSupportedLimitsImpl()
DCommandBufferVk.cpp234 std::array<VkClearValue, kMaxColorAttachments + 1> clearValues; in RecordBeginRenderPass()
239 std::array<VkImageView, kMaxColorAttachments * 2 + 1> attachments; in RecordBeginRenderPass()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DAttachmentState.h56 ityp::bitset<ColorAttachmentIndex, kMaxColorAttachments> mColorAttachmentsSet;
57 ityp::array<ColorAttachmentIndex, wgpu::TextureFormat, kMaxColorAttachments> mColorFormats;
69 ityp::bitset<ColorAttachmentIndex, kMaxColorAttachments> GetColorAttachmentsMask() const;
DRenderPipeline.h91 ityp::bitset<ColorAttachmentIndex, kMaxColorAttachments> GetColorAttachmentsMask() const;
130 ityp::array<ColorAttachmentIndex, ColorTargetState, kMaxColorAttachments> mTargets;
131 ityp::array<ColorAttachmentIndex, BlendState, kMaxColorAttachments> mTargetBlend;
DAttachmentState.cpp27 ASSERT(descriptor->colorFormatsCount <= kMaxColorAttachments); in AttachmentStateBlueprint()
39 ASSERT(descriptor->fragment->targetCount <= kMaxColorAttachments); in AttachmentStateBlueprint()
141 ityp::bitset<ColorAttachmentIndex, kMaxColorAttachments>
DRenderBundleEncoder.cpp65 descriptor->colorFormatsCount > kMaxColorAttachments, in ValidateRenderBundleEncoderDescriptor()
67 descriptor->colorFormatsCount, kMaxColorAttachments); in ValidateRenderBundleEncoderDescriptor()
DShaderModule.h187 ityp::array<ColorAttachmentIndex, FragmentOutputVariableInfo, kMaxColorAttachments>
189 ityp::bitset<ColorAttachmentIndex, kMaxColorAttachments> fragmentOutputsWritten;
DIntegerTypes.h37 ColorAttachmentIndex(kMaxColorAttachments);
DCommands.h100 ityp::array<ColorAttachmentIndex, RenderPassColorAttachmentInfo, kMaxColorAttachments>
DRenderPipeline.cpp410 DAWN_INVALID_IF(descriptor->targetCount > kMaxColorAttachments, in ValidateFragmentState()
412 descriptor->targetCount, kMaxColorAttachments); in ValidateFragmentState()
825 ityp::bitset<ColorAttachmentIndex, kMaxColorAttachments>
DCommandEncoder.cpp338 descriptor->colorAttachmentCount > kMaxColorAttachments, in ValidateRenderPassDescriptor()
340 descriptor->colorAttachmentCount, kMaxColorAttachments); in ValidateRenderPassDescriptor()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DRenderPassBuilderD3D12.h87 array<ColorAttachmentIndex, D3D12_RENDER_PASS_RENDER_TARGET_DESC, kMaxColorAttachments>
89 ityp::array<ColorAttachmentIndex, D3D12_CPU_DESCRIPTOR_HANDLE, kMaxColorAttachments>
93 kMaxColorAttachments>
/third_party/skia/third_party/externals/dawn/src/utils/
DComboRenderPipelineDescriptor.h55 std::array<wgpu::ColorTargetState, kMaxColorAttachments> cTargets;
56 std::array<wgpu::BlendState, kMaxColorAttachments> cBlends;
DComboRenderBundleEncoderDescriptor.h30 std::array<wgpu::TextureFormat, kMaxColorAttachments> cColorFormats;
DComboRenderPipelineDescriptor.cpp127 for (uint32_t i = 0; i < kMaxColorAttachments; ++i) { in ComboRenderPipelineDescriptor()
DWGPUHelpers.h69 std::array<wgpu::RenderPassColorAttachment, kMaxColorAttachments> cColorAttachments;
DWGPUHelpers.cpp89 for (uint32_t i = 0; i < kMaxColorAttachments; ++i) { in ComboRenderPassDescriptor()
/third_party/skia/third_party/externals/dawn/src/common/
DConstants.h25 static constexpr uint8_t kMaxColorAttachments = 8u; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DCommandBufferMTL.mm196 const std::array<id<MTLTexture>, kMaxColorAttachments>& resolveTextures) {
202 for (uint32_t i = 0; i < kMaxColorAttachments; ++i) {
1179 std::array<id<MTLTexture>, kMaxColorAttachments> trueResolveTextures = {};
1180 std::array<uint32_t, kMaxColorAttachments> trueResolveLevels = {};
1181 std::array<uint32_t, kMaxColorAttachments> trueResolveSlices = {};
1186 std::array<NSPRef<id<MTLTexture>>, kMaxColorAttachments> temporaryResolveTextures = {};
1187 for (uint32_t i = 0; i < kMaxColorAttachments; ++i) {
1216 for (uint32_t i = 0; i < kMaxColorAttachments; ++i) {
1235 std::array<id<MTLTexture>, kMaxColorAttachments> resolveTextures = {};
1236 for (uint32_t i = 0; i < kMaxColorAttachments; ++i) {
/third_party/vk-gl-cts/external/amber/src/src/dawn/
Dengine_dawn.cc44 static const uint32_t kMaxColorAttachments = 4u; variable
124 colorAttachmentsInfoPtr[kMaxColorAttachments];
126 std::array<::dawn::ColorStateDescriptor*, kMaxColorAttachments> colorStates;
128 ::dawn::ColorStateDescriptor colorStatesDescriptor[kMaxColorAttachments];
136 std::array<::dawn::RenderPassColorAttachmentDescriptor, kMaxColorAttachments>
1096 for (uint32_t i = 0; i < kMaxColorAttachments; ++i) { in CreateRenderPipelineDescriptor()
1175 for (uint32_t i = 0; i < kMaxColorAttachments; ++i) { in CreateRenderPassDescriptor()
1531 for (uint32_t i = 0; i < kMaxColorAttachments; i++) { in AttachBuffersAndTextures()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DRenderBundleValidationTests.cpp616 std::array<wgpu::TextureFormat, kMaxColorAttachments + 1> colorFormats; in TEST_F()
624 desc.colorFormatsCount = kMaxColorAttachments; in TEST_F()
632 desc.colorFormatsCount = kMaxColorAttachments + 1; in TEST_F()
DRenderPassDescriptorValidationTests.cpp104 std::array<wgpu::RenderPassColorAttachment, kMaxColorAttachments + 1> colorAttachments; in TEST_F()
117 renderPass.colorAttachmentCount = kMaxColorAttachments; in TEST_F()
126 renderPass.colorAttachmentCount = kMaxColorAttachments + 1; in TEST_F()
DShaderModuleValidationTests.cpp63 stream << "[[stage(fragment)]] fn main() -> [[location(" << kMaxColorAttachments in TEST_F()

12