Home
last modified time | relevance | path

Searched refs:colorFormat (Results 1 – 25 of 170) sorted by relevance

1234567

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderUtil.cpp161 const VkFormat colorFormat, in makeRenderPass() argument
174 colorFormat, // VkFormat format; || VkFormat format; in makeRenderPass()
318 const VkFormat colorFormat,
329 const VkFormat colorFormat,
337 …epth (const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat, const vector<d… in makeRenderPassWithDepth() argument
339 …achmentRef, SubpassDesc, SubpassDep, RenderPassCreateInfo>(vk, device, colorFormat, viewMasks, VK_… in makeRenderPassWithDepth()
347 const VkFormat colorFormat,
356 const VkFormat colorFormat,
363 const VkFormat colorFormat, in makeRenderPassWithAttachments() argument
374 colorFormat, // VkFormat format; || VkFormat format; in makeRenderPassWithAttachments()
[all …]
DvktMultiViewRenderUtil.hpp43 …vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkFormat colorFormat, const std::vec…
46 …vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkFormat colorFormat, const std::vec…
49 …vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkFormat colorFormat, const std::vec…
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp86 VkFormat colorFormat; member
233 const VkFormat colorFormat, in makeRenderPass() argument
244 const bool hasColor = colorFormat != VK_FORMAT_UNDEFINED; in makeRenderPass()
253 colorFormat, // VkFormat format; in makeRenderPass()
277 colorFormat, // VkFormat format; in makeRenderPass()
417 const VkFormat colorFormat, in makeRenderPass() argument
424 colorFormat, // VkFormat format; in makeRenderPass()
435 colorFormat, // VkFormat format; in makeRenderPass()
539 const VkFormat* colorFormat, in makeFramebufferAttachmentImageInfos() argument
550 DE_ASSERT(colorFormat != DE_NULL); in makeFramebufferAttachmentImageInfos()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fFboRenderTest.cpp72 , colorFormat (colorFormat_) in FboConfig()
84 , colorFormat (GL_NONE) in FboConfig()
98 GLenum colorFormat; //!< Internal format for color buffer texture or renderbuffer member in deqp::gles3::Functional::FboConfig
124 name << getTypeName(colorType) << "_" << getFormatName(colorFormat); in getName()
259 checkColorFormatSupport(context, config.colorFormat); in Framebuffer()
270 m_colorBuffer = createTex2D(colorBufferName, m_config.colorFormat, width, height); in Framebuffer()
275 m_colorBuffer = createRbo(colorBufferName, m_config.colorFormat, width, height); in Framebuffer()
507 …const tcu::RGBA threshold (tcu::max(getFormatThreshold(m_config.colorFormat), tcu::RGBA(12, 12, 12… in compare()
531 tcu::TextureFormat colorFormat = glu::mapGLInternalFormat(m_config.colorFormat); in render() local
532 glu::DataType fboSamplerType = glu::getSampler2DType(colorFormat); in render()
[all …]
Des3fFboDepthbufferTests.cpp68 const deUint32 colorFormat = GL_RGBA8; in render() local
89 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); in render()
132 …readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0… in render()
160 const deUint32 colorFormat = GL_RGBA8; in render() local
179 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); in render()
218 …readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0… in render()
246 const deUint32 colorFormat = GL_RGBA8; in render() local
265 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); in render()
298 …readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0… in render()
Des3fFboStencilbufferTests.cpp68 const deUint32 colorFormat = GL_RGBA8; in render() local
82 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_size.x(), m_size.y()); in render()
132 …readPixels(dst, 0, 0, m_size.x(), m_size.y(), glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), V… in render()
157 const deUint32 colorFormat = GL_RGBA8; in render() local
176 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height); in render()
229 …readPixels(dst, 0, 0, width, height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f)… in render()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawMultipleClearsWithinRenderPass.cpp82 VkFormat colorFormat; member
170 VkFormat colorFormat; member
212 const bool hasColor = m_params.colorFormat != VK_FORMAT_UNDEFINED; in MultipleClearsTest()
241 …const ImageCreateInfo targetImageCreateInfo (VK_IMAGE_TYPE_2D, m_params.colorFormat, { WIDTH, HE… in MultipleClearsTest()
243 … colorTargetViewInfo (m_colorTargetImage->object(), VK_IMAGE_VIEW_TYPE_2D, m_params.colorFormat); in MultipleClearsTest()
263 m_params.colorFormat, // format in MultipleClearsTest()
367 (hasColor ? &m_params.colorFormat : DE_NULL), in MultipleClearsTest()
396 if (m_params.colorFormat != VK_FORMAT_UNDEFINED) in clearAttachments()
441 const bool hasColor = m_params.colorFormat != VK_FORMAT_UNDEFINED; in iterate()
656 if (m_params.colorFormat != VK_FORMAT_UNDEFINED) in checkSupport()
[all …]
DvktDrawShaderLayerTests.cpp614 const VkFormat colorFormat, in Renderer() argument
620 , m_colorFormat (colorFormat) in Renderer()
775 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in testVertexShader() local
781 …ize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)) * params.numL… in testVertexShader()
800 …er (context, params.useDynamicRendering, renderSize, params.numLayers, colorFormat, clearColor, ve… in testVertexShader()
812 …const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSi… in testVertexShader()
813 …const tcu::TextureLevel referenceImage = generateReferenceImage(mapVkFormat(colorFormat), rende… in testVertexShader()
835 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in testTessellationShader() local
841 …ize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)) * params.numL… in testTessellationShader()
860 …er (context, params.useDynamicRendering, renderSize, params.numLayers, colorFormat, clearColor, ve… in testTessellationShader()
[all …]
DvktDrawShaderViewportIndexTests.cpp662 const VkFormat colorFormat, in Renderer() argument
668 , m_colorFormat (colorFormat) in Renderer()
836 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in testVertexFragmentShader() local
841 … colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in testVertexFragmentShader()
860 …const Renderer renderer (context, renderSize, testParams, cells, colorFormat, clearColor, colors, … in testVertexFragmentShader()
869 …const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSi… in testVertexFragmentShader()
870 …const tcu::TextureLevel referenceImage = generateReferenceImage(mapVkFormat(colorFormat), rende… in testVertexFragmentShader()
897 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in testTessellationShader() local
902 … colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in testTessellationShader()
921 …const Renderer renderer (context, renderSize, testParams, cells, colorFormat, clearColor, colors, … in testTessellationShader()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleImageTests.cpp70 VkFormat colorFormat; member
316 const VkFormat colorFormat, in makeMultisampleRenderPass() argument
323 colorFormat, // VkFormat format; in makeMultisampleRenderPass()
383 const VkFormat colorFormat) in makeSimpleRenderPass() argument
388 colorFormat, // VkFormat format; in makeSimpleRenderPass()
813 const int numComponents = tcu::getNumUsedChannels(mapVkFormat(caseDef.colorFormat).order); in addSimpleVertexAndFragmentPrograms()
814 const bool isUint = isUintFormat(caseDef.colorFormat); in addSimpleVertexAndFragmentPrograms()
815 const bool isSint = isIntFormat(caseDef.colorFormat); in addSimpleVertexAndFragmentPrograms()
841 const std::string colorFormat = getColorFormatStr(numComponents, isUint, isSint); in addSimpleVertexAndFragmentPrograms() local
847 << "layout(location = 0) out " << colorFormat << " o_color;\n" in addSimpleVertexAndFragmentPrograms()
[all …]
DvktPipelineMultisampleShaderFragmentMaskTests.cpp339 std::vector<PositionColor> genShapes (const VkFormat colorFormat) in genShapes() argument
343 if (colorFormat == VK_FORMAT_R8G8B8A8_UNORM) in genShapes()
394 VkFormat colorFormat; //!< Color attachment format member
400 , colorFormat () in TestParams()
417 if ((isIntFormat(params.colorFormat) || isUintFormat(params.colorFormat))) in checkRequirements()
464 switch (params.colorFormat) in initPrograms()
738 params.colorFormat, // VkFormat format; in drawAndSampleInputAttachment()
832 …true/*use vertex attribs*/, getVertexInputColorFormat(params.colorFormat), true/*use color attach*… in drawAndSampleInputAttachment()
851 std::vector<VkClearValue> clearValues = genClearValues(params.colorFormat, params.numLayers); in drawAndSampleInputAttachment()
927 …makeImageView(vk, device, *wd.colorImage, VK_IMAGE_VIEW_TYPE_2D, params.colorFormat, makeImageSubr… in draw()
[all …]
DvktPipelineRenderToImageTests.cpp114 VkFormat colorFormat; member
436 const VkFormat colorFormat, in makeRenderPass() argument
445 colorFormat, // VkFormat format; in makeRenderPass()
756 …device, getImageCreateFlags(caseDef.viewType), getImageType(caseDef.viewType), caseDef.colorFormat, in getMemoryTypeNdx()
826 const int numComponents = getNumUsedChannels(mapVkFormat(caseDef.colorFormat).order); in initPrograms()
827 const bool isUint = isUintFormat(caseDef.colorFormat); in initPrograms()
828 const bool isSint = isIntFormat(caseDef.colorFormat); in initPrograms()
856 const std::string colorFormat = getColorFormatStr(numComponents, isUint, isSint); in initPrograms() local
857 …const std::string colorInteger = (isUint || isSint ? " * "+colorFormat+"("+colorValue.str()+")" :"… in initPrograms()
863 << "layout(location = 0) out " << colorFormat << " o_color;\n" in initPrograms()
[all …]
DvktPipelineStencilExportTests.cpp160 const VkFormat colorFormat, in makeTestRenderPass() argument
167 colorFormat, // VkFormat format; in makeTestRenderPass()
461 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in testStencilExportReplace() local
463 … colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in testStencilExportReplace()
485 …Move<VkImage> colorImage = makeImage (vk, device, makeImageCreateInfo(colorFormat, rend… in testStencilExportReplace()
487 … = makeImageView (vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubresour… in testStencilExportReplace()
493 …Move<VkRenderPass> renderPass = makeTestRenderPass (vk, device, colorFormat, stencilFormat); in testStencilExportReplace()
532 …const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSi… in testStencilExportReplace()
534 …tcu::TextureLevel referenceImage = generateReferenceImage(mapVkFormat(colorFormat), renderSize… in testStencilExportReplace()
/third_party/vk-gl-cts/framework/opengl/
DgluFboRenderContext.cpp64 static tcu::PixelFormat getPixelFormat (deUint32 colorFormat) in getPixelFormat() argument
66 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(colorFormat)); in getPixelFormat()
215 const deUint32 colorFormat = chooseColorFormat(config); in createFramebuffer() local
226 if (colorFormat == 0) in createFramebuffer()
239 pixelFormat = getPixelFormat(colorFormat); in createFramebuffer()
245 … gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, colorFormat, width, height); in createFramebuffer()
247 gl.renderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height); in createFramebuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicClass.cpp77 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in iterate() local
82 …makeImageCreateInfo(resolution, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_… in iterate()
85 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat)); in iterate()
89 …akeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubRange)… in iterate()
111 …colorBufferSizeBytes = resolution.x()*resolution.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in iterate()
180 …const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), resolution.x(), resol… in iterate()
DvktGeometryInstancedRenderingTests.cpp144 const VkFormat colorFormat, in draw() argument
160 …const Unique<VkImage> colorImage (makeImage (vk, device, makeImageCreateInfo(colorFormat, co… in draw()
162 …ment (makeImageView (vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubresour… in draw()
172 const Unique<VkRenderPass> renderPass (vk::makeRenderPass (vk, device, colorFormat)); in draw()
363 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in test() local
366 … colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in test()
379 …draw(context, renderSize, colorFormat, clearColor, *colorBuffer, params.numDrawInstances, perInsta… in test()
384 …const tcu::ConstPixelBufferAccess result(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(),… in test()
386 tcu::TextureLevel reference(mapVkFormat(colorFormat), renderSize.x(), renderSize.y()); in test()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_caps_utils.cpp443 const gl::InternalFormat &colorFormat, in GenerateDefaultConfig() argument
456 config.renderTargetFormat = colorFormat.internalFormat; in GenerateDefaultConfig()
458 config.bufferSize = colorFormat.pixelBytes * 8; in GenerateDefaultConfig()
459 config.redSize = colorFormat.redBits; in GenerateDefaultConfig()
460 config.greenSize = colorFormat.greenBits; in GenerateDefaultConfig()
461 config.blueSize = colorFormat.blueBits; in GenerateDefaultConfig()
462 config.alphaSize = colorFormat.alphaBits; in GenerateDefaultConfig()
464 config.bindToTextureRGB = colorFormat.format == GL_RGB; in GenerateDefaultConfig()
465 config.bindToTextureRGBA = colorFormat.format == GL_RGBA || colorFormat.format == GL_BGRA_EXT; in GenerateDefaultConfig()
493 gl_egl::GLComponentTypeToEGLColorComponentType(colorFormat.componentType); in GenerateDefaultConfig()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp89 const VkFormat colorFormat, in makeRenderPass() argument
93 …return makeRenderPass(vk, device, colorFormat, useDepthStencilAttachment ? depthStencilFormat : VK… in makeRenderPass()
325 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in iterate() local
327 … colorImage (makeImage(vk, device, makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE… in iterate()
329 …geView (makeImageView(vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubresour… in iterate()
393 …const VkDeviceSize colorBufferSizeBytes = tcu::getPixelSize(mapVkFormat(colorFormat)) * renderS… in iterate()
418 …const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat, m_useTestAttachm… in iterate()
478 …const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), rende… in iterate()
573 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in iterate() local
575 … colorImage (makeImage(vk, device, makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE… in iterate()
[all …]
DvktFragmentOperationsScissorMultiViewportTests.cpp307 const VkFormat colorFormat, in ScissorRenderer() argument
311 , m_colorFormat (colorFormat) in ScissorRenderer()
406 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in test() local
411 … colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in test()
425 …const ScissorRenderer renderer (context, renderSize, numViewports, scissors, colorFormat, clearCol… in test()
433 …const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSi… in test()
434 …const tcu::TextureLevel referenceImage = generateReferenceImage(mapVkFormat(colorFormat), rende… in test()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DBlendMinMaxTest.cpp40 void runTest(GLenum colorFormat, GLenum type) in runTest() argument
45 SetUpFramebuffer(colorFormat); in runTest()
133 void SetUpFramebuffer(GLenum colorFormat) in SetUpFramebuffer() argument
140 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, getWindowWidth(), getWindowHeight()); in SetUpFramebuffer()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DBlendMinMaxTest.cpp40 void runTest(GLenum colorFormat, GLenum type) in runTest() argument
45 SetUpFramebuffer(colorFormat); in runTest()
142 void SetUpFramebuffer(GLenum colorFormat) in SetUpFramebuffer() argument
149 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, getWindowWidth(), getWindowHeight()); in SetUpFramebuffer()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DGpuMemorySynchronizationTests.cpp59 wgpu::TextureFormat colorFormat) { in CreatePipelineAndBindGroupForRender() argument
79 rpDesc.cTargets[0].format = colorFormat; in CreatePipelineAndBindGroupForRender()
132 CreatePipelineAndBindGroupForRender(buffer, renderPass.colorFormat); in TEST_P()
161 CreatePipelineAndBindGroupForRender(buffer, renderPass.colorFormat); in TEST_P()
203 CreatePipelineAndBindGroupForRender(buffer, renderPass.colorFormat); in TEST_P()
265 wgpu::TextureFormat colorFormat) { in CreatePipelineAndBindGroupForRender() argument
285 rpDesc.cTargets[0].format = colorFormat; in CreatePipelineAndBindGroupForRender()
308 std::tie(render, renderBindGroup) = CreatePipelineAndBindGroupForRender(renderPass.colorFormat); in TEST_P()
344 std::tie(render, renderBindGroup) = CreatePipelineAndBindGroupForRender(renderPass.colorFormat); in TEST_P()
383 std::tie(render, renderBindGroup) = CreatePipelineAndBindGroupForRender(renderPass.colorFormat); in TEST_P()
[all …]
DScissorTests.cpp53 wgpu::RenderPipeline pipeline = CreateQuadPipeline(renderPass.colorFormat); in TEST_P()
75 wgpu::RenderPipeline pipeline = CreateQuadPipeline(renderPass.colorFormat); in TEST_P()
105 wgpu::RenderPipeline pipeline = CreateQuadPipeline(renderPass.colorFormat); in TEST_P()
128 wgpu::RenderPipeline pipeline = CreateQuadPipeline(renderPass.colorFormat); in TEST_P()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DScissorTests.cpp54 dawn::RenderPipeline pipeline = CreateQuadPipeline(renderPass.colorFormat); in TEST_P()
76 dawn::RenderPipeline pipeline = CreateQuadPipeline(renderPass.colorFormat); in TEST_P()
99 dawn::RenderPipeline pipeline = CreateQuadPipeline(renderPass.colorFormat); in TEST_P()
129 dawn::RenderPipeline pipeline = CreateQuadPipeline(renderPass.colorFormat); in TEST_P()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryPassthroughTests.cpp366 const VkFormat colorFormat, in getPixelBufferAccess() argument
373 …return tcu::ConstPixelBufferAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, al… in getPixelBufferAccess()
490 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in iterate() local
493 …makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_… in iterate()
499 …olorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in iterate()
506 …akeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubr… in iterate()
507 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat)); in iterate()
595 …tcu::ConstPixelBufferAccess image0 = getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat in iterate()
596 …tcu::ConstPixelBufferAccess image1 = getPixelBufferAccess(vk, device, *colorBuffer[1], colorFormat in iterate()

1234567