/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
H A D | esextcTextureCubeMapArrayGenerateMipMap.cpp | 224 storage_config_1.m_height = 64; in initTest() 227 storage_config_1.m_levels = getAmountOfLevelsForTexture(storage_config_1.m_width, storage_config_1.m_height); in initTest() 233 storage_config_2.m_height = 117; in initTest() 236 storage_config_2.m_levels = getAmountOfLevelsForTexture(storage_config_2.m_width, storage_config_2.m_height); in initTest() 242 storage_config_3.m_height = 256; in initTest() 245 storage_config_3.m_levels = getAmountOfLevelsForTexture(storage_config_3.m_width, storage_config_3.m_height); in initTest() 251 storage_config_4.m_height = 173; in initTest() 254 storage_config_4.m_levels = getAmountOfLevelsForTexture(storage_config_4.m_width, storage_config_4.m_height); in initTest() 279 GL_RGBA8, config.m_width, config.m_height, config.m_depth, 0, /* border */ in initTest() 288 gl.texStorage3D(GL_TEXTURE_CUBE_MAP_ARRAY, config.m_levels, GL_RGBA8, config.m_width, config.m_height, in initTest() [all...] |
H A D | esextcTextureCubeMapArraySubImage3D.cpp | 239 m_copy_data_buffer.assign(copy_params.m_width * copy_params.m_height * copy_params.m_depth * m_n_components, in configureDataBuffer() 243 for (glw::GLuint yoffset = copy_params.m_yoffset; yoffset < copy_params.m_yoffset + copy_params.m_height; in configureDataBuffer() 261 for (glw::GLuint yoffset = copy_params.m_yoffset; yoffset < copy_params.m_yoffset + copy_params.m_height; in configureDataBuffer() 297 copy_params.m_width * copy_params.m_height * copy_params.m_depth * m_n_components * in configurePixelUnpackBuffer() 383 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_RGBA32UI, copy_params.m_width, copy_params.m_height); in configure2DTexture() 386 gl.texSubImage2D(GL_TEXTURE_2D, 0, 0, 0, copy_params.m_width, copy_params.m_height, GL_RGBA_INTEGER, in configure2DTexture() 402 copy_params.m_width, copy_params.m_height, copy_params.m_depth, GL_RGBA_INTEGER, GL_UNSIGNED_INT, in texSubImage3D() 421 copy_params.m_zoffset, 0, 0, copy_params.m_width, copy_params.m_height); in copyTexSubImage3D() 486 << "(" << copy_params.m_width << "," << copy_params.m_height << "," << copy_params.m_depth << ")\n" in testTexSubImage3D() 509 << "(" << copy_params.m_width << "," << copy_params.m_height << "," << copy_param in testTexSubImage3D() [all...] |
H A D | esextcTextureCubeMapArraySubImage3D.hpp | 81 SubImage3DCopyParams(void) : m_xoffset(0), m_yoffset(0), m_zoffset(0), m_width(0), m_height(0), m_depth(0) in SubImage3DCopyParams() 93 m_height = height; in init() 101 glw::GLuint m_height; member
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcNearestEdgeTests.cpp | 90 const int m_height; member in glcts::__anon27567::NearestEdgeTestCase 172 , m_height {context.getRenderTarget().getHeight()} 187 if (m_width < 2 || m_height < 2) in init() 268 m_texData.resize(m_width * m_height * tcu::getPixelSize(m_texFormat)); in fillTexture() 269 tcu::PixelBufferAccess texAccess{m_texFormat, m_width, m_height, 1, m_texData.data()}; in fillTexture() 273 DE_ASSERT(m_height > 1); in fillTexture() 276 const float divY = static_cast<float>(m_height - 1); in fillTexture() 279 for (int y = 0; y < m_height; ++y) in fillTexture() 293 gl.texImage2D(kTextureType, 0, internalFormat, m_width, m_height, 0 /* border */, m_transFormat.format, m_transFormat.dataType, m_texData.data()); in fillTexture() 314 const float offsetHeight = offset / static_cast<float>(m_height); in renderQuad() [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFboDepthbufferTests.cpp | 56 , m_height (height) in BasicFboDepthCase() 89 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); in render() 92 glRenderbufferStorage(GL_RENDERBUFFER, m_format, m_width, m_height); in render() 100 glViewport(0, 0, m_width, m_height); in render() 132 readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f)); in render() 138 int m_height; member in deqp::gles3::Functional::BasicFboDepthCase 148 , m_height (height) in DepthWriteClampCase() 179 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); in render() 182 glTexImage2D(GL_TEXTURE_2D, 0, m_format, m_width, m_height, 0, transferFmt.format, transferFmt.dataType, DE_NULL); in render() 192 glViewport(0, 0, m_width, m_height); in render() 224 const int m_height; global() member in deqp::gles3::Functional::DepthWriteClampCase 304 const int m_height; global() member in deqp::gles3::Functional::DepthTestClampCase [all...] |
H A D | es3fTextureFormatTests.cpp | 106 int m_height; member in deqp::gles3::Functional::Texture2DFormatCase 119 , m_height (height) in Texture2DFormatCase() 132 , m_height (height) in Texture2DFormatCase() 157 log << TestLog::Message << "2D texture, " << fmtName.str() << ", " << m_width << "x" << m_height in init() 162 ? new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height) // Implicit internal format. in init() 163 : new glu::Texture2D(m_renderCtx, m_format, m_width, m_height); // Explicit internal format. in init() 182 RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getName())); in iterate() 269 int m_height; member in deqp::gles3::Functional::TextureCubeFormatCase 285 , m_height (height) in TextureCubeFormatCase() 300 , m_height (heigh in TextureCubeFormatCase() 469 int m_height; global() member in deqp::gles3::Functional::Texture2DArrayFormatCase 626 int m_height; global() member in deqp::gles3::Functional::Texture3DFormatCase 790 int m_height; global() member in deqp::gles3::Functional::Compressed2DFormatCase 928 int m_height; global() member in deqp::gles3::Functional::CompressedCubeFormatCase [all...] |
H A D | es3fReadPixelsTests.cpp | 86 const int m_height; member in deqp::gles3::Functional::__anon30587::ReadPixelsTest 104 , m_height (13) in ReadPixelsTest() 233 GLU_CHECK_CALL(glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA32UI, m_width, m_height)); in clearColor() 239 GLU_CHECK_CALL(glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA32I, m_width, m_height)); in clearColor() 316 pixelData.resize(rowPitch * (m_height + m_skipRows), 0); in clearColor() 318 GLU_CHECK_CALL(glReadPixels(0, 0, m_width, m_height, m_format, m_type, &(pixelData[0]))); in clearColor() 335 tcu::Texture2D reference(format, m_width, m_height); in iterate() 350 GLU_CHECK_CALL(glViewport(0, 0, m_width, m_height)); in iterate() 357 const tcu::ConstPixelBufferAccess resultAccess = tcu::ConstPixelBufferAccess(format, m_width, m_height, 1, rowPitch, 0, &(pixelData[pixelSize * m_skipPixels + m_skipRows * rowPitch])); in iterate() 369 tcu::Texture2D referenceRGBA8 (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), m_width, m_height); in iterate() local 370 tcu::Texture2D resultRGBA8 (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), m_width, m_height); iterate() local [all...] |
H A D | es3fTextureSizeTests.cpp | 71 int m_height; member in deqp::gles3::Functional::Texture2DSizeCase 84 , m_height (height) in Texture2DSizeCase() 99 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init() 101 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() 193 int m_height; member in deqp::gles3::Functional::TextureCubeSizeCase 209 , m_height (height) in TextureCubeSizeCase() 226 DE_ASSERT(m_width == m_height); in init() 239 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuSurface.hpp | 54 int getHeight (void) const { return m_height; } in getHeight() 66 int m_height; member in tcu::Surface 72 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in setPixel() 89 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in getPixel() 107 return ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m_height, 1, m_pixels.empty() ? DE_NULL : m_pixels.getPtr()); in getAccess() 113 return PixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m_height, 1, m_pixels.empty() ? DE_NULL : m_pixels.getPtr()); in getAccess()
|
H A D | tcuSurface.cpp | 30 , m_height (0) in Surface() 36 , m_height (height) in Surface() 55 m_height = height; in setSize()
|
H A D | tcuSurfaceAccess.cpp | 34 , m_height (height) in SurfaceAccess() 44 , m_height (surface.getHeight()) in SurfaceAccess() 54 , m_height (height) in SurfaceAccess()
|
H A D | tcuSurfaceAccess.hpp | 58 int getHeight (void) const { return m_height; } in getHeight() 68 int m_height; member in tcu::SurfaceAccess 73 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in setPixel()
|
H A D | tcuRenderTarget.cpp | 31 , m_height (0) in RenderTarget() 41 , m_height (height) in RenderTarget()
|
H A D | tcuRenderTarget.hpp | 47 int getHeight (void) const { return m_height; } in getHeight() 53 int m_height; member in tcu::RenderTarget
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
H A D | esextcGeometryShaderLayeredRenderingFBONoAttachment.cpp | 107 const glw::GLint GeometryShaderLayeredRenderingFBONoAttachment::m_height = 128; member in glcts::GeometryShaderLayeredRenderingFBONoAttachment 262 gl.framebufferParameteri(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_HEIGHT, m_height); in iterate() 267 if (m_width != width || m_height != height) in iterate() 270 << "\\" << m_height << " but is " << width << "\\" << height << tcu::TestLog::EndMessage; in iterate() 290 m_all_layers_data = new glw::GLint[m_n_layers * m_width * m_height * m_n_texture_components]; in iterate() 292 for (int n = 0; n < m_n_layers * m_width * m_height; ++n) in iterate() 302 gl.texStorage3D(GL_TEXTURE_2D_ARRAY, 1 /* levels */, GL_RGBA32I, m_width, m_height, m_n_layers); in iterate() 323 gl.viewport(0 /* x */, 0 /* y */, m_width /* width */, m_height /* height */); in iterate() 334 m_layer_data = new glw::GLint[m_width * m_height * m_n_texture_components]; in iterate() 345 m_width, m_height, m_n_layer in iterate() [all...] |
H A D | esextcGeometryShaderLayeredRenderingBoundaryCondition.cpp | 38 const glw::GLint GeometryShaderLayeredRenderingBoundaryCondition::m_height = 4; member in glcts::GeometryShaderLayeredRenderingBoundaryCondition 323 unsigned char buffer[m_width * m_height * m_max_depth * m_texture_components]; in iterate() 330 gl.texStorage3D(m_textures_info[i].m_texture_target, 1, GL_RGBA8, m_width, m_height, in iterate() 332 gl.texSubImage3D(m_textures_info[i].m_texture_target, 0, 0, 0, 0, m_width, m_height, m_textures_info[i].m_depth, in iterate() 384 gl.viewport(0, 0, m_width, m_height); in iterate() 441 gl.viewport(0, 0, m_width, m_height); in iterate() 444 gl.readPixels(0 /* x */, 0 /* y */, m_width /* width */, m_height /* height */, GL_RGBA, GL_UNSIGNED_BYTE, in iterate() 455 if (!comparePixels(m_width, m_height, m_texture_components, buffer, expectedData, nTexture, nLayer)) in iterate()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fTextureSpecificationTests.cpp | 368 const int m_height; member in deqp::gles2::Functional::TextureSpecCase 400 , m_height (height) in TextureSpecCase() 422 DE_ASSERT(m_width <= 256 && m_height <= 256); in iterate() 423 if (renderTarget.getWidth() < m_width || renderTarget.getHeight() < m_height) in iterate() 486 int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 : 1; in verifyTex2D() 493 int levelH = de::max(1, m_height >> levelNdx); in verifyTex2D() 524 int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 : 1; in verifyTexCube() 531 int levelH = de::max(1, m_height >> levelNdx); in verifyTexCube() 631 int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 : 1; in createTexture() 646 int levelH = de::max(1, m_height >> nd in createTexture() [all...] |
H A D | es2fTextureSizeTests.cpp | 70 int m_height; member in deqp::gles2::Functional::Texture2DSizeCase 83 , m_height (height) in Texture2DSizeCase() 98 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init() 100 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() 192 int m_height; member in deqp::gles2::Functional::TextureCubeSizeCase 208 , m_height (height) in TextureCubeSizeCase() 225 DE_ASSERT(m_width == m_height); in init() 238 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cTextureBarrierTests.cpp | 122 , m_height(0) in TextureBarrierBasicOutline() 153 m_height = renderTarget.getHeight(); in init() 167 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_R32UI, m_width, m_height); in init() 170 m_reference[i] = new GLuint[m_width * m_height]; in init() 172 m_actual = new GLuint[m_width * m_height]; in init() 344 if ((static_cast<GLint>(x) < 0) || (x >= m_width) || (static_cast<GLint>(y) < 0) || (y >= m_height)) in texel() 361 for (GLuint y = 0; y < m_height; ++y) in initTextureData() 367 gl.texSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_width, m_height, GL_RED_INTEGER, GL_UNSIGNED_INT, in initTextureData() 386 for (GLuint y = 0; y < m_height; ++y) in verifyTextureData() 495 GLuint m_width, m_height; member in gl4cts::TextureBarrierBasicOutline [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassSparseRenderTargetTests.cpp | 451 const deUint32 m_height; member in vkt::__anon28596::SparseRenderTargetTestInstance 478 , m_height (32u) in SparseRenderTargetTestInstance() 481 , m_dstImage (createSparseImageAndMemory(context.getDeviceInterface(), context.getDevice(), context.getPhysicalDevice(), context.getInstanceInterface(), context.getDefaultAllocator(), m_allocations, context.getUniversalQueueFamilyIndex(), context.getSparseQueue(), context.getSparseQueueFamilyIndex(), *m_bindSemaphore, m_format, m_width, m_height)) in SparseRenderTargetTestInstance() 483 , m_dstBuffer (createBuffer(context.getDeviceInterface(), context.getDevice(), m_format, m_width, m_height)) in SparseRenderTargetTestInstance() 486 , m_framebuffer (createFramebuffer(context.getDeviceInterface(), context.getDevice(), *m_renderPass, *m_dstImageView, m_width, m_height)) in SparseRenderTargetTestInstance() 488 , m_renderPipeline (createRenderPipeline(context.getDeviceInterface(), context.getDevice(), *m_renderPass, testConfig.format, *m_renderPipelineLayout, context.getBinaryCollection(), m_width, m_height)) in SparseRenderTargetTestInstance() 517 const VkRect2D renderArea = makeRect2D(m_width, m_height); in iterateInternal() 540 copyImageToBuffer(vkd, *commandBuffer, *m_dstImage, *m_dstBuffer, tcu::IVec2(m_width, m_height)); in iterateInternal() 555 const VkRect2D renderArea = makeRect2D(m_width, m_height); in iterateInternalDynamicRendering() 628 copyImageToBuffer(vkd, *cmdBuffer, *m_dstImage, *m_dstBuffer, tcu::IVec2(m_width, m_height)); in iterateInternalDynamicRendering() [all...] |
H A D | vktRenderPassSubpassDependencyTests.cpp | 471 const deUint32 m_height; member in vkt::__anon28597::ExternalDependencyTestInstance 503 , m_height (testConfig.imageSize.y()) in ExternalDependencyTestInstance() 506 , m_images (createAndAllocateImages(context.getDeviceInterface(), context.getDevice(), context.getDefaultAllocator(), m_imageMemories, context.getUniversalQueueFamilyIndex(), m_format, m_width, m_height, testConfig.renderPasses)) in ExternalDependencyTestInstance() 509 , m_dstBuffer (createBuffer(context.getDeviceInterface(), context.getDevice(), m_format, m_width, m_height)) in ExternalDependencyTestInstance() 512 , m_framebuffers (createFramebuffers(context.getDeviceInterface(), context.getDevice(), m_renderPasses, m_imageViews, m_width, m_height)) in ExternalDependencyTestInstance() 517 , m_renderPipelines (createRenderPipelines(context.getDeviceInterface(), context.getDevice(), m_renderPasses, m_renderPipelineLayouts, context.getBinaryCollection(), m_width, m_height)) in ExternalDependencyTestInstance() 817 { m_width, m_height } // VkExtent2D extent in iterateInternal() 893 { m_width, m_height, 1u } // VkExtent3D imageExtent in iterateInternal() 924 const tcu::ConstPixelBufferAccess access (format, m_width, m_height, 1, ptr); in iterateInternal() 925 tcu::TextureLevel reference (format, m_width, m_height); in iterateInternal() 1070 const deUint32 m_height; global() member in vkt::__anon28597::SubpassDependencyTestInstance 1749 tcu::TextureLevel colorBuffer (mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM), m_width, m_height); iterateInternal() local 1750 const tcu::ConstPixelBufferAccess resultDepthAccess (getDepthCopyFormat(m_format), m_width, m_height, 1, ptrDepth); iterateInternal() local 1751 const tcu::ConstPixelBufferAccess resultStencilAccess (getStencilCopyFormat(m_format), m_width, m_height, 1, ptrStencil); iterateInternal() local 1843 const deUint32 m_height; global() member in vkt::__anon28597::SubpassSelfDependencyBackwardsTestInstance 2302 const deUint32 m_height; global() member in vkt::__anon28597::SeparateChannelsTestInstance 2820 const tcu::ConstPixelBufferAccess resultDepthAccess (getDepthCopyFormat(m_format), m_width, m_height, 1, ptrDepth); iterateInternal() local 2821 const tcu::ConstPixelBufferAccess resultStencilAccess (getStencilCopyFormat(m_format), m_width, m_height, 1, ptrStencil); iterateInternal() local 2903 const deUint32 m_height; global() member in vkt::__anon28597::SingleAttachmentTestInstance [all...] |
H A D | vktRenderPassSampleReadTests.cpp | 761 const deUint32 m_height; member in vkt::__anon28595::SampleReadTestInstance 804 , m_height (32u) in SampleReadTestInstance() 807 , m_srcImage (createImage(context.getInstanceInterface(), context.getPhysicalDevice(), context.getDeviceInterface(), context.getDevice(), VK_FORMAT_R32_UINT, sampleCountBitFromSampleCount(m_sampleCount), VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT, m_width, m_height)) in SampleReadTestInstance() 811 , m_dstMultisampleImage (createImage(context.getInstanceInterface(), context.getPhysicalDevice(), context.getDeviceInterface(), context.getDevice(), VK_FORMAT_R32_UINT, sampleCountBitFromSampleCount(m_sampleCount), VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT, m_width, m_height)) in SampleReadTestInstance() 814 , m_dstSinglesampleImage (createImage(context.getInstanceInterface(), context.getPhysicalDevice(), context.getDeviceInterface(), context.getDevice(), VK_FORMAT_R32_UINT, VK_SAMPLE_COUNT_1_BIT, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, m_width, m_height)) in SampleReadTestInstance() 817 , m_dstBuffer (createBuffer(context.getDeviceInterface(), context.getDevice(), VK_FORMAT_R32_UINT, m_width, m_height)) in SampleReadTestInstance() 820 , m_framebuffer (createFramebuffer(context.getDeviceInterface(), context.getDevice(), *m_renderPass, *m_srcImageView, *m_dstMultisampleImageView, *m_dstSinglesampleImageView, m_width, m_height)) in SampleReadTestInstance() 822 , m_renderPipeline (createRenderPipeline(context.getDeviceInterface(), context.getDevice(), *m_renderPass, *m_renderPipelineLayout, context.getBinaryCollection(), m_width, m_height, m_sampleCount)) in SampleReadTestInstance() 825 , m_subpassPipeline (createSubpassPipeline(context.getDeviceInterface(), context.getDevice(), *m_renderPass, *m_subpassPipelineLayout, context.getBinaryCollection(), m_width, m_height, m_sampleCount)) in SampleReadTestInstance() 871 { m_width, m_height } in iterateInternal() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassSparseRenderTargetTests.cpp | 451 const deUint32 m_height; member in vkt::__anon29775::SparseRenderTargetTestInstance 478 , m_height (32u) in SparseRenderTargetTestInstance() 481 , m_dstImage (createSparseImageAndMemory(context.getDeviceInterface(), context.getDevice(), context.getPhysicalDevice(), context.getInstanceInterface(), context.getDefaultAllocator(), m_allocations, context.getUniversalQueueFamilyIndex(), context.getSparseQueue(), context.getSparseQueueFamilyIndex(), *m_bindSemaphore, m_format, m_width, m_height)) in SparseRenderTargetTestInstance() 483 , m_dstBuffer (createBuffer(context.getDeviceInterface(), context.getDevice(), m_format, m_width, m_height)) in SparseRenderTargetTestInstance() 486 , m_framebuffer (createFramebuffer(context.getDeviceInterface(), context.getDevice(), *m_renderPass, *m_dstImageView, m_width, m_height)) in SparseRenderTargetTestInstance() 488 , m_renderPipeline (createRenderPipeline(context.getDeviceInterface(), context.getDevice(), *m_renderPass, testConfig.format, *m_renderPipelineLayout, context.getBinaryCollection(), m_width, m_height)) in SparseRenderTargetTestInstance() 517 const VkRect2D renderArea = makeRect2D(m_width, m_height); in iterateInternal() 540 copyImageToBuffer(vkd, *commandBuffer, *m_dstImage, *m_dstBuffer, tcu::IVec2(m_width, m_height)); in iterateInternal() 554 const VkRect2D renderArea = makeRect2D(m_width, m_height); in iterateInternalDynamicRendering() 627 copyImageToBuffer(vkd, *cmdBuffer, *m_dstImage, *m_dstBuffer, tcu::IVec2(m_width, m_height)); in iterateInternalDynamicRendering() [all...] |
H A D | vktRenderPassSubpassDependencyTests.cpp | 471 const deUint32 m_height; member in vkt::__anon29776::ExternalDependencyTestInstance 503 , m_height (testConfig.imageSize.y()) in ExternalDependencyTestInstance() 506 , m_images (createAndAllocateImages(context.getDeviceInterface(), context.getDevice(), context.getDefaultAllocator(), m_imageMemories, context.getUniversalQueueFamilyIndex(), m_format, m_width, m_height, testConfig.renderPasses)) in ExternalDependencyTestInstance() 509 , m_dstBuffer (createBuffer(context.getDeviceInterface(), context.getDevice(), m_format, m_width, m_height)) in ExternalDependencyTestInstance() 512 , m_framebuffers (createFramebuffers(context.getDeviceInterface(), context.getDevice(), m_renderPasses, m_imageViews, m_width, m_height)) in ExternalDependencyTestInstance() 517 , m_renderPipelines (createRenderPipelines(context.getDeviceInterface(), context.getDevice(), m_renderPasses, m_renderPipelineLayouts, context.getBinaryCollection(), m_width, m_height)) in ExternalDependencyTestInstance() 817 { m_width, m_height } // VkExtent2D extent in iterateInternal() 893 { m_width, m_height, 1u } // VkExtent3D imageExtent in iterateInternal() 924 const tcu::ConstPixelBufferAccess access (format, m_width, m_height, 1, ptr); in iterateInternal() 925 tcu::TextureLevel reference (format, m_width, m_height); in iterateInternal() 1070 const deUint32 m_height; global() member in vkt::__anon29776::SubpassDependencyTestInstance 1749 tcu::TextureLevel colorBuffer (mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM), m_width, m_height); iterateInternal() local 1750 const tcu::ConstPixelBufferAccess resultDepthAccess (getDepthCopyFormat(m_format), m_width, m_height, 1, ptrDepth); iterateInternal() local 1751 const tcu::ConstPixelBufferAccess resultStencilAccess (getStencilCopyFormat(m_format), m_width, m_height, 1, ptrStencil); iterateInternal() local 1843 const deUint32 m_height; global() member in vkt::__anon29776::SubpassSelfDependencyBackwardsTestInstance 2302 const deUint32 m_height; global() member in vkt::__anon29776::SeparateChannelsTestInstance 2820 const tcu::ConstPixelBufferAccess resultDepthAccess (getDepthCopyFormat(m_format), m_width, m_height, 1, ptrDepth); iterateInternal() local 2821 const tcu::ConstPixelBufferAccess resultStencilAccess (getStencilCopyFormat(m_format), m_width, m_height, 1, ptrStencil); iterateInternal() local 2903 const deUint32 m_height; global() member in vkt::__anon29776::SingleAttachmentTestInstance [all...] |
H A D | vktRenderPassSampleReadTests.cpp | 761 const deUint32 m_height; member in vkt::__anon29774::SampleReadTestInstance 804 , m_height (32u) in SampleReadTestInstance() 807 , m_srcImage (createImage(context.getInstanceInterface(), context.getPhysicalDevice(), context.getDeviceInterface(), context.getDevice(), VK_FORMAT_R32_UINT, sampleCountBitFromSampleCount(m_sampleCount), VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT, m_width, m_height)) in SampleReadTestInstance() 811 , m_dstMultisampleImage (createImage(context.getInstanceInterface(), context.getPhysicalDevice(), context.getDeviceInterface(), context.getDevice(), VK_FORMAT_R32_UINT, sampleCountBitFromSampleCount(m_sampleCount), VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT, m_width, m_height)) in SampleReadTestInstance() 814 , m_dstSinglesampleImage (createImage(context.getInstanceInterface(), context.getPhysicalDevice(), context.getDeviceInterface(), context.getDevice(), VK_FORMAT_R32_UINT, VK_SAMPLE_COUNT_1_BIT, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, m_width, m_height)) in SampleReadTestInstance() 817 , m_dstBuffer (createBuffer(context.getDeviceInterface(), context.getDevice(), VK_FORMAT_R32_UINT, m_width, m_height)) in SampleReadTestInstance() 820 , m_framebuffer (createFramebuffer(context.getDeviceInterface(), context.getDevice(), *m_renderPass, *m_srcImageView, *m_dstMultisampleImageView, *m_dstSinglesampleImageView, m_width, m_height)) in SampleReadTestInstance() 822 , m_renderPipeline (createRenderPipeline(context.getDeviceInterface(), context.getDevice(), *m_renderPass, *m_renderPipelineLayout, context.getBinaryCollection(), m_width, m_height, m_sampleCount)) in SampleReadTestInstance() 825 , m_subpassPipeline (createSubpassPipeline(context.getDeviceInterface(), context.getDevice(), *m_renderPass, *m_subpassPipelineLayout, context.getBinaryCollection(), m_width, m_height, m_sampleCount)) in SampleReadTestInstance() 871 { m_width, m_height } in iterateInternal() [all...] |