/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
D | vktImageTexture.cpp | 33 …DE_ASSERT((m_numSamples == 1) || (m_numSamples == 2) || (m_numSamples == 4) || (m_numSamples == … in checkInvariants() 34 (m_numSamples == 16) || (m_numSamples == 32) || (m_numSamples == 64)); in checkInvariants() 43 DE_ASSERT(m_numSamples == 1); in checkInvariants() 48 DE_ASSERT(m_numSamples == 1); in checkInvariants() 62 DE_ASSERT(m_numSamples == 1); in checkInvariants() 68 DE_ASSERT(m_numSamples == 1); in checkInvariants() 74 DE_ASSERT(m_numSamples == 1); in checkInvariants() 88 , m_numSamples (samples) in Texture() 98 , m_numSamples (samples) in Texture()
|
D | vktImageTexture.hpp | 44 …int numSamples (void) const { return m_numSamples; } //!< Number of samples per texel (multis… in numSamples() 58 const int m_numSamples; member in vkt::image::Texture
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageTexture.cpp | 33 …DE_ASSERT((m_numSamples == 1) || (m_numSamples == 2) || (m_numSamples == 4) || (m_numSamples == … in checkInvariants() 34 (m_numSamples == 16) || (m_numSamples == 32) || (m_numSamples == 64)); in checkInvariants() 43 DE_ASSERT(m_numSamples == 1); in checkInvariants() 48 DE_ASSERT(m_numSamples == 1); in checkInvariants() 62 DE_ASSERT(m_numSamples == 1); in checkInvariants() 68 DE_ASSERT(m_numSamples == 1); in checkInvariants() 74 DE_ASSERT(m_numSamples == 1); in checkInvariants() 88 , m_numSamples (samples) in Texture() 98 , m_numSamples (samples) in Texture()
|
D | vktImageTexture.hpp | 44 …int numSamples (void) const { return m_numSamples; } //!< Number of samples per texel (multis… in numSamples() 58 const int m_numSamples; member in vkt::image::Texture
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fMultisampleTests.cpp | 185 int m_numSamples; member in deqp::gles31::Functional::__anon80df72f10111::DefaultFBOMultisampleCase 208 , m_numSamples (0) in DefaultFBOMultisampleCase() 262 gl.getIntegerv(GL_SAMPLES, &m_numSamples); in init() 264 log << TestLog::Message << "GL_SAMPLES = " << m_numSamples << TestLog::EndMessage; in init() 423 if (getEffectiveSampleMaskWordCount(m_numSamples - 1) > maxSampleMaskWords) in init() 504 const int wordCount = getEffectiveSampleMaskWordCount(m_numSamples - 1); in drawPattern() 505 const GLbitfield finalWordBits = m_numSamples - 32 * ((m_numSamples-1) / 32); in drawPattern() 567 if (getEffectiveSampleMaskWordCount(m_numSamples - 1) > maxSampleMaskWords) in init() 577 m_numIterations = m_numSamples + 1; in init() 607 DE_ASSERT(m_currentIteration <= m_numSamples + 1); in iterate() [all …]
|
D | es31fShaderHelperInvocationTests.cpp | 211 const int m_numSamples; member in deqp::gles31::Functional::__anona14051f50111::FboHelper 222 , m_numSamples (numSamples) in FboHelper() 233 gl.renderbufferStorageMultisample(GL_RENDERBUFFER, m_numSamples, format, width, height); in FboHelper() 237 …if (m_numSamples > maxSamples && gl.checkFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPL… in FboHelper() 242 if (m_numSamples != 0) in FboHelper() 273 if (m_numSamples != 0) in readPixels() 304 const int m_numSamples; member in deqp::gles31::Functional::__anona14051f50111::HelperInvocationValueCase 317 , m_numSamples (numSamples) in HelperInvocationValueCase() 334 const int actualSamples = m_numSamples == NUM_SAMPLES_MAX ? maxSamples : m_numSamples; in init() 441 if (!verifyHelperInvocationValue(m_testCtx.getLog(), result, m_numSamples != 0)) in iterate() [all …]
|
D | es31fShaderTextureSizeTests.cpp | 98 const int m_numSamples; member in deqp::gles31::Functional::__anonb6aefae70111::TextureSizeCase 115 , m_numSamples (samples) in TextureSizeCase() 184 if (m_numSamples > maxSamples) in init() 422 …gl.texStorage2DMultisample(getTextureGLTarget(), m_numSamples, getTextureGLInternalFormat(), size.… in createTexture() 424 …gl.texStorage3DMultisample(getTextureGLTarget(), m_numSamples, getTextureGLInternalFormat(), size.… in createTexture()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesImageBlockShapes.cpp | 75 const deUint32 m_numSamples; member in vkt::sparse::__anon1b3295120111::ImageBlockShapesCase 89 , m_numSamples (numSamples) in ImageBlockShapesCase() 132 const deUint32 m_numSamples; member in vkt::sparse::__anon1b3295120111::ImageBlockShapesInstance 144 , m_numSamples (numSamples) in ImageBlockShapesInstance() 166 imageCreateInfo.samples = static_cast<VkSampleCountFlagBits>(m_numSamples); in iterate() 268 else if (m_numSamples == 2) in iterate() 300 else if (m_numSamples == 4) in iterate() 332 else if (m_numSamples == 8) in iterate() 364 else if (m_numSamples == 16) in iterate() 398 DE_ASSERT(m_numSamples == 1); in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
D | vktSparseResourcesImageBlockShapes.cpp | 75 const deUint32 m_numSamples; member in vkt::sparse::__anon8bd9e2d20111::ImageBlockShapesCase 89 , m_numSamples (numSamples) in ImageBlockShapesCase() 132 const deUint32 m_numSamples; member in vkt::sparse::__anon8bd9e2d20111::ImageBlockShapesInstance 144 , m_numSamples (numSamples) in ImageBlockShapesInstance() 166 imageCreateInfo.samples = static_cast<VkSampleCountFlagBits>(m_numSamples); in iterate() 268 else if (m_numSamples == 2) in iterate() 300 else if (m_numSamples == 4) in iterate() 332 else if (m_numSamples == 8) in iterate() 364 else if (m_numSamples == 16) in iterate() 398 DE_ASSERT(m_numSamples == 1); in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineSampleLocationsUtil.hpp | 45 , m_numSamples (numSamples) in MultisamplePixelGrid() 67 vk::VkSampleCountFlagBits samplesPerPixel (void) const { return m_numSamples; } in samplesPerPixel() 77 return (gridY * m_gridSize.x() + gridX) * static_cast<deUint32>(m_numSamples) + sampleNdx; in getSampleIndex() 81 vk::VkSampleCountFlagBits m_numSamples; member in vkt::pipeline::MultisamplePixelGrid
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineSampleLocationsUtil.hpp | 45 , m_numSamples (numSamples) in MultisamplePixelGrid() 67 vk::VkSampleCountFlagBits samplesPerPixel (void) const { return m_numSamples; } in samplesPerPixel() 77 return (gridY * m_gridSize.x() + gridX) * static_cast<deUint32>(m_numSamples) + sampleNdx; in getSampleIndex() 81 vk::VkSampleCountFlagBits m_numSamples; member in vkt::pipeline::MultisamplePixelGrid
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fMultiviewTests.cpp | 85 const int m_numSamples; member in deqp::gles3::Functional::MultiviewCase 97 , m_numSamples(numSamples) in MultiviewCase() 123 if (m_numSamples == 1) in setupFramebufferObjects() 131 0 /* mip level */, m_numSamples /* samples */, in setupFramebufferObjects() 162 if (m_numSamples > 1) in init()
|
D | es3fFboCompletenessTests.cpp | 194 , m_numSamples (-1) in ES3Checker() 203 GLsizei m_numSamples; member in deqp::gles3::Functional::ES3Checker 215 if (m_numSamples == -1) in check() 217 m_numSamples = imgSamples; in check() 233 if ((m_numSamples == 0) != (imgSamples == 0)) in check() 241 if (m_numSamples != imgSamples) in check()
|
D | es3fFboMultisampleTests.cpp | 63 , m_numSamples (numSamples) in BasicFboMultisampleCase() 71 checkSampleCount (m_colorFormat, m_numSamples); in preCheck() 76 checkSampleCount (m_depthStencilFormat, m_numSamples); in preCheck() 104 int samples = ndx ? 0 : m_numSamples; in render() 247 int m_numSamples; member in deqp::gles3::Functional::BasicFboMultisampleCase
|
D | es3fMultisampleTests.cpp | 224 int m_numSamples; member in deqp::gles3::Functional::MultisampleCase 254 , m_numSamples (0) in MultisampleCase() 448 m_numSamples = m_fboParams.numSamples; in init() 452 …CHECK_CALL(glGetInternalformativ(GL_RENDERBUFFER, FBO_COLOR_FORMAT, GL_SAMPLES, 1, &m_numSamples)); in init() 455 …of size (" << m_renderWidth << ", " << m_renderHeight << ") with " << m_numSamples << " samples" <… in init() 461 m_numSamples = getGLInteger(GL_SAMPLES); in init() 462 log << TestLog::Message << "GL_SAMPLES = " << m_numSamples << TestLog::EndMessage; in init() 495 …GLU_CHECK_CALL(glRenderbufferStorageMultisample(GL_RENDERBUFFER, m_numSamples, FBO_COLOR_FORMAT, m… in init() 501 if (maxSampleCount < m_numSamples) in init() 512 …GLU_CHECK_CALL(glRenderbufferStorageMultisample(GL_RENDERBUFFER, m_numSamples, GL_DEPTH24_STENCIL8… in init() [all …]
|
D | es3fFboInvalidateTests.cpp | 679 , m_numSamples (numSamples) in InvalidateFboUnbindBlitCase() 706 IVec2 quadSizePixels (m_numSamples == 0 ? getWidth() : de::min(128, getWidth()), in render() 707 m_numSamples == 0 ? getHeight() : de::min(128, getHeight())); in render() 727 …glRenderbufferStorageMultisample (GL_RENDERBUFFER, m_numSamples, m_colorFmt, quadSizePixels.x(), q… in render() 733 …glRenderbufferStorageMultisample (GL_RENDERBUFFER, m_numSamples, m_depthStencilFmt, quadSizePixels… in render() 805 int m_numSamples; member in deqp::gles3::Functional::InvalidateFboUnbindBlitCase 1058 , m_numSamples (numSamples) in InvalidateSubFboUnbindBlitCase() 1085 IVec2 quadSizePixels (m_numSamples == 0 ? getWidth() : de::min(128, getWidth()), in render() 1086 m_numSamples == 0 ? getHeight() : de::min(128, getHeight())); in render() 1114 …glRenderbufferStorageMultisample (GL_RENDERBUFFER, m_numSamples, m_colorFmt, quadSizePixels.x(), q… in render() [all …]
|
D | es3fRasterizationTests.cpp | 131 int m_numSamples; member in deqp::gles3::Functional::__anone909df110111::BaseRenderingCase 151 , m_numSamples (-1) in BaseRenderingCase() 294 m_numSamples = m_context.getRenderTarget().getNumSamples(); in init() 297 m_numSamples = -1; in init() 299 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_SAMPLES, &m_numSamples); in init() 304 m_numSamples = 0; in init() 308 …m_testCtx.getLog() << tcu::TestLog::Message << "Sample count = " << m_numSamples << tcu::TestLog::… in init() 471 args.numSamples = m_numSamples; in iterate() 596 args.numSamples = m_numSamples; in iterate() 611 if (scene.lineWidth != 1.0f && m_numSamples > 1 && !compareOk) in iterate() [all …]
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuRenderTarget.cpp | 35 , m_numSamples (0) in RenderTarget() 45 , m_numSamples (numSamples) in RenderTarget()
|
D | tcuRenderTarget.hpp | 45 int getNumSamples (void) const { return m_numSamples; } in getNumSamples() 57 int m_numSamples; //!< MSAA sample count. member in tcu::RenderTarget
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureFilteringExplicitLodTests.cpp | 531 deUint32 m_numSamples; member in vkt::texture::__anonc0a387890111::TextureFilteringTestInstance 561 , m_numSamples (0) in TextureFilteringTestInstance() 578 m_numSamples = (deUint32)m_sampleArguments.size(); in runTest() 648 for (deUint32 sampleNdx = 0; sampleNdx < m_numSamples; ++sampleNdx) in verify() 688 << "Passed " << m_numSamples - failCount << " out of " << m_numSamples << "." in verify() 703 for (deUint32 ndx = 0; ndx < m_numSamples; ++ndx) in execute() 732 std::vector<float> resultSamplesTemp(m_numSamples * 4); in execute() 733 std::vector<float> resultCoordsTemp (m_numSamples * 4); in execute() 741 m_executor->execute(m_numSamples, inputs, outputs, *m_extraResourcesSet); in execute() 743 m_resultSamples.resize(m_numSamples); in execute() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
D | vktTextureFilteringExplicitLodTests.cpp | 531 deUint32 m_numSamples; member in vkt::texture::__anon04b915490111::TextureFilteringTestInstance 561 , m_numSamples (0) in TextureFilteringTestInstance() 578 m_numSamples = (deUint32)m_sampleArguments.size(); in runTest() 648 for (deUint32 sampleNdx = 0; sampleNdx < m_numSamples; ++sampleNdx) in verify() 688 << "Passed " << m_numSamples - failCount << " out of " << m_numSamples << "." in verify() 703 for (deUint32 ndx = 0; ndx < m_numSamples; ++ndx) in execute() 732 std::vector<float> resultSamplesTemp(m_numSamples * 4); in execute() 733 std::vector<float> resultCoordsTemp (m_numSamples * 4); in execute() 741 m_executor->execute(m_numSamples, inputs, outputs, *m_extraResourcesSet); in execute() 743 m_resultSamples.resize(m_numSamples); in execute() [all …]
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrRasterizer.hpp | 145 const int m_numSamples; member in rr::TriangleRasterizer 241 const int m_numSamples; member in rr::MultiSampleLineRasterizer
|
D | rrRasterizer.cpp | 450 , m_numSamples (numSamples) in TriangleRasterizer() 846 switch (m_numSamples) in rasterize() 1037 : m_numSamples (numSamples) in MultiSampleLineRasterizer() 1038 , m_triangleRasterizer0 (viewport, m_numSamples, RasterizationState(), subpixelBits) in MultiSampleLineRasterizer() 1039 , m_triangleRasterizer1 (viewport, m_numSamples, RasterizationState(), subpixelBits) in MultiSampleLineRasterizer() 1050 DE_ASSERT(m_numSamples > 1); in init() 1088 …float* nextDepthValues = (depthValues) ? (depthValues+4*numPacketsRasterized*m_numSamples) : … in rasterize()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fRasterizationTests.cpp | 99 int m_numSamples; member in deqp::gles2::Functional::__anon582b676f0111::BaseRenderingCase 110 , m_numSamples (-1) in BaseRenderingCase() 157 m_numSamples = m_context.getRenderTarget().getNumSamples(); in init() 160 …m_testCtx.getLog() << tcu::TestLog::Message << "Sample count = " << m_numSamples << tcu::TestLog::… in init() 268 args.numSamples = m_numSamples; in iterate() 365 args.numSamples = m_numSamples; in iterate() 380 if (scene.lineWidth != 1.0f && m_numSamples > 1 && !compareOk) in iterate() 470 args.numSamples = m_numSamples; in iterate() 1414 args.numSamples = m_numSamples; in iterate() 1595 args.numSamples = m_numSamples; in iterate() [all …]
|
D | es2fMultisampleTests.cpp | 198 int m_numSamples; member in deqp::gles2::Functional::MultisampleCase 217 , m_numSamples (0) in MultisampleCase() 366 m_numSamples = getGLInteger(GL_SAMPLES); in init() 367 m_testCtx.getLog() << TestLog::Message << "GL_SAMPLES = " << m_numSamples << TestLog::EndMessage; in init() 440 int requiredNumDistinctColors = m_numSamples + 1; in iterate() 1128 m_numIterations = de::max(2, getIterationCount(m_testCtx, m_numSamples * 5)); in init() 1319 const int numQuadRowsCols = m_numSamples*4; in iterate()
|