Home
last modified time | relevance | path

Searched refs:colorFormats (Results 1 - 25 of 29) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassDitheringTests.cpp54 std::vector<VkFormat> colorFormats; member
237 for (const VkFormat format : m_testParams.colorFormats) in checkSupport()
311 for (deUint32 i = 0u; i < m_testParams.colorFormats.size(); ++i) in iterate()
313 VkFormat format = m_testParams.colorFormats[i]; in iterate()
579 const std::vector<vk::VkFormat> colorFormats = m_testParams.colorFormats; in createDrawResources() local
587 for (const VkFormat format : colorFormats) in createDrawResources()
749 for (deUint32 i = 0u; i < colorFormats.size(); ++i) in createDrawResources()
842 renderingCreateInfo.colorAttachmentCount = (deUint32)(colorFormats.size()); in createDrawResources()
843 renderingCreateInfo.pColorAttachmentFormats = colorFormats in createDrawResources()
889 std::vector<VkFormat> colorFormats = m_testParams.colorFormats; createRenderPassFramebuffer() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassDitheringTests.cpp54 std::vector<VkFormat> colorFormats; member
239 for (const VkFormat format : m_testParams.colorFormats) in checkSupport()
313 for (deUint32 i = 0u; i < m_testParams.colorFormats.size(); ++i) in iterate()
315 VkFormat format = m_testParams.colorFormats[i]; in iterate()
581 const std::vector<vk::VkFormat> colorFormats = m_testParams.colorFormats; in createDrawResources() local
589 for (const VkFormat format : colorFormats) in createDrawResources()
751 for (deUint32 i = 0u; i < colorFormats.size(); ++i) in createDrawResources()
844 renderingCreateInfo.colorAttachmentCount = (deUint32)(colorFormats.size()); in createDrawResources()
845 renderingCreateInfo.pColorAttachmentFormats = colorFormats in createDrawResources()
891 std::vector<VkFormat> colorFormats = m_testParams.colorFormats; createRenderPassFramebuffer() local
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A Dvk_caps_utils.h39 egl::ConfigSet GenerateConfigs(const GLenum *colorFormats,
46 egl::ConfigSet GenerateConfigs(const GLenum (&colorFormats)[ColorFormatCount],
50 return GenerateConfigs(colorFormats, ColorFormatCount, depthStencilFormats,
H A Dvk_caps_utils.cpp1233 egl::ConfigSet GenerateConfigs(const GLenum *colorFormats,
1269 gl::GetSizedInternalFormatInfo(colorFormats[colorFormatIdx]);
1287 else if (colorFormats[colorFormatIdx] == GL_NONE)
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFboColorbufferTests.cpp1028 static const deUint32 colorFormats[] = in init() local
1084 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(colorFormats); ndx++) in init()
1085 clearGroup->addChild(new FboColorClearCase(m_context, getFormatName(colorFormats[ndx]), "", colorFormats[ndx], 129, 117)); in init()
1093 for (int fmtNdx = 0; fmtNdx < DE_LENGTH_OF_ARRAY(colorFormats); fmtNdx++) in init()
1094 tex2DGroup->addChild(new FboColorMultiTex2DCase(m_context, getFormatName(colorFormats[fmtNdx]), "", in init()
1095 colorFormats[fmtNdx], IVec2(129, 117), in init()
1096 colorFormats[fmtNdx], IVec2(99, 128))); in init()
1104 for (int fmtNdx = 0; fmtNdx < DE_LENGTH_OF_ARRAY(colorFormats); fmtNdx++) in init()
1105 texCubeGroup->addChild(new FboColorTexCubeCase(m_context, getFormatName(colorFormats[fmtNd in init()
[all...]
H A Des3fFboRenderTest.cpp1482 } colorFormats[] = in init() local
1558 for (int colorFmtNdx = 0; colorFmtNdx < DE_LENGTH_OF_ARRAY(colorFormats); colorFmtNdx++) in init()
1561 if (colorFormats[colorFmtNdx].type == FORMATTYPE_INT || colorFormats[colorFmtNdx].type == FORMATTYPE_UINT) in init()
1566 FboConfig config(GL_COLOR_BUFFER_BIT, objectTypes[typeNdx], colorFormats[colorFmtNdx].format, GL_NONE, GL_NONE); in init()
1574 for (int colorFmtNdx = 0; colorFmtNdx < DE_LENGTH_OF_ARRAY(colorFormats); colorFmtNdx++) in init()
1580 if (colorFormats[colorFmtNdx].type == FORMATTYPE_INT || in init()
1581 colorFormats[colorFmtNdx].type == FORMATTYPE_UINT || in init()
1582 colorFormats[colorFmtNdx].format == GL_RGBA32F || in init()
1583 colorFormats[colorFmtNd in init()
[all...]
H A Des3fFboMultisampleTests.cpp353 static const deUint32 colorFormats[] = in init() local
401 for (int fmtNdx = 0; fmtNdx < DE_LENGTH_OF_ARRAY(colorFormats); fmtNdx++) in init()
402 sampleCountGroup->addChild(new BasicFboMultisampleCase(m_context, getFormatName(colorFormats[fmtNdx]), "", colorFormats[fmtNdx], GL_NONE, IVec2(119, 131), samples)); in init()
H A Des3fTextureSpecificationTests.cpp3518 } colorFormats[] = in init() local
3589 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(colorFormats); formatNdx++) in init()
3591 const char* fmtName = colorFormats[formatNdx].name; in init()
3592 deUint32 format = colorFormats[formatNdx].internalFormat; in init()
3612 int formatNdx = rnd.getInt(0, DE_LENGTH_OF_ARRAY(colorFormats)-1); in init()
3616 randomTexImageGroup->addChild(new RandomOrderTexImage2DCase(m_context, (string("2d_") + de::toString(ndx)).c_str(), "", colorFormats[formatNdx].internalFormat, width, height)); in init()
3622 int formatNdx = rnd.getInt(0, DE_LENGTH_OF_ARRAY(colorFormats)-1); in init()
3625 randomTexImageGroup->addChild(new RandomOrderTexImageCubeCase(m_context, (string("cube_") + de::toString(ndx)).c_str(), "", colorFormats[formatNdx].internalFormat, size)); in init()
3740 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(colorFormats); formatNdx++) in init()
3742 const string fmtName = colorFormats[formatNd in init()
[all...]
H A Des3fFramebufferBlitTests.cpp896 static const deUint32 colorFormats[] =
1045 for (int srcFmtNdx = 0; srcFmtNdx < DE_LENGTH_OF_ARRAY(colorFormats); srcFmtNdx++)
1047 for (int dstFmtNdx = 0; dstFmtNdx < DE_LENGTH_OF_ARRAY(colorFormats); dstFmtNdx++)
1049 deUint32 srcFormat = colorFormats[srcFmtNdx];
1052 deUint32 dstFormat = colorFormats[dstFmtNdx];
1139 for (int fmtNdx = 0; fmtNdx < DE_LENGTH_OF_ARRAY(colorFormats); fmtNdx++)
1141 const deUint32 format = colorFormats[fmtNdx];
H A Des3fFboInvalidateTests.cpp1431 static const deUint32 colorFormats[] = in init() local
1491 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(colorFormats); ndx++) in init()
1492 formatGroup->addChild(new InvalidateSubFboUnbindReadCase(m_context, getFormatName(colorFormats[ndx]), "", colorFormats[ndx], GL_NONE, GL_COLOR_BUFFER_BIT)); in init()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DRenderPassCache.cpp57 colorFormats[index] = format; in SetColor()
133 attachmentDesc.format = VulkanImageFormat(mDevice, query.colorFormats[i]); in CreateRenderPassForQuery()
181 attachmentDesc.format = VulkanImageFormat(mDevice, query.colorFormats[i]); in CreateRenderPassForQuery()
243 HashCombine(&hash, query.colorFormats[i], query.colorLoadOp[i]); in operator ()()
272 if ((a.colorFormats[i] != b.colorFormats[i]) || in operator ()()
H A DRenderPassCache.h56 ityp::array<ColorAttachmentIndex, wgpu::TextureFormat, kMaxColorAttachments> colorFormats; member
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureSpecificationTests.cpp781 } colorFormats[] = in init() local
852 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(colorFormats); formatNdx++) in init()
854 const char* fmtName = colorFormats[formatNdx].name; in init()
855 deUint32 format = colorFormats[formatNdx].internalFormat; in init()
893 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(colorFormats); formatNdx++) in init()
895 const string fmtName = colorFormats[formatNdx].name; in init()
896 const deUint32 format = colorFormats[formatNdx].internalFormat; in init()
981 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(colorFormats); ndx++) in init()
983 pboGroup->addChild(new TexSubImageCubeArrayBufferCase(m_context, (std::string(colorFormats[ndx].name) + "_cube_array").c_str(), "", in init()
984 colorFormats[nd in init()
[all...]
H A Des31fFboColorbufferTests.cpp358 static const deUint32 colorFormats[] = in init() local
421 for (int fmtNdx = 0; fmtNdx < DE_LENGTH_OF_ARRAY(colorFormats); fmtNdx++) in init()
422 texCubeArrayGroup->addChild(new FboColorTexCubeArrayCase(m_context, getFormatName(colorFormats[fmtNdx]), "", in init()
423 colorFormats[fmtNdx], IVec3(128, 128, 12))); in init()
H A Des31fShaderFramebufferFetchTests.cpp1413 static const deUint32 colorFormats[] = in init() local
1462 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(colorFormats); ndx++) in init()
1463 framebufferFormatTestGroup->addChild(new TextureFormatTestCase(m_context, getFormatName(colorFormats[ndx]), "Framebuffer fetches from texture attachments with varying formats", colorFormats[ndx])); in init()
/third_party/skia/third_party/externals/dawn/src/utils/
H A DComboRenderBundleEncoderDescriptor.cpp25 descriptor->colorFormats = &cColorFormats[0]; in ComboRenderBundleEncoderDescriptor()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DRenderBundleValidationTests.cpp616 std::array<wgpu::TextureFormat, kMaxColorAttachments + 1> colorFormats; in TEST_F() local
617 for (uint32_t i = 0; i < colorFormats.size(); ++i) { in TEST_F()
618 colorFormats[i] = wgpu::TextureFormat::RGBA8Unorm; in TEST_F()
625 desc.colorFormats = colorFormats.data(); in TEST_F()
633 desc.colorFormats = colorFormats.data(); in TEST_F()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DAttachmentState.cpp31 mColorFormats[i] = descriptor->colorFormats[static_cast<uint8_t>(i)]; in AttachmentStateBlueprint()
H A DRenderBundleEncoder.cpp74 DAWN_TRY_CONTEXT(ValidateColorAttachmentFormat(device, descriptor->colorFormats[i]), in ValidateRenderBundleEncoderDescriptor()
75 "validating colorFormats[%u]", i); in ValidateRenderBundleEncoderDescriptor()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DGPUDevice.cpp399 !conv(desc.colorFormats, desc.colorFormatsCount, descriptor.colorFormats) || in createRenderBundleEncoder()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DDeviceLostTests.cpp168 descriptor.colorFormats = nullptr; in TEST_P()
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
H A DDrawCallPerf.cpp458 descriptor.colorFormats = &renderPipelineDesc.cTargets[0].format; in SetUp()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateInheritanceTests.cpp543 std::vector<vk::VkFormat> colorFormats; in startRenderCmds() local
546 m_renderPass.fillInheritanceRenderingInfo(0U, &colorFormats, &inheritanceRenderingInfo); in startRenderCmds()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineMultisampleShaderFragmentMaskTests.cpp1333 const VkFormat colorFormats[] = in createShaderFragmentMaskTestsInGroup() local
1372 for (const VkFormat* pColorFormat = colorFormats; pColorFormat != DE_ARRAY_END(colorFormats); ++pColorFormat) in createShaderFragmentMaskTestsInGroup()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shader_object/
H A DvktShaderObjectRenderingTests.cpp78 const vk::VkFormat colorFormats[] = member
999 for (deUint32 i = 0; i < DE_LENGTH_OF_ARRAY(colorFormats); ++i) in createShaderObjectRenderingTests()
1007 const auto colorFormat = colorFormats[i]; in createShaderObjectRenderingTests()

Completed in 45 milliseconds

12