Home
last modified time | relevance | path

Searched refs:depthStencilFormat (Results 1 – 25 of 43) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp115 VkFormat depthStencilFormat; //! A depth/stencil format, or UNDEFINED if not used member
437 const VkFormat depthStencilFormat, in makeRenderPass() argument
459 depthStencilFormat, // VkFormat format; in makeRenderPass()
469 if (depthStencilFormat != VK_FORMAT_UNDEFINED) in makeRenderPass()
494 …const VkAttachmentReference* pDepthStencilAttachment = (depthStencilFormat != VK_FORMAT_UNDEFINED … in makeRenderPass()
891 const bool useDepthStencil = (caseDef.depthStencilFormat != VK_FORMAT_UNDEFINED); in testWithSizeReduction()
895 …hStencil ? product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.depthStencilFormat)) : 0ull); in testWithSizeReduction()
918 …hStencil ? product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.depthStencilFormat)) : 0ull); in testWithSizeReduction()
944 …hStencil ? product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.depthStencilFormat)) : 0ull); in testWithSizeReduction()
984 …Pass (makeRenderPass (vk, device, caseDef.colorFormat, caseDef.depthStencilFormat, static_cast… in testWithSizeReduction()
[all …]
DvktPipelineMultisampleMixedAttachmentSamplesTests.cpp742 …VkFormat depthStencilFormat; //!< D/S attachment format. Will test both aspects if it's a m… member
748 , depthStencilFormat () in TestParams()
803 const VkFormat depthStencilFormat, in addVerificationComputeShader() argument
858 if (isDepthFormat(depthStencilFormat)) in addVerificationComputeShader()
875 if (isStencilFormat(depthStencilFormat)) in addVerificationComputeShader()
956 params.depthStencilFormat, in initPrograms()
1009 params.depthStencilFormat, // VkFormat format; in draw()
1090 …wd.renderSize, getImageAspectFlags(params.depthStencilFormat), params.perSubpassSamples[subpassNdx… in draw()
1279 params.depthStencilFormat, in createPerSubpassData()
1284 …subpassData.depthStencilImage = makeImage(vk, device, params.depthStencilFormat, wd.renderSize, s… in createPerSubpassData()
[all …]
DvktPipelineReferenceRenderer.hpp163 const tcu::TextureFormat& depthStencilFormat) in ColorFragmentShader() argument
166 , m_depthStencilFormat (depthStencilFormat) in ColorFragmentShader()
213 const tcu::TextureFormat& depthStencilFormat) in ColorFragmentShaderDualSource() argument
216 , m_depthStencilFormat (depthStencilFormat) in ColorFragmentShaderDualSource()
323 const tcu::TextureFormat& depthStencilFormat,
DvktPipelineReferenceRenderer.cpp167 const tcu::TextureFormat& depthStencilFormat, in ReferenceRenderer() argument
173 , m_depthStencilFormat (depthStencilFormat) in ReferenceRenderer()
/external/deqp/framework/opengl/
DgluFboRenderContext.cpp70 static void getDepthStencilBits (deUint32 depthStencilFormat, int* depthBits, int* stencilBits) in getDepthStencilBits() argument
72 const tcu::TextureFormat combinedFormat = glu::mapGLInternalFormat(depthStencilFormat); in getDepthStencilBits()
216 const deUint32 depthStencilFormat = chooseDepthStencilFormat(config); in createFramebuffer() local
253 if (depthStencilFormat != GL_NONE) in createFramebuffer()
255 getDepthStencilBits(depthStencilFormat, &depthBits, &stencilBits); in createFramebuffer()
261 …gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, depthStencilFormat, width, h… in createFramebuffer()
263 gl.renderbufferStorage(GL_RENDERBUFFER, depthStencilFormat, width, height); in createFramebuffer()
/external/swiftshader/src/OpenGL/libEGL/
DConfig.cpp40 …val, EGLint maxInterval, sw::Format renderTargetFormat, sw::Format depthStencilFormat, EGLint mult… in Config() argument
41 …: mRenderTargetFormat(renderTargetFormat), mDepthStencilFormat(depthStencilFormat), mMultiSample(m… in Config()
128 switch(depthStencilFormat) in Config()
171 UNREACHABLE(depthStencilFormat); in Config()
333 … EGLint maxSwapInterval, sw::Format renderTargetFormat, sw::Format depthStencilFormat, EGLint mult… in add() argument
335 …splayFormat, minSwapInterval, maxSwapInterval, renderTargetFormat, depthStencilFormat, multiSample… in add()
DConfig.h35 … EGLint maxSwapInterval, sw::Format renderTargetFormat, sw::Format depthStencilFormat, EGLint mult…
94 … EGLint maxSwapInterval, sw::Format renderTargetFormat, sw::Format depthStencilFormat, EGLint mult…
/external/deqp/framework/platform/ios/
DtcuIOSPlatform.mm215 const deUint32 depthStencilFormat = chooseDepthStencilFormat(config);
228 if ((config.depthBits > 0 || config.stencilBits > 0) && depthStencilFormat == 0)
250 if (depthStencilFormat != 0)
253 gl.renderbufferStorage(GL_RENDERBUFFER, depthStencilFormat, width, height);
264 if (depthStencilFormat != 0)
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassUnusedClearAttachmentTests.cpp164 , depthStencilFormat(depthStencilFormat_) in TestParams()
171 VkFormat depthStencilFormat; member
263 …checkFormatSupported(context, m_testParams.depthStencilFormat, VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACH… in checkSupport()
350 testParams.depthStencilFormat, // VkFormat format in createRenderPass()
473 m_testParams.depthStencilFormat, // VkFormat format; in UnusedClearAttachmentTestInstance()
586 const VkImageAspectFlags formatAspectMask = getFormatAspectMask(m_testParams.depthStencilFormat); in UnusedClearAttachmentTestInstance()
602 m_testParams.depthStencilFormat, // VkFormat format; in UnusedClearAttachmentTestInstance()
920 …e, queue, queueFamilyIndex, allocator, *m_depthImage, m_testParams.depthStencilFormat, m_renderSiz… in iterate()
944 …e, queue, queueFamilyIndex, allocator, *m_depthImage, m_testParams.depthStencilFormat, m_renderSiz… in iterate()
/external/deqp/modules/gles3/functional/
Des3fFboRenderTest.cpp74 , depthStencilFormat (depthStencilFormat_) in FboConfig()
86 , depthStencilFormat (GL_NONE) in FboConfig()
101 GLenum depthStencilFormat; member in deqp::gles3::Functional::FboConfig
132 name << "_" << getTypeName(depthStencilType) << "_" << getFormatName(depthStencilFormat); in getName()
288 …_depthStencilBuffer = createTex2D(depthStencilBufferName, m_config.depthStencilFormat, width, heig… in Framebuffer()
289 … m_depthStencilBuffer = createRbo(depthStencilBufferName, m_config.depthStencilFormat, width, heig… in Framebuffer()
886 cfg.depthStencilFormat = GL_NONE; in render()
1193 context.texImage2D(GL_TEXTURE_2D, 0, fbo.getConfig().depthStencilFormat, newWidth, newHeight); in render()
1198 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().depthStencilFormat, newWidth, newHeig… in render()
1339 : fbo.getConfig().depthStencilFormat; in render()
[all …]
Des3fFboStencilbufferTests.cpp158 const deUint32 depthStencilFormat = GL_DEPTH24_STENCIL8; in render() local
181 glRenderbufferStorage(GL_RENDERBUFFER, depthStencilFormat, width, height); in render()
Des3fFboMultisampleTests.cpp58 …const char* name, const char* desc, deUint32 colorFormat, deUint32 depthStencilFormat, const IVec2… in BasicFboMultisampleCase() argument
61 , m_depthStencilFormat (depthStencilFormat) in BasicFboMultisampleCase()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationFragShaderSideEffectsTests.cpp317 vk::VkFormat depthStencilFormat = vk::VK_FORMAT_UNDEFINED; in iterate() local
327 depthStencilFormat = kDepthStencilFormats[i]; in iterate()
332 if (depthStencilFormat == vk::VK_FORMAT_UNDEFINED) in iterate()
341 depthStencilFormat, // VkFormat format; in iterate()
365 …device, depthStencilImage.get()->get(), vk::VK_IMAGE_VIEW_TYPE_2D, depthStencilFormat, depthStenci… in iterate()
426 const auto renderPass = vk::makeRenderPass(vkd, device, kColorFormat, depthStencilFormat); in iterate()
/external/angle/src/libANGLE/renderer/gl/egl/
DDisplayEGL.cpp513 config.depthStencilFormat = GL_ZERO; in generateConfigs()
517 config.depthStencilFormat = GL_DEPTH_COMPONENT16; in generateConfigs()
521 config.depthStencilFormat = GL_DEPTH_COMPONENT24; in generateConfigs()
525 config.depthStencilFormat = GL_DEPTH24_STENCIL8; in generateConfigs()
529 config.depthStencilFormat = GL_STENCIL_INDEX8; in generateConfigs()
/external/deqp/external/vulkancts/framework/vulkan/
DvkObjUtil.cpp417 const VkFormat depthStencilFormat, in makeRenderPass() argument
426 const bool hasDepthStencil = depthStencilFormat != VK_FORMAT_UNDEFINED; in makeRenderPass()
446 depthStencilFormat, // VkFormat format in makeRenderPass()
DvkObjUtil.hpp84 const VkFormat depthStencilFormat = VK_FORMAT_UNDEFINED,
/external/angle/src/libANGLE/
DConfig.h35 GLenum depthStencilFormat; // TODO(geofflang): remove this member
DSurface.cpp90 mDSFormat(config->depthStencilFormat), in Surface()
195 mDSFormat = gl::Format(mState.config->depthStencilFormat); in initialize()
/external/skia/src/gpu/dawn/
DGrDawnProgramBuilder.h82 wgpu::TextureFormat depthStencilFormat,
DGrDawnProgramBuilder.cpp204 wgpu::TextureFormat depthStencilFormat) { in create_depth_stencil_state() argument
209 state.format = depthStencilFormat; in create_depth_stencil_state()
256 wgpu::TextureFormat depthStencilFormat, in Build() argument
337 depthStencilState = create_depth_stencil_state(programInfo, depthStencilFormat); in Build()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_caps_utils.cpp1127 const gl::InternalFormat &depthStencilFormat, in GenerateDefaultConfig() argument
1144 config.depthStencilFormat = depthStencilFormat.internalFormat; in GenerateDefaultConfig()
1156 config.depthSize = depthStencilFormat.depthBits; in GenerateDefaultConfig()
1157 config.stencilSize = depthStencilFormat.stencilBits; in GenerateDefaultConfig()
/external/angle/src/libANGLE/renderer/d3d/
DSurfaceD3D.cpp42 mDepthStencilFormat(state.config->depthStencilFormat), in SurfaceD3D()
467 if (mState.config->depthStencilFormat != GL_NONE) in initializeContents()
/external/angle/src/libANGLE/renderer/gl/wgl/
DD3DTextureSurfaceWGL.cpp339 if (config->depthStencilFormat != GL_NONE) in initialize()
343 mFunctionsGL->renderbufferStorage(GL_RENDERBUFFER, config->depthStencilFormat, in initialize()
/external/angle/src/libANGLE/renderer/null/
DDisplayNULL.cpp56 config.depthStencilFormat = GL_DEPTH24_STENCIL8; in generateConfigs()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp88 const VkFormat depthStencilFormat) in makeRenderPass() argument
90 …return makeRenderPass(vk, device, colorFormat, useDepthStencilAttachment ? depthStencilFormat : VK… in makeRenderPass()

12